Skip to content

Commit b239369

Browse files
committed
Add example environment configuration for MongoDB and OpenAI
1 parent 7d7e8cf commit b239369

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

apps/chatbot-server/.env.example

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# MongoDB config
2+
MONGODB_CONNECTION_URI="<MongoDB connection URI with Atlas Vector Search configured on 'embedded_content'>"
3+
VECTOR_SEARCH_INDEX_NAME="vector_index" # or whatever your index name is
4+
MONGODB_DATABASE_NAME="mongodb-chatbot-framework-chatbot" # or whatever your database name is. must contain vector search index.
5+
6+
# OpenAI config
7+
OPENAI_API_KEY=<OpenAI API key>
8+
OPENAI_EMBEDDING_MODEL="text-embedding-ada-002" # or other model
9+
OPENAI_CHAT_COMPLETION_MODEL="gpt-3.5-turbo" # or other model

0 commit comments

Comments
 (0)