necaluo / ChatGPTwithYourData

ChatGPT with your own data using vector-based similarity search

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatGPT with your data

Note: For demonstration purposes only

A simple demo for building a custom ChatGPT-based chat bot that can answer questions about organization-specific data.

Steps to run locally:

  1. Make sure the dependencies listed in requirements.txt are installed.
  2. In your Azure OpenAI resource, deploy gpt-35-turbo, text-search-curie-doc-001, and text-search-curie-query-001 models and name them accordingly.
  3. Add your Azure OpenAI key and endpoint to your Key Vault. Ensure that the secret names match those in app.py.
  4. Set the KEUVAULT_URI environment variable.
  5. In your terminal, navigate to the /app directory and execute flask run.
  6. Find the app running on http://127.0.0.1:5000/.

Based on Question Answering using Embeddings from the OpenAI Cookbook.

About

ChatGPT with your own data using vector-based similarity search

License:MIT License


Languages

Language:Python 73.1%Language:CSS 16.8%Language:HTML 10.0%