Spaces:
Sleeping
Sleeping
Create advisor_agent.py
Browse files- agents/advisor_agent.py +8 -0
agents/advisor_agent.py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from smolai import SmolAgent
|
2 |
+
from langchain.chat_models import ChatOpenAI
|
3 |
+
|
4 |
+
advisor_agent = SmolAgent(
|
5 |
+
name="FarmingAdvisorAgent",
|
6 |
+
description="Gives farming tips and advice based on queries.",
|
7 |
+
llm=ChatOpenAI(temperature=0.7)
|
8 |
+
)
|