Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
5.5.0
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
- Create an Atlas cluter (free clusters are available)
- Load sample data
- Deploy the relevant Vector Index on
sample_mflix.haystack_embedded_movies
with 1536 dimensions.- Whitelist access from everywhere (
0.0.0.0/0
) - Locate your cluster connection URI
- Whitelist access from everywhere (
- Obtain your Open AI api key
- "Duplicate" this space and input
MONGO_CONNECTION_STRING
- Your Atlas Cluster connection stringOPENAI_API_KEY
- Open AI API key
Build and query the chat!