{"id":15159876,"url":"https://github.com/wlopezm-unal/chatbot_langchain_multiqueryretriever","last_synced_at":"2026-01-20T11:11:48.525Z","repository":{"id":254642561,"uuid":"847132874","full_name":"wlopezm-unal/Chatbot_Langchain_MultiQueryRetriever","owner":"wlopezm-unal","description":"chatbot that allows you to interact with your PDF files. When you upload a document, it generates a split and a summary, stored in separate collections within the Qdrant vector database. When you ask a question, two queries are created to search for relevant information in the summary and split, optimizing token usage in the LLM model.","archived":false,"fork":false,"pushed_at":"2024-09-26T18:21:01.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T03:27:37.241Z","etag":null,"topics":["docker-compose","gemini-pro","git","langchain","llm","phoenix","python","qdrant","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wlopezm-unal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-25T00:15:15.000Z","updated_at":"2024-09-26T18:21:04.000Z","dependencies_parsed_at":"2024-08-25T01:38:49.808Z","dependency_job_id":"4ed333fa-9dfc-4120-9acd-526ccde3104c","html_url":"https://github.com/wlopezm-unal/Chatbot_Langchain_MultiQueryRetriever","commit_stats":null,"previous_names":["wlopezm-unal/chatbot_langchain_multiqueryretriever"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlopezm-unal%2FChatbot_Langchain_MultiQueryRetriever","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlopezm-unal%2FChatbot_Langchain_MultiQueryRetriever/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlopezm-unal%2FChatbot_Langchain_MultiQueryRetriever/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlopezm-unal%2FChatbot_Langchain_MultiQueryRetriever/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wlopezm-unal","download_url":"https://codeload.github.com/wlopezm-unal/Chatbot_Langchain_MultiQueryRetriever/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238008510,"owners_count":19401265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-compose","gemini-pro","git","langchain","llm","phoenix","python","qdrant","streamlit"],"created_at":"2024-09-26T22:01:34.624Z","updated_at":"2025-10-24T16:32:07.795Z","avatar_url":"https://github.com/wlopezm-unal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Chatbot using Langchain's model for chatting with your PDF's |Chatbot using Langchain and RAG Advanced with MultiQueryRetrieve and Multivectorstore|\r\n ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\r\n\r\nChatbot where you can chat with your PDF. It consists of a multiretriever and multivector model. When you insert your PDF it will generate a split and a summary of your documents, where in a vectorial base Qdrant will save the complete document, the split and a summary of the document in different collections respectively. \r\nWhen the user inserts the query, the multiquery retriever will create a query adjacent to the original one, having two queries, where they will be used to search for the documentation in the Qdrant summary and split collections. Only two collections were selected for the search due to the limitation of the number of tokens to be passed to the LLM model. \r\n\r\nThe LLM model used in this project is gemini-1.5-pro. \r\n\r\n----------------------------------------------------------------------------------------------------------------------------------------------------------------------------\r\n# Chatbot logic diagram\r\n\r\n![image](https://github.com/user-attachments/assets/040dd0c9-d22d-46f3-9609-f6879cfe1f4b)\r\n\r\n----------------------------------------------------------------------------------------------------------------------------------------------------------------------------\r\n# USE\r\n\r\n1. pip install requirements.txt\r\n2. Insert your credential of Gemini-Pro in the .env file\r\n3. Deploy Qdrant using Docker-Compose --\u003e Run image qdrant\r\n4. deployment streamlit : streamlit run main.py\r\n\r\n-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------\r\nDeployment\r\n1. Qdrant\r\n   ![image](https://github.com/user-attachments/assets/1c45b660-1fa6-4a30-b867-7dfd9b38a0a0)\r\n   \r\n2. Streamlit\r\n   ![image](https://github.com/user-attachments/assets/a515bc42-2e50-422a-bab4-18894d633c21)\r\n   \r\n3. Consult you question\r\n   ![image](https://github.com/user-attachments/assets/7cc5de78-217b-451c-829a-49c57a00ed1e)\r\n\r\n4. Monitore the LLM model using Phoenix Ariza\r\n  ![image](https://github.com/user-attachments/assets/7f166573-535d-4c4e-b2f9-8075535f8e7b)\r\n\r\n\r\n   \r\n\r\n\r\n\r\n\r\n\r\n   \r\n   \r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwlopezm-unal%2Fchatbot_langchain_multiqueryretriever","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwlopezm-unal%2Fchatbot_langchain_multiqueryretriever","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwlopezm-unal%2Fchatbot_langchain_multiqueryretriever/lists"}