Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -610,7 +610,8 @@ class NutritionBot:
|
|
610 |
"""
|
611 |
|
612 |
# Initialize a memory client to store and retrieve customer interactions
|
613 |
-
self.memory = MemoryClient(api_key=userdata.get("mem0")) # Complete the code to define the memory client API key
|
|
|
614 |
|
615 |
# Initialize the Azure OpenAI client using the provided credentials
|
616 |
self.client = AzureChatOpenAI(
|
|
|
610 |
"""
|
611 |
|
612 |
# Initialize a memory client to store and retrieve customer interactions
|
613 |
+
#self.memory = MemoryClient(api_key=userdata.get("mem0")) # Complete the code to define the memory client API key
|
614 |
+
self.memory = MemoryClient(api_key = userdata.get("MEM0_api_key"))
|
615 |
|
616 |
# Initialize the Azure OpenAI client using the provided credentials
|
617 |
self.client = AzureChatOpenAI(
|