Spaces:
Sleeping
Sleeping
File size: 332 Bytes
4f18307 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import os
# from dotenv import load_dotenv
# load_dotenv()
# Ensure your OpenAI API key is set in the environment variables.
# open_api_key = os.getenv("OPENAI_API_KEY")
# os.environ["OPENAI_API_KEY"] = api_key
api_key = os.getenv("SERPAPI_KEY")
# Directory to persist embeddings with ChromaDB
PERSIST_DIRECTORY = "./chroma_db"
|