Spaces:
Sleeping
Sleeping
metadata
title: TestMongoDBMovies
emoji: π
colorFrom: gray
colorTo: purple
sdk: gradio
sdk_version: 4.15.0
app_file: app.py
pinned: false
license: apache-2.0
This simple ChatBot is designed to communicate with MongoDB Atlas Vector Search movies data set.
It uses OpenAI ada embeddings to query the database for semantic similarity search.
How to setup
- Create an Atlas cluter (free clusters are available)
- Load sample data
- Deploy the relevant Vector Index on
sample_mflix.embedded_movies
- 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
MONGODB_ATLAS_CLUSTER_URI
- Your Atlas Cluster connection stringOPENAI_API_KEY
- Open AI API key
Build and query the chat!