Skip to content

🤖 Chatbot to recommend services from the api specification

Notifications You must be signed in to change notification settings

pilarcode/rag_apis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QA chatbot

Chatbot to answer questions about api services.

Data

Api specification about pets.

Development

Init repo

$ git init .

and link it to the cloud repo. e.g.:

$ git remote add origin https://github.com/pilarcode/rag_langchain.git
$ git branch -M main
$ git push -uf origin main

Deployment

To generate the containerized app and run it on-prem or on a VM, follow these steps:

  1. Build the Docker image:
docker build -t mrag .
  1. Run the Docker container:
docker run -it -p 8046:8046 mrag

Run

To interact with the assistant, open your browser. e.g., http://localhost:8046

Implemented with this tools

  • LangChain
  • Gradio
  • AzureOpenAI llm: gpt 3.5 turbo
  • AzureOpenAI embeddings: text-embedding-ada-002
  • Vector stores: Chroma
  • Jupyter notebooks
  • Python

Tests

The user says hi and the smart assistant should offer assistance to the users

The user asks a question about a service in English

The user asks a question about a service in French