Spaces:
Sleeping
Sleeping
Update services/nutrition_bot.py
Browse files
services/nutrition_bot.py
CHANGED
|
@@ -4,6 +4,7 @@ from langchain.agents import create_tool_calling_agent, AgentExecutor
|
|
| 4 |
from langchain_core.prompts import ChatPromptTemplate
|
| 5 |
from langchain_openai import ChatOpenAI
|
| 6 |
import sys
|
|
|
|
| 7 |
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'models'))
|
| 8 |
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'config'))
|
| 9 |
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'core'))
|
|
|
|
| 4 |
from langchain_core.prompts import ChatPromptTemplate
|
| 5 |
from langchain_openai import ChatOpenAI
|
| 6 |
import sys
|
| 7 |
+
import os
|
| 8 |
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'models'))
|
| 9 |
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'config'))
|
| 10 |
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'core'))
|