Skip to content

πŸ€– Naive Rag Chatbot | Responde a preguntas sobre Ciencia de Datos πŸ“š. Implementado con LangChain , Faiss, Cohere y Gradio

Notifications You must be signed in to change notification settings

estelacode/rag_chatbot_qa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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?

About

πŸ€– Naive Rag Chatbot | Responde a preguntas sobre Ciencia de Datos πŸ“š. Implementado con LangChain , Faiss, Cohere y Gradio

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages