mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-06 11:37:12 +00:00
Address comments
This commit is contained in:
parent
f47a65c509
commit
cfd413f51e
@ -22,7 +22,7 @@
|
||||
"# GOAT\n",
|
||||
"\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",
|
||||
"Create agents that can:\n",
|
||||
"\n",
|
||||
@ -191,28 +191,8 @@
|
||||
" ],\n",
|
||||
" )\n",
|
||||
"\n",
|
||||
" agent = create_tool_calling_agent(llm, tools, prompt)\n",
|
||||
" agent_executor = AgentExecutor(\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",
|
||||
" # Initialize agent\n",
|
||||
" # Your agent code here\n",
|
||||
"\n",
|
||||
"\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}
|
||||
|
||||
## Agentic Finance
|
||||
## Finance
|
||||
|
||||
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