Skip to content

Building a MedicalBot using Llama2, Langchian e Chainlit

Notifications You must be signed in to change notification settings

Erionis/Llama2-MedBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Langchain Medical Bot README (Simplified)

Overview

The Langchain Medical Bot is a sophisticated tool for delivering medical information through user queries. It leverages advanced language models and vector stores. This guide covers its setup and usage.

Contents

Requirements

Ensure your system has:

  • Python 3.6+
  • Python packages: langchain, chainlit, sentence-transformers, faiss, PyPDF2

Setup

  1. Clone the repository and navigate to the directory:

    git clone https://github.com/your-username/langchain-medical-bot.git
    cd langchain-medical-bot
  2. Optionally, create a Python virtual environment and activate it.

  3. Install Python packages:

    pip install -r requirements.txt
  4. Download necessary language models and data as per Langchain documentation.

  5. Configure your project settings including DB_FAISS_PATH.

Starting

To start:

  1. Complete the setup steps.

  2. Configure project variables like DB_FAISS_PATH.

  3. Prepare language model and data following Langchain guidelines.

  4. Launch the bot with the provided script or integrate into your application.

How to Use

To use the bot:

  1. Start the bot via your application or script.

  2. Input a medical query.

  3. Receive a response with relevant information and sources.

  4. Customize the bot for specific information returns based on the query.

About

Building a MedicalBot using Llama2, Langchian e Chainlit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages