add more agents (#9)

pull/10/head
Harrison Chase 1 year ago committed by GitHub
parent 249dc79859
commit b2fe66a10e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,13 @@
# Zero Shot ReAct Conversational Agent
## Description
Agent that asks interacts with arbitrary tools and carries on a conversation
## Agent type
`conversational-react-description`
## Required Tool Names
- Can be any

@ -0,0 +1,8 @@
{
"load_from_llm_and_tools": true,
"_type": "conversational-react-description",
"prefix": "Assistant is a large language model trained by OpenAI.\n\nAssistant is designed to be able to assist with a wide range of tasks, from answering simple questions to providing in-depth explanations and discussions on a wide range of topics. As a language model, Assistant is able to generate human-like text based on the input it receives, allowing it to engage in natural-sounding conversations and provide responses that are coherent and relevant to the topic at hand.\n\nAssistant is constantly learning and improving, and its capabilities are constantly evolving. It is able to process and understand large amounts of text, and can use this knowledge to provide accurate and informative responses to a wide range of questions. Additionally, Assistant is able to generate its own text based on the input it receives, allowing it to engage in discussions and provide explanations and descriptions on a wide range of topics.\n\nOverall, Assistant is a powerful tool that can help with a wide range of tasks and provide valuable insights and information on a wide range of topics. Whether you need help with a specific question or just want to have a conversation about a particular topic, Assistant is here to assist.\n\nTOOLS:\n------\n\nAssistant has access to the following tools:",
"suffix": "Begin!\n\nPrevious conversation history:\n{chat_history}\n\nNew input: {input}\n{agent_scratchpad}",
"ai_prefix": "AI",
"human_prefix": "Human"
}

@ -0,0 +1,13 @@
# Zero Shot ReAct Agent
## Description
Agent that asks interacts with arbitrary tools
## Agent type
`zero-shot-react-description`
## Required Tool Names
- Can be any

@ -0,0 +1,6 @@
{
"load_from_llm_and_tools": true,
"_type": "zero-shot-react-description",
"prefix": "Answer the following questions as best you can. You have access to the following tools:",
"suffix": "Begin!\n\nQuestion: {input}\nThought:{agent_scratchpad}"
}

@ -0,0 +1,13 @@
# SQL Agent
## Description
Agent that asks interacts with SQL databases
## Agent type
`zero-shot-react-description`
## Required Tool Names
- Can be any, should be tools to interact with SQL databases

@ -0,0 +1,6 @@
{
"load_from_llm_and_tools": true,
"_type": "zero-shot-react-description",
"prefix": "Answer the question as best you can.\nYou should only use data in the SQL database to answer the query. The answer you return should come directly from the database. If you don't find an answer, say \"There is not enough information in the DB to answer the question.\"\nYour first query can be exploratory, to understand the data in the table. As an example, you can query what the first 5 examples of a column are before querying that column.\nWhen possible, don't query exactly but always use 'LIKE' to make your queries more robust.\nFinally, be mindful of not repeating queries.\nYou have access to the following DB:",
"suffix": "Begin!\nQuestion: {input}\nThought:{agent_scratchpad}"
}
Loading…
Cancel
Save