Skip to content

Latest commit

 

History

History
97 lines (80 loc) · 1.57 KB

README.md

File metadata and controls

97 lines (80 loc) · 1.57 KB

Naive RAG Chatbot

Demo-Rag Chatbot QA

Built With

  • Python
  • LangChain
  • Cohere
  • Faiss
  • Gradio

Getting Started

Prerequisites

To get a local copy up and running follow these simple example steps.

  • python
  python --version
  • pip
  pip --version
  python.exe -m pip install --upgrade pip

Installation

  1. Deactivate enviroment
   deactivate
  1. Clone the repo
   git clone https://github.com/estelacode/rag_chatbot_qa.git
  1. Create enviroment
   python -m venv .venv
  1. Activate enviroment
   .venv\Scripts\activate
  1. Install dependencies manually
   pip install gradio
   pip install langchain
   pip install langchain_community
   pip install langchain_cohere
   pip install unstructured
   pip install networkx
   pip install openpyxl
   pip install faiss-cpu
  1. Install dependencies from the requirements file
   pip install -r requirements.txt
  1. Generate requirements file
   pip freeze > requirements.txt

More commands

  1. show package version
   pip show pymilvus
  1. uninstall package
   pip uninstall langchain

🚀 Usage To create the vector store

   python data/ingestion.py

To lauch the chatbot

   pip install -e .
   app

Resources

Preguntas de Ejemplo

  • ¿Qué es python?
  • ¿Qué es el aprendizaje supervisado?