mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-08 04:25:46 +00:00
Address comments
This commit is contained in:
parent
f47a65c509
commit
cfd413f51e
@ -22,7 +22,7 @@
|
|||||||
"# GOAT\n",
|
"# GOAT\n",
|
||||||
"\n",
|
"\n",
|
||||||
"## Overview\n",
|
"## Overview\n",
|
||||||
"[GOAT](https://github.com/goat-sdk/goat) is the largest agentic finance toolkit for AI agents.\n",
|
"[GOAT](https://github.com/goat-sdk/goat) is the finance toolkit for AI agents.\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Create agents that can:\n",
|
"Create agents that can:\n",
|
||||||
"\n",
|
"\n",
|
||||||
@ -191,28 +191,8 @@
|
|||||||
" ],\n",
|
" ],\n",
|
||||||
" )\n",
|
" )\n",
|
||||||
"\n",
|
"\n",
|
||||||
" agent = create_tool_calling_agent(llm, tools, prompt)\n",
|
" # Initialize agent\n",
|
||||||
" agent_executor = AgentExecutor(\n",
|
" # Your agent code here\n",
|
||||||
" agent=agent, tools=tools, handle_parsing_errors=True, verbose=True\n",
|
|
||||||
" )\n",
|
|
||||||
"\n",
|
|
||||||
" while True:\n",
|
|
||||||
" user_input = input(\"\\nYou: \").strip()\n",
|
|
||||||
"\n",
|
|
||||||
" if user_input.lower() == \"quit\":\n",
|
|
||||||
" print(\"Goodbye!\")\n",
|
|
||||||
" break\n",
|
|
||||||
"\n",
|
|
||||||
" try:\n",
|
|
||||||
" response = agent_executor.invoke(\n",
|
|
||||||
" {\n",
|
|
||||||
" \"input\": user_input,\n",
|
|
||||||
" }\n",
|
|
||||||
" )\n",
|
|
||||||
"\n",
|
|
||||||
" print(\"\\nAssistant:\", response[\"output\"])\n",
|
|
||||||
" except Exception as e:\n",
|
|
||||||
" print(\"\\nError:\", str(e))\n",
|
|
||||||
"\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"if __name__ == \"__main__\":\n",
|
"if __name__ == \"__main__\":\n",
|
||||||
|
@ -228,7 +228,7 @@ The following table shows tools that can be used to automate tasks in databases:
|
|||||||
|
|
||||||
{database_table}
|
{database_table}
|
||||||
|
|
||||||
## Agentic Finance
|
## Finance
|
||||||
|
|
||||||
The following table shows tools that can be used to execute financial transactions such as payments, purchases, and more:
|
The following table shows tools that can be used to execute financial transactions such as payments, purchases, and more:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user