Spaces:
Runtime error
Runtime error
Update chat.py
Browse files
chat.py
CHANGED
@@ -62,7 +62,7 @@ llm = ChatOpenAI(model="gpt-4o", openai_api_key=openai_key, temperature=0.7)
|
|
62 |
# llm = ChatGroq(temperature=0,groq_api_key="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", model_name="llama3-70b-8192")
|
63 |
#model=llama3-8b-8192
|
64 |
|
65 |
-
session_id="
|
66 |
# Set up MongoDB for storing chat history
|
67 |
chat_history = MongoDBChatMessageHistory(
|
68 |
connection_string="mongodb+srv://chandanisimran51:[email protected]/?retryWrites=true&w=majority&appName=AIbestie",
|
|
|
62 |
# llm = ChatGroq(temperature=0,groq_api_key="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", model_name="llama3-70b-8192")
|
63 |
#model=llama3-8b-8192
|
64 |
|
65 |
+
session_id="bmoxinew"
|
66 |
# Set up MongoDB for storing chat history
|
67 |
chat_history = MongoDBChatMessageHistory(
|
68 |
connection_string="mongodb+srv://chandanisimran51:[email protected]/?retryWrites=true&w=majority&appName=AIbestie",
|