raghuv-aditya commited on
Commit
3f9570a
1 Parent(s): 40f0432

Create config.py

Browse files
Files changed (1) hide show
  1. config.py +9 -0
config.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+ # Ensure your OpenAI API key is set in the environment variables.
4
+ api_key = os.getenv("OPENAI_API_KEY")
5
+ os.environ["OPENAI_API_KEY"] = api_key
6
+
7
+ # Directory to persist embeddings with ChromaDB
8
+ PERSIST_DIRECTORY = "./chroma_db"
9
+ BASE_URL = "https://courses.analyticsvidhya.com/collections?page="