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]与我们联系。