Nothing Special   »   [go: up one dir, main page]

Skip to content

use ๐Ÿฆœ๏ธ๐Ÿ”— to communicate with varied files & web

License

Notifications You must be signed in to change notification settings

codeacme17/talk-with-docs

Repository files navigation


logo

talk-with-docs

use ๐Ÿฆœ๏ธ๐Ÿ”— to communicate with varied files or web


Start

git clone https://github.com/codeacme17/talk-with-docs.git

UI

cd talk-with-docs
pnpm install
pnpm dev

Server

cd talk-with-docs/server
pnpm install
pnpm dev

Add the required environment variables

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://..."

Support type

type suffix describe
โ˜‘๏ธ word .doc .docx only .docx files support in-document image parsing
โ˜‘๏ธ pdf .pdf not support image parsing
โ˜‘๏ธ HTML .html support image parsing
โ˜‘๏ธ image .png .jpg .webp
โ˜‘๏ธ web just use url
๐Ÿ“Œ audio pending dev...
๐Ÿ“Œ video pending dev...

How it work

embedding

embedding

explain image

embedding

Contributing

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.

License

MIT License ยฉ 2023-Present leyoonafr