Spaces:
Runtime error
Runtime error
Update LG_agent.py
Browse files- LG_agent.py +0 -3
LG_agent.py
CHANGED
|
@@ -18,12 +18,9 @@ chat = ChatOpenAI(
|
|
| 18 |
"Always think out loud, use available tools when appropriate, and aim for factual, complete answers."
|
| 19 |
)
|
| 20 |
}
|
| 21 |
-
),
|
| 22 |
-
temperature=0,
|
| 23 |
)
|
| 24 |
|
| 25 |
chat_with_tools = chat.bind_tools(all_tools)
|
| 26 |
-
)
|
| 27 |
|
| 28 |
# 2. Define the agent state
|
| 29 |
class AgentState(TypedDict):
|
|
|
|
| 18 |
"Always think out loud, use available tools when appropriate, and aim for factual, complete answers."
|
| 19 |
)
|
| 20 |
}
|
|
|
|
|
|
|
| 21 |
)
|
| 22 |
|
| 23 |
chat_with_tools = chat.bind_tools(all_tools)
|
|
|
|
| 24 |
|
| 25 |
# 2. Define the agent state
|
| 26 |
class AgentState(TypedDict):
|