📕 Simple document Retrieval-augmented generation (RAG) LLM app
MIT License
InkChatGPT
is a Streamlit
application that allows users to upload PDF documents and engage in a conversational Q&A with a language model (LLM
) based on the content of those documents.
--
New front end via Chainlit https://github.com/vinhnx/InkChatGPT/tree/try_chainlit
--
OpenAI
's gpt-3.5-turbo
model)HuggingFace
embeddings to generate embeddings for the document chunks with all-MiniLM-L6-v2
model.VectorDB
for document vector retrieval storageOPENAI_API_KEY
)git clone https://github.com/vinhnx/InkChatGPT.git
cd InkChatGPT
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
OPENAI_API_KEY
environment variable with your OpenAI API key:export OPENAI_API_KEY=YOUR_API_KEY
streamlit run app.py
Contributions are welcome! Please open an issue or submit a pull request if you have any improvements or bug fixes.
This project is licensed under the MIT License.