Spaces:
Sleeping
Sleeping
Create health_agent.py
Browse files- agents/health_agent.py +8 -0
agents/health_agent.py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from smolai import SmolAgent
|
2 |
+
from langchain.chat_models import ChatOpenAI
|
3 |
+
|
4 |
+
health_agent = SmolAgent(
|
5 |
+
name="HealthAgent",
|
6 |
+
description="Provides health benefits of various crops.",
|
7 |
+
llm=ChatOpenAI(temperature=0.7)
|
8 |
+
)
|