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