Spaces:
Sleeping
Sleeping
Create marketplace_agent.py
Browse files
agents/marketplace_agent.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from smolai import SmolAgent
|
| 2 |
+
from langchain.chat_models import ChatOpenAI
|
| 3 |
+
|
| 4 |
+
marketplace_agent = SmolAgent(
|
| 5 |
+
name="MarketplaceAgent",
|
| 6 |
+
description="Assists customers in searching for crops and making recommendations.",
|
| 7 |
+
llm=ChatOpenAI(temperature=0.7)
|
| 8 |
+
)
|