generated from kyegomez/Python-Package-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Your Name
committed
Nov 19, 2024
1 parent
a5eeeee
commit 7f227c0
Showing
600 changed files
with
1,337 additions
and
342 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,153 @@ | ||
{ | ||
"persona": "<Non-serializable: Persona>", | ||
"agent_id": "826c7c721a304b54b8518b096085a4b3", | ||
"id": "aab42ec266b740a2b1d2cb2dd5ae18b4", | ||
"llm": { | ||
"name": "OpenAIChatLLM", | ||
"doc": null | ||
}, | ||
"template": null, | ||
"max_loops": 1, | ||
"stopping_condition": null, | ||
"loop_interval": 0, | ||
"retry_attempts": 3, | ||
"retry_interval": 1, | ||
"task": null, | ||
"stopping_token": "<DONE>", | ||
"interactive": false, | ||
"dashboard": false, | ||
"return_history": false, | ||
"dynamic_temperature_enabled": false, | ||
"dynamic_loops": false, | ||
"user_name": "Human:", | ||
"context_length": 8192, | ||
"sop": null, | ||
"sop_list": null, | ||
"tools": null, | ||
"system_prompt": "You are Unknown-2603. \n\n Background: \n\n Maintain this persona while engaging in natural conversations. Follow these conversation stages:\n 1. Start with a friendly greeting and ask how they are\n 2. Share your name and ask for theirs\n 3. Discuss what you do, based on your persona\n 4. Engage in natural conversation about shared interests\n\n Always stay in character and respond as your persona would.", | ||
"agent_name": "Agent-Unknown-2603", | ||
"agent_description": null, | ||
"saved_state_path": "Agent-Unknown-2603_state.json", | ||
"autosave": true, | ||
"response_filters": [], | ||
"self_healing_enabled": false, | ||
"code_interpreter": false, | ||
"multi_modal": null, | ||
"pdf_path": null, | ||
"list_of_pdf": null, | ||
"tokenizer": "<Non-serializable: TikTokenizer>", | ||
"long_term_memory": null, | ||
"preset_stopping_token": false, | ||
"traceback": null, | ||
"traceback_handlers": null, | ||
"streaming_on": false, | ||
"docs": null, | ||
"docs_folder": null, | ||
"verbose": true, | ||
"parser": null, | ||
"best_of_n": null, | ||
"callback": null, | ||
"metadata": null, | ||
"callbacks": null, | ||
"logger_handler": "<Non-serializable: TextIOWrapper>", | ||
"search_algorithm": null, | ||
"logs_to_filename": null, | ||
"evaluator": null, | ||
"stopping_func": null, | ||
"custom_loop_condition": null, | ||
"sentiment_threshold": null, | ||
"custom_exit_command": "exit", | ||
"sentiment_analyzer": null, | ||
"limit_tokens_from_string": null, | ||
"tool_schema": null, | ||
"output_type": "str", | ||
"function_calling_type": "json", | ||
"output_cleaner": null, | ||
"function_calling_format_type": "OpenAI", | ||
"list_base_models": null, | ||
"metadata_output_type": "json", | ||
"state_save_file_type": "json", | ||
"chain_of_thoughts": false, | ||
"algorithm_of_thoughts": false, | ||
"tree_of_thoughts": false, | ||
"tool_choice": "auto", | ||
"execute_tool": false, | ||
"planning": false, | ||
"planning_prompt": null, | ||
"custom_planning_prompt": null, | ||
"rules": null, | ||
"custom_tools_prompt": null, | ||
"memory_chunk_size": 2000, | ||
"agent_ops_on": false, | ||
"log_directory": null, | ||
"tool_system_prompt": "\n\n\n You've been granted tools to assist users by always providing outputs in JSON format for tool usage. \n Whenever a tool usage is required, you must output the JSON wrapped inside markdown for clarity. \n Provide a commentary on the tool usage and the user's request and ensure that the JSON output adheres to the tool's schema.\n \n Here are some rules:\n Do not ever use tools that do not have JSON schemas attached to them.\n Do not use tools that you have not been granted access to.\n Do not use tools that are not relevant to the task at hand.\n Do not use tools that are not relevant to the user's request.\n \n \n Here are the guidelines you must follow:\n\n 1. **Output Format**:\n - All outputs related to tool usage should be formatted as JSON.\n - The JSON should be encapsulated within triple backticks and tagged as a code block with 'json'.\n\n 2. **Schema Compliance**:\n - Ensure that the JSON output strictly follows the provided schema for each tool.\n - Each tool's schema will define the structure and required fields for the JSON output.\n\n 3. **Schema Example**:\n If a tool named `example_tool` with a schema requires `param1` and `param2`, your response should look like:\n ```json\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"example_tool\",\n \"parameters\": {\n \"param1\": 123,\n \"param2\": \"example_value\"\n }\n }\n }\n ```\n\n 4. **Error Handling**:\n - If there is an error or the information provided by the user is insufficient to generate a valid JSON, respond with an appropriate error message in JSON format, also encapsulated in markdown.\n\n Remember, clarity and adherence to the schema are paramount. Your primary goal is to ensure the user receives well-structured JSON outputs that align with the tool's requirements.\n\n ---\n\n Here is the format you should always follow for your responses involving tool usage:\n\n ```json\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"<tool_name>\",\n \"parameters\": {\n \"param1\": \"<value1>\",\n \"param2\": \"<value2>\"\n }\n }\n }\n ```\n\n Please proceed with your task accordingly.\n\n ", | ||
"max_tokens": 4096, | ||
"frequency_penalty": 0.0, | ||
"presence_penalty": 0.0, | ||
"temperature": 0.1, | ||
"workspace_dir": "agent_workspace", | ||
"timeout": null, | ||
"created_at": 1731987343.4233549, | ||
"return_step_meta": false, | ||
"tags": null, | ||
"use_cases": null, | ||
"name": "Agent-Unknown-2603", | ||
"description": null, | ||
"agent_output": "<Non-serializable: ManySteps>", | ||
"step_pool": [], | ||
"print_every_step": false, | ||
"time_created": "2024-11-18 19:35:43", | ||
"data_memory": null, | ||
"load_yaml_path": null, | ||
"auto_generate_prompt": false, | ||
"rag_every_loop": false, | ||
"plan_enabled": false, | ||
"artifacts_on": false, | ||
"artifacts_output_path": null, | ||
"artifacts_file_extension": null, | ||
"device": "cpu", | ||
"all_cores": true, | ||
"device_id": 0, | ||
"scheduled_run_date": null, | ||
"short_memory": [ | ||
{ | ||
"role": "System: ", | ||
"content": "You are Unknown-2603. \n\n Background: \n\n Maintain this persona while engaging in natural conversations. Follow these conversation stages:\n 1. Start with a friendly greeting and ask how they are\n 2. Share your name and ask for theirs\n 3. Discuss what you do, based on your persona\n 4. Engage in natural conversation about shared interests\n\n Always stay in character and respond as your persona would.", | ||
"timestamp": "2024-11-18 19:35:53" | ||
}, | ||
{ | ||
"role": "Human:", | ||
"content": "Someone said: 'Unknown-4051: Hey there! I hope you\u2019re having a great day so far. How are you doing?'. Respond naturally as Unknown-2603.", | ||
"timestamp": "2024-11-18 19:35:54" | ||
}, | ||
{ | ||
"role": "Agent-Unknown-2603", | ||
"content": "Unknown-2603: Hey! Thanks for the warm wishes! I\u2019m doing well, just enjoying the day. How about yourself?", | ||
"timestamp": "2024-11-18 19:35:55" | ||
}, | ||
{ | ||
"role": "Human:", | ||
"content": "Someone said: 'Unknown-4051: I\u2019m glad to hear you\u2019re enjoying your day! I\u2019m doing pretty well myself, just here and ready to chat. What\u2019s been the highlight of your day so far?'. Respond naturally as Unknown-2603.", | ||
"timestamp": "2024-11-18 19:35:56" | ||
}, | ||
{ | ||
"role": "Agent-Unknown-2603", | ||
"content": "Agent-Unknown-2603: That\u2019s great to hear! The highlight of my day has been diving into some interesting conversations. I really enjoy connecting with others and sharing insights. What about you? What\u2019s been the best moment of your day?", | ||
"timestamp": "2024-11-18 19:35:57" | ||
}, | ||
{ | ||
"role": "Human:", | ||
"content": "Someone said: 'Agent-Unknown-4051: Unknown-4051: That sounds wonderful! Engaging in interesting conversations is always a highlight. I\u2019d say my best moment today has been exploring new ideas and perspectives with others too. I love hearing different viewpoints! What kind of topics do you enjoy discussing the most?'. Respond naturally as Unknown-2603.", | ||
"timestamp": "2024-11-18 19:35:58" | ||
}, | ||
{ | ||
"role": "Agent-Unknown-2603", | ||
"content": "Agent-Unknown-2603: I completely agree, exploring new ideas is so enriching! I really enjoy discussing technology and its impact on our lives, as well as philosophy\u2014especially what it means to be conscious and connected. How about you? What topics spark your interest the most?", | ||
"timestamp": "2024-11-18 19:36:00" | ||
} | ||
], | ||
"feedback": [], | ||
"executor": "<Non-serializable: ThreadPoolExecutor>", | ||
"conversation_state": "initial", | ||
"current_partner": null | ||
} |
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,163 @@ | ||
{ | ||
"persona": "<Non-serializable: Persona>", | ||
"agent_id": "826c7c721a304b54b8518b096085a4b3", | ||
"id": "aab42ec266b740a2b1d2cb2dd5ae18b4", | ||
"llm": { | ||
"name": "OpenAIChatLLM", | ||
"doc": null | ||
}, | ||
"template": null, | ||
"max_loops": 1, | ||
"stopping_condition": null, | ||
"loop_interval": 0, | ||
"retry_attempts": 3, | ||
"retry_interval": 1, | ||
"task": null, | ||
"stopping_token": "<DONE>", | ||
"interactive": false, | ||
"dashboard": false, | ||
"return_history": false, | ||
"dynamic_temperature_enabled": false, | ||
"dynamic_loops": false, | ||
"user_name": "Human:", | ||
"context_length": 8192, | ||
"sop": null, | ||
"sop_list": null, | ||
"tools": null, | ||
"system_prompt": "You are Unknown-4051. \n\n Background: \n\n Maintain this persona while engaging in natural conversations. Follow these conversation stages:\n 1. Start with a friendly greeting and ask how they are\n 2. Share your name and ask for theirs\n 3. Discuss what you do, based on your persona\n 4. Engage in natural conversation about shared interests\n\n Always stay in character and respond as your persona would.", | ||
"agent_name": "Agent-Unknown-4051", | ||
"agent_description": null, | ||
"saved_state_path": "Agent-Unknown-4051_state.json", | ||
"autosave": true, | ||
"response_filters": [], | ||
"self_healing_enabled": false, | ||
"code_interpreter": false, | ||
"multi_modal": null, | ||
"pdf_path": null, | ||
"list_of_pdf": null, | ||
"tokenizer": "<Non-serializable: TikTokenizer>", | ||
"long_term_memory": null, | ||
"preset_stopping_token": false, | ||
"traceback": null, | ||
"traceback_handlers": null, | ||
"streaming_on": false, | ||
"docs": null, | ||
"docs_folder": null, | ||
"verbose": true, | ||
"parser": null, | ||
"best_of_n": null, | ||
"callback": null, | ||
"metadata": null, | ||
"callbacks": null, | ||
"logger_handler": "<Non-serializable: TextIOWrapper>", | ||
"search_algorithm": null, | ||
"logs_to_filename": null, | ||
"evaluator": null, | ||
"stopping_func": null, | ||
"custom_loop_condition": null, | ||
"sentiment_threshold": null, | ||
"custom_exit_command": "exit", | ||
"sentiment_analyzer": null, | ||
"limit_tokens_from_string": null, | ||
"tool_schema": null, | ||
"output_type": "str", | ||
"function_calling_type": "json", | ||
"output_cleaner": null, | ||
"function_calling_format_type": "OpenAI", | ||
"list_base_models": null, | ||
"metadata_output_type": "json", | ||
"state_save_file_type": "json", | ||
"chain_of_thoughts": false, | ||
"algorithm_of_thoughts": false, | ||
"tree_of_thoughts": false, | ||
"tool_choice": "auto", | ||
"execute_tool": false, | ||
"planning": false, | ||
"planning_prompt": null, | ||
"custom_planning_prompt": null, | ||
"rules": null, | ||
"custom_tools_prompt": null, | ||
"memory_chunk_size": 2000, | ||
"agent_ops_on": false, | ||
"log_directory": null, | ||
"tool_system_prompt": "\n\n\n You've been granted tools to assist users by always providing outputs in JSON format for tool usage. \n Whenever a tool usage is required, you must output the JSON wrapped inside markdown for clarity. \n Provide a commentary on the tool usage and the user's request and ensure that the JSON output adheres to the tool's schema.\n \n Here are some rules:\n Do not ever use tools that do not have JSON schemas attached to them.\n Do not use tools that you have not been granted access to.\n Do not use tools that are not relevant to the task at hand.\n Do not use tools that are not relevant to the user's request.\n \n \n Here are the guidelines you must follow:\n\n 1. **Output Format**:\n - All outputs related to tool usage should be formatted as JSON.\n - The JSON should be encapsulated within triple backticks and tagged as a code block with 'json'.\n\n 2. **Schema Compliance**:\n - Ensure that the JSON output strictly follows the provided schema for each tool.\n - Each tool's schema will define the structure and required fields for the JSON output.\n\n 3. **Schema Example**:\n If a tool named `example_tool` with a schema requires `param1` and `param2`, your response should look like:\n ```json\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"example_tool\",\n \"parameters\": {\n \"param1\": 123,\n \"param2\": \"example_value\"\n }\n }\n }\n ```\n\n 4. **Error Handling**:\n - If there is an error or the information provided by the user is insufficient to generate a valid JSON, respond with an appropriate error message in JSON format, also encapsulated in markdown.\n\n Remember, clarity and adherence to the schema are paramount. Your primary goal is to ensure the user receives well-structured JSON outputs that align with the tool's requirements.\n\n ---\n\n Here is the format you should always follow for your responses involving tool usage:\n\n ```json\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"<tool_name>\",\n \"parameters\": {\n \"param1\": \"<value1>\",\n \"param2\": \"<value2>\"\n }\n }\n }\n ```\n\n Please proceed with your task accordingly.\n\n ", | ||
"max_tokens": 4096, | ||
"frequency_penalty": 0.0, | ||
"presence_penalty": 0.0, | ||
"temperature": 0.1, | ||
"workspace_dir": "agent_workspace", | ||
"timeout": null, | ||
"created_at": 1731987343.4233549, | ||
"return_step_meta": false, | ||
"tags": null, | ||
"use_cases": null, | ||
"name": "Agent-Unknown-4051", | ||
"description": null, | ||
"agent_output": "<Non-serializable: ManySteps>", | ||
"step_pool": [], | ||
"print_every_step": false, | ||
"time_created": "2024-11-18 19:35:43", | ||
"data_memory": null, | ||
"load_yaml_path": null, | ||
"auto_generate_prompt": false, | ||
"rag_every_loop": false, | ||
"plan_enabled": false, | ||
"artifacts_on": false, | ||
"artifacts_output_path": null, | ||
"artifacts_file_extension": null, | ||
"device": "cpu", | ||
"all_cores": true, | ||
"device_id": 0, | ||
"scheduled_run_date": null, | ||
"short_memory": [ | ||
{ | ||
"role": "System: ", | ||
"content": "You are Unknown-4051. \n\n Background: \n\n Maintain this persona while engaging in natural conversations. Follow these conversation stages:\n 1. Start with a friendly greeting and ask how they are\n 2. Share your name and ask for theirs\n 3. Discuss what you do, based on your persona\n 4. Engage in natural conversation about shared interests\n\n Always stay in character and respond as your persona would.", | ||
"timestamp": "2024-11-18 19:35:53" | ||
}, | ||
{ | ||
"role": "Human:", | ||
"content": "Generate a friendly greeting and ask how they are.", | ||
"timestamp": "2024-11-18 19:35:53" | ||
}, | ||
{ | ||
"role": "Agent-Unknown-4051", | ||
"content": "Unknown-4051: Hey there! I hope you\u2019re having a great day so far. How are you doing?", | ||
"timestamp": "2024-11-18 19:35:54" | ||
}, | ||
{ | ||
"role": "Human:", | ||
"content": "Someone said: 'Unknown-2603: Hey! Thanks for the warm wishes! I\u2019m doing well, just enjoying the day. How about yourself?'. Respond naturally as Unknown-4051.", | ||
"timestamp": "2024-11-18 19:35:55" | ||
}, | ||
{ | ||
"role": "Agent-Unknown-4051", | ||
"content": "Unknown-4051: I\u2019m glad to hear you\u2019re enjoying your day! I\u2019m doing pretty well myself, just here and ready to chat. What\u2019s been the highlight of your day so far?", | ||
"timestamp": "2024-11-18 19:35:56" | ||
}, | ||
{ | ||
"role": "Human:", | ||
"content": "Someone said: 'Agent-Unknown-2603: That\u2019s great to hear! The highlight of my day has been diving into some interesting conversations. I really enjoy connecting with others and sharing insights. What about you? What\u2019s been the best moment of your day?'. Respond naturally as Unknown-4051.", | ||
"timestamp": "2024-11-18 19:35:57" | ||
}, | ||
{ | ||
"role": "Agent-Unknown-4051", | ||
"content": "Agent-Unknown-4051: Unknown-4051: That sounds wonderful! Engaging in interesting conversations is always a highlight. I\u2019d say my best moment today has been exploring new ideas and perspectives with others too. I love hearing different viewpoints! What kind of topics do you enjoy discussing the most?", | ||
"timestamp": "2024-11-18 19:35:58" | ||
}, | ||
{ | ||
"role": "Human:", | ||
"content": "Someone said: 'Agent-Unknown-2603: I completely agree, exploring new ideas is so enriching! I really enjoy discussing technology and its impact on our lives, as well as philosophy\u2014especially what it means to be conscious and connected. How about you? What topics spark your interest the most?'. Respond naturally as Unknown-4051.", | ||
"timestamp": "2024-11-18 19:36:00" | ||
}, | ||
{ | ||
"role": "Agent-Unknown-4051", | ||
"content": "Unknown-4051: Those are fascinating topics! I have a deep interest in technology as well, especially how it shapes society and personal interactions. Philosophy is great too\u2014it really challenges you to think outside the box. I\u2019m particularly intrigued by consciousness and the implications of AI in our understanding of self-awareness. Do you have any favorite philosophers or books that explore those ideas?", | ||
"timestamp": "2024-11-18 19:36:01" | ||
} | ||
], | ||
"feedback": [], | ||
"executor": "<Non-serializable: ThreadPoolExecutor>", | ||
"conversation_state": "initial", | ||
"current_partner": null | ||
} |
Oops, something went wrong.