Spaces:
Runtime error
Runtime error
Update chat.py
Browse files
chat.py
CHANGED
@@ -56,7 +56,7 @@ llm = ChatOpenAI(model="gpt-3.5-turbo", openai_api_key=openai_key, temperature=0
|
|
56 |
# llm = ChatGroq(temperature=0,groq_api_key="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", model_name="llama3-70b-8192")
|
57 |
#model=llama3-8b-8192
|
58 |
|
59 |
-
session_id="
|
60 |
# Set up MongoDB for storing chat history
|
61 |
chat_history = MongoDBChatMessageHistory(
|
62 |
connection_string="mongodb+srv://chandanisimran51:[email protected]/?retryWrites=true&w=majority&appName=AIbestie",
|
|
|
56 |
# llm = ChatGroq(temperature=0,groq_api_key="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", model_name="llama3-70b-8192")
|
57 |
#model=llama3-8b-8192
|
58 |
|
59 |
+
session_id="bmoxi"
|
60 |
# Set up MongoDB for storing chat history
|
61 |
chat_history = MongoDBChatMessageHistory(
|
62 |
connection_string="mongodb+srv://chandanisimran51:[email protected]/?retryWrites=true&w=majority&appName=AIbestie",
|