title | emoji | colorFrom | colorTo | sdk | sdk_version | app_file | pinned | license |
---|---|---|---|---|---|---|---|---|
Document Search |
🐠 |
green |
purple |
streamlit |
1.25.0 |
app.py |
false |
mit |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
INDEX_NAMES
: comma separated index namesQDRANT_URL
: Qdrant API endpointQDRANT_API_KEY
: Qdrant API KeyOPENAI_API_KEY
: OpenAI API Key
first, generate token on: https://github.com/settings/tokens
$ git clone https://github.com/kazamori/github-api-tools
$ pip install -e ./github-api-tools
$ export GITHUB_API_TOKEN="********"
$ gh-cli-issues --repository <org/repo>
$ ls <repo>-issues.json
$ python store.py -l github_issue <index> ../<repo>-issues.json
create pages.json
like:
{"id": <page_id>, "title": <page title>, "content": <page body>, "ctime": ..., "user": <name>, "url": "https:..."}
{"title": ...}
$ python store.py -l wikipage <index> ../pages.json