Pash1986 commited on
Commit
72479cb
1 Parent(s): e10f5b5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -0
README.md CHANGED
@@ -15,3 +15,18 @@ This simple ChatBot is designed to communicate with MongoDB Atlas Vector Search
15
  It uses OpenAI ada embeddings to query the database for semantic similarity search.
16
 
17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  It uses OpenAI ada embeddings to query the database for semantic similarity search.
16
 
17
 
18
+ ## How to setup
19
+
20
+ 1. [Create an Atlas cluter](https://www.mongodb.com/docs/atlas/tutorial/deploy-free-tier-cluster/) (free clusters are available)
21
+ 2. Load [sample data](https://www.mongodb.com/docs/atlas/sample-data/)
22
+ 3. Deploy the relevant Vector Index on `sample_mflix.embedded_movies`
23
+ - [Whitelist](https://www.mongodb.com/docs/atlas/security/ip-access-list/#std-label-access-list) access from everywhere (`0.0.0.0/0`)
24
+ - Locate your [cluster connection](https://www.mongodb.com/docs/atlas/tutorial/connect-to-your-cluster/) URI
25
+ 5. Obtain your Open AI api key
26
+ 6. "Duplicate" this space and input
27
+ - `MONGODB_ATLAS_CLUSTER_URI` - Your Atlas Cluster connection string
28
+ - `OPENAI_API_KEY`- Open AI API key
29
+
30
+ Build and query the chat!
31
+
32
+