Spaces:
Sleeping
Sleeping
|
Download README.md from arslan-ahmed/talk-to-your-docs: direct link, hf CLI and curl.
- Browser
- Download file 1.56 kB
-
https://huggingface.co/spaces/arslan-ahmed/talk-to-your-docs/resolve/fa86403bef6e2eb247ee78f4c49b4dae5e023e57/README.md
- Command line
-
hf download hf://spaces/arslan-ahmed/talk-to-your-docs@fa86403bef6e2eb247ee78f4c49b4dae5e023e57/README.md
-
curl -L -o README.md https://huggingface.co/spaces/arslan-ahmed/talk-to-your-docs/resolve/fa86403bef6e2eb247ee78f4c49b4dae5e023e57/README.md
1.56 kB
metadata
title: Talk To Your Docs
emoji: 🌍
colorFrom: purple
colorTo: blue
sdk: gradio
sdk_version: 3.42.0
app_file: app.py
pinned: false
license: mit
Talk To Your Docs
For users
You can use this app via Hugging Face where it is already deployed:
https://huggingface.co/spaces/arslan-ahmed/talk-to-your-docs
For developers
Source code:
https://huggingface.co/spaces/arslan-ahmed/talk-to-your-docs/tree/main
Create your personal bot (let people talk to your docs)
You can develop and deploy your own personal chatbot (similar to https://huggingface.co/spaces/arslan-ahmed/talk-to-arslan), with the following three commands:
docker pull arslan2k12/ttyd_base (https://hub.docker.com/r/arslan2k12/ttyd_base)
docker pull arslan2k12/arslanbot (https://hub.docker.com/r/arslan2k12/arslanbot)
docker run --rm -d -p 7860:7860 --env-file ./.env arslan2k12/ttyd_arslanbot
Contents of .env file:
TTYD_MODE=personalBot_John
#replace John with your name - use only alphabets, no special characters
GDRIVE_FOLDER_URL=https://drive.google.com/drive/folders/1ce1n1kleS1FOotdcu5joXeSRu_xnHjDt
# replace with your Google Drive folder URL that has all your knowledge base files (.pdf, .docs, .txt) - make sure this folder is publicly accessible (everyone with the link)
OPENAI_API_KEY=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
# your OpenAI API Key taken from https://platform.openai.com/account/api-keys