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