medicure rag chatbot
v0.0.1
AI聊天機器人,使用Meta-llama2-7b大型語言模型以及Langchain和Pinecone矢量數據庫實現RAG技術。使用的資源:大風醫學百科全書
Pinecone Vector DB存儲從書本PDF生成的text_chunks嵌入。 Langchain用於使用及時網板構建LLMCHAIN,以執行Pinecone的相似性搜索,然後用LLM細化輸出。
要在本地運行Web應用程序,請執行以下步驟:
1。克隆回購:
git clone https://github.com/4darsh-Dev/medicure-rag-chatbot.git 配置詩歌:
pip install poetry
poetry init
poetry shell
安裝要求:
poetry install
運行簡化應用程序:
poetry streamlit run app.py訪問您的應用程序:運行命令後,Sparlit將啟動本地Web服務器,並提供可以訪問應用程序的URL。通常,它會像http://localhost:8501 。在您的網絡瀏覽器中打開此URL。
停止簡化服務器:要停止簡化服務器,請返回終端或命令提示符,然後按Ctrl + C終止服務器。
如果您有任何反饋,請通過[email protected]與我們聯繫。