use π¦οΈπ to communicate with varied files or web
git clone https://github.com/codeacme17/talk-with-docs.git
cd talk-with-docs
pnpm install
pnpm dev
cd talk-with-docs/server
pnpm install
pnpm dev
cd talk-with-docs/server
touch .env
open .env
# openai
OPENAI_API_KEY = "..."
# Pinecone
PINECONE_API_KEY="..."
PINECONE_ENVIRONMENT="..."
PINECONE_INDEX="..."
# Huggingface
HUGGINGFACE_API_KEY="..."
# Proxy
# If you need a network proxy to access openai,
# please change this configuration item to your proxy address
SOCKS5_PROXY_ADDRESS="socks5://..."
type | suffix | describe | |
---|---|---|---|
βοΈ | word | .doc .docx |
only .docx files support in-document image parsing |
βοΈ | .pdf |
not support image parsing | |
βοΈ | HTML | .html |
support image parsing |
βοΈ | image | .png .jpg .webp |
|
βοΈ | web | just use url |
|
π | audio | pending dev... |
|
π | video | pending dev... |
Contributions to the project are welcome! If you find a bug or have an idea for a new feature, please submit an issue or pull request.