Spaces:
Running
Running
Clement Vachet commited on
Commit ·
2ff7a91
1
Parent(s): 5eb3904
Add general project description
Browse files8 unmodified lines91011128 unmodified linespinned: true---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference8 unmodified lines91011121314151617181920212223242526272829303132333435363738394041424344458 unmodified linespinned: true---[](https://www.python.org/downloads/)[](https://github.com/psf/black)[](https://github.com/pylint-dev/pylint)**Aim: PDF-based AI chatbot with retrieval augmented generation****Architecture / Tech stack:**- Front-end:- user interface via Gradio library- Back-end:- HuggingFace embeddings- HuggingFace API for open-source LLMs- Chromadb vector database- LangChain conversational retrieval chain**Description:**- This AI assistant, using Langchain and open-source LLMs, performs retrieval-augmented generation (RAG) from your PDF documents. The user interface explicitely shows multiple steps to help understand the RAG workflow. This chatbot takes past questions into account when generating answers (via conversational memory), and includes document references for clarity purposes. It leverages small LLM models to run directly on CPU hardware.**Available open-source LLMs:**- Meta Llama series- Alibaba Qwen2.5 series- Mistral AI models- Microsoft Phi-3.5 series- Google Gemma models- HuggingFace zephyr and SmolLM seriesYou can try out the deployed [Hugging Face Space](https://huggingface.co/spaces/cvachet/pdf-chatbot)!
README.md+34-1