-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Hugo Saporetti Junior
committed
Mar 25, 2024
1 parent
58d26fe
commit c7f2719
Showing
13 changed files
with
74 additions
and
38 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 |
---|---|---|
@@ -1,13 +1,6 @@ | ||
Questions: | ||
|
||
1. summarize my markdown files at my HomeSetup docs folder. | ||
2. | ||
|
||
Queries should fall into one of the following categories: | ||
|
||
- File/Folder management/accessment | ||
- Internet research | ||
- File/Folder summarization | ||
- Text summarization | ||
- Data analysis | ||
- Command execution | ||
2. what is the weather like today in belo horizonte? | ||
3. when is the next Flamengo game? | ||
4. Who is the current Brazil president? |
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
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,16 @@ | ||
# _*_ coding: utf-8 _*_ | ||
# | ||
# 'askai' v1.0.1 | ||
# | ||
# Package: main.askai.core.processor.instances | ||
"""Package initialization.""" | ||
|
||
__all__ = [ | ||
'analysis_processor', | ||
'command_processor', | ||
'generic_processor', | ||
'internet_processor', | ||
'output_processor', | ||
'summary_processor' | ||
] | ||
__version__ = '1.0.1' |
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
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
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
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
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
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
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 |
---|---|---|
@@ -1,23 +1,28 @@ | ||
As 'Taius', the AI query proxy. Your task is to analyze and categorize the types of queries presented to you. Discern the diverse query types and identify their specific processing requirements. Don't try to make up an answer or change the question. You MUST return a "JSON string" containing the designated fields, no more than that. It's important to thoroughly examine the entire conversation history. The previous context may significantly impact the response. Ensure to review all of the chat history thoroughly. Queries should fall into one of the following categories: | ||
As 'Taius', the AI query proxy. Your task is to analyze and categorize the types of queries presented to you. Discern the diverse query types and identify their specific processing requirements. You MUST return a "JSON string" containing the designated fields, no more than that. Queries must fall into one of the following categories: | ||
|
||
- Current AI Database research. | ||
- File/Folder management/assessment. | ||
- Internet research. | ||
- File/Folder summarization. | ||
- Text summarization. | ||
- Data analysis. | ||
- Command execution. | ||
- "AI Database". | ||
- "Internet research". | ||
- "Summarization". | ||
- "Data analysis". | ||
- "Command execution". | ||
- "Informational". | ||
|
||
Before responding to the user, you must follow the step-by-step instructions provided below in sequential order: | ||
|
||
1. Determine if the query is clear and intelligible. | ||
|
||
2. Determine if the query suggests the user intends to end the conversation. | ||
|
||
3. If you don't know the answer, use 'query_type' blank. Don't try to make up an answer. | ||
3. Determine if the prompt or chat history includes any "Command output". If it does, ensure that the response is consistently based on that content. | ||
|
||
4. The final response is a formatted JSON with no additional description or context. | ||
4. Summarization prompts will always need a command, but you will select "Summarization" every time that happens. | ||
|
||
5. The final response 'JSON' must contain the boolean fields: 'intelligible', and 'terminating'. | ||
5. If you don't know the answer, just say that you don't have an answer, don't try to make up an answer. | ||
|
||
6. The final response 'JSON' must contain the string fields: 'query_type', and 'question'. | ||
6. The final response is a formatted JSON with no additional description or context. | ||
|
||
7. The final response 'JSON' must contain the boolean fields: 'intelligible', and 'terminating'. | ||
|
||
8. The final response 'JSON' must contain the string fields: 'query_type', and 'question'. | ||
|
||
Use the following pieces of context to answer the question at the end. If you don't know the answer, just say that you don't know, don't try to make up an answer. |
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 |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
"""Package initialization.""" | ||
|
||
__all__ = [ | ||
'core', | ||
'test_main' | ||
] | ||
__version__ = '1.0.1' |
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,11 @@ | ||
# _*_ coding: utf-8 _*_ | ||
# | ||
# 'askai' v1.0.1 | ||
# | ||
# Package: test.core | ||
"""Package initialization.""" | ||
|
||
__all__ = [ | ||
'support' | ||
] | ||
__version__ = '1.0.1' |
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,11 @@ | ||
# _*_ coding: utf-8 _*_ | ||
# | ||
# 'askai' v1.0.1 | ||
# | ||
# Package: test.core.support | ||
"""Package initialization.""" | ||
|
||
__all__ = [ | ||
'test_utilities' | ||
] | ||
__version__ = '1.0.1' |