Pash1986's picture
Update README.md
5b797ed verified

A newer version of the Gradio SDK is available: 4.44.0

Upgrade
metadata
title: Haystack and MongoDB Integrated chat
emoji: πŸƒ
colorFrom: gray
colorTo: purple
sdk: gradio
sdk_version: 4.37.2
app_file: app.py
pinned: false
license: apache-2.0

This simple ChatBot is designed to communicate with MongoDB Atlas Vector Search via Haystack integration.

It uses OpenAI embeddings to query the database for semantic similarity search.

How to setup your own

  1. Create an Atlas cluter (free clusters are available)
  2. Load sample data
  3. Deploy the relevant Vector Index on sample_mflix.haystack_embedded_movies with 1536 dimensions.
  4. Obtain your Open AI api key
  5. "Duplicate" this space and input
    • MONGO_CONNECTION_STRING - Your Atlas Cluster connection string
    • OPENAI_API_KEY- Open AI API key

Build and query the chat!