testMongoDBMovies / README.md
Pash1986's picture
Update README.md
72479cb verified
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

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

Build and query the chat!