https://github.com/chainlit/documentation-rag-application
https://github.com/chainlit/documentation-rag-application
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chainlit/documentation-rag-application
- Owner: Chainlit
- Created: 2024-01-26T09:16:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-29T10:51:08.000Z (almost 2 years ago)
- Last Synced: 2025-04-15T11:49:42.633Z (about 1 year ago)
- Language: Python
- Size: 21.5 KB
- Stars: 10
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Documentation - RAG application
The RAG chatbot application for the Literal platform [documentation](https://docs.getliteral.ai/introduction).
## How to use?
### Embed the documentation
To upload the latest Literal documentation embeddings to Pinecone:
- `cp embed-documentation/.env.example embed-documentation/.env`
- Get an OpenAI API key [here](https://platform.openai.com/docs/quickstart/step-2-setup-your-api-key)
- Find your Pinecone API key [here](https://docs.pinecone.io/docs/authentication#finding-your-pinecone-api-key)
- `pip install -r embed-documentation/requirements.txt`
- `./embed-documentation/main.sh`
### The Chainlit Application
- `cp app/.env.example .env`
- Obtain a Literal API key [here](https://docs.getliteral.ai/get-started/installation#how-to-get-my-api-key)
- Get an OpenAI API key [here](https://platform.openai.com/docs/quickstart/step-2-setup-your-api-key)
- Find your Pinecone API key [here](https://docs.pinecone.io/docs/authentication#finding-your-pinecone-api-key)
- `pip install -r app/requirements.txt`
- `chainlit run app/app.py`