Skip to content

Latest commit

 

History

History
75 lines (51 loc) · 1.64 KB

README.md

File metadata and controls

75 lines (51 loc) · 1.64 KB

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