This publication was originally written in French. You're viewing an automated translation into English.
π IFRI FAQ Chatbot - A Smart Revolution for Education! ππ‘
(Github link to the full project: https://github.com/FredyHoundayi/IFRI-FAQ-Chatbot/tree/master )
This project represents a major breakthrough in accessing academic information through artificial intelligence. By combining Chainlit , Hugging Face , and an LLM model (LLaMA 2) optimized with a RAG search engine, it pushes the boundaries of digital assistance.
β¨ Innovation in the service of knowledge : This chatbot goes far beyond traditional FAQs. It interprets, analyzes and synthesizes relevant information from PDF documents, thus providing precise and contextual answers to IFRI-UAC students and researchers.
π A significant impact : With this technology, access to academic resources becomes instantaneous and intuitive , reducing the barriers associated with searching for information. This is a giant step towards democratizing knowledge and optimizing the university experience.
This project is a shining example of the power of AI applied to education , opening the way to new perspectives for teaching and research! ππ
β
Enhanced Search (RAG) : Scans PDF files for accurate answers.
β
Advanced Model (LLaMA 2 - 7B HF) : Intelligent text generation.
β
Conversational Memory : Context tracking for fluid exchanges.
β
Dark and light mode : Adaptive logos.
β
Easy deployment : Compatible with Hugging Face Spaces .
git clone https://huggingface.co/spaces/ton-utilisateur/ton-projet cd ton-projet
pip install -r requirements.txt
Place your documents in the data/
folder.
chainlit run app.py
The interface will be accessible at http://localhost:8000
π.
ifri_faqchatbot/
βββ app.py # Code principal du chatbot
βββ requirements.txt # DΓ©pendances Γ installer
βββ data/ # π Dossier contenant les fichiers PDF
β βββ Information IFRI.pdf
β
βββ public/ # π Dossier pour les logos et favicon
β βββ logo_light.png
β βββ logo_dark.png
β βββ favicon.png
βββdemo_video.zip
βββ README.md # Documentation du projet
πΉ Change the LLM model :
Modify the following line in app.py
to test for another pattern:
llm = HuggingFaceEndpoint(repo_id="meta-llama/Llama-2-7b-hf", task="text-generation")
You can try Mistral , Falcon , or GPT-J .
πΉ Edit logos and favicon :
Replaces logo_light.png
, logo_dark.png
, and favicon.png
in the public/
folder.
Contributions are welcome!
If you want to add features , make a pull request or open an issue .
This project is licensed under the MIT License.
You can use and modify it freely. π
π Thank you for using IFRI FAQ Chatbot!
If you have any questions, don't hesitate to ask me . π