CoolFace
Apppublic

MongoDB/Haystack-MongoDB-Integration-Chat

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
2likes
App README

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. 1.Create an Atlas cluter (free clusters are available)
  2. 2.Load sample data
  3. 3.Deploy the relevant Vector Index on sample_mflix.haystack_embedded_movies with 1536 dimensions.
  4. 4.Whitelist access from everywhere (0.0.0.0/0)
  5. 5.Locate your cluster connection URI
  6. 6.Obtain your Open AI api key
  7. 7."Duplicate" this space and input
  8. 8.MONGO_CONNECTION_STRING - Your Atlas Cluster connection string
  9. 9.OPENAI_API_KEY- Open AI API key

Build and query the chat!