Spaces:
Runtime error
Runtime error
remove open API key
Browse files
app.py
CHANGED
@@ -7,8 +7,6 @@ from langchain_openai import ChatOpenAI
|
|
7 |
from langchain.prompts import ChatPromptTemplate
|
8 |
import os
|
9 |
|
10 |
-
os.environ["OPENAI_API_KEY"] = "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"
|
11 |
-
|
12 |
# Connect DB
|
13 |
client = pymongo.MongoClient(
|
14 |
"mongodb+srv://rag:[email protected]/?retryWrites=true&w=majority&appName=RAG"
|
|
|
7 |
from langchain.prompts import ChatPromptTemplate
|
8 |
import os
|
9 |
|
|
|
|
|
10 |
# Connect DB
|
11 |
client = pymongo.MongoClient(
|
12 |
"mongodb+srv://rag:[email protected]/?retryWrites=true&w=majority&appName=RAG"
|