This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}" | ||
} |