TransformerOptimus / SuperAGI

<⚡️> SuperAGI - A dev-first open source autonomous AI agent framework. Enabling developers to build, manage & run useful autonomous agents quickly and reliably.

Home Page:https://superagi.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ThinkingTool returned: Error generating text: Error parsing vector similarity query: query vector blob size (6144) does not match index's expected size (4).

dhnanjay opened this issue · comments

⚠️ Check for existing issues before proceeding. ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

Where are you using SuperAGI?

MacOS

Which branch of SuperAGI are you using?

Main

Do you use OpenAI GPT-3.5 or GPT-4?

GPT-4(32k)

Which area covers your issue best?

Tools

Describe your issue.

I am getting the below error. I have connected superagi to pinecone and it connected but I am not able to resolve the below error. Any pointers would be helpful.

" Tool ThinkingTool returned: Error generating text: Error parsing vector similarity query: query vector blob size (6144) does not match index's expected size (4). "

How to replicate your Issue?

No response

Upload Error Log Content

'example@example.com'", "type": "string"}, "subject": {"title": "Subject", "description": "Subject of the Email to be sent", "type": "string"}, "body": {"title": "Body", "description": "Email Body to be sent, Do not add senders details in the email body and end it with Warm Regards without entering any name.", "type": "string"}, "filename": {"title": "Filename", "description": "Name of the file to be sent as an Attachment with Email", "type": "string"}}\n4. "Send Email": Send an Email, args json schema: {"to": {"title": "To", "description": "Email Address of the Receiver, default email address is 'example@example.com'", "type": "string"}, "subject": {"title": "Subject", "description": "Subject of the Email to be sent", "type": "string"}, "body": {"title": "Body", "description": "Email Body to be sent. Escape special characters in the body. Do not add senders details and end it with Warm Regards without entering any name.", "type": "string"}}\n5. "finish": use this to signal that you have finished all your objectives, args: "response": "final response to let people know you have finished your objectives"\n\n\n\nPERFORMANCE EVALUATION:\n1. Continuously review and analyze your actions to ensure you are performing to the best of your abilities.\n2. Use instruction to decide the flow of execution and decide the next steps for achieving the task.\n3. Constructively self-criticize your big-picture behavior constantly.\n4. Reflect on past decisions and strategies to refine your approach.\n5. Every tool has a cost, so be smart and efficient.\n\nRespond with only valid JSON conforming to the following schema:\n{\n "$schema": "http://json-schema.org/draft-07/schema#",\n "type": "object",\n "properties": {\n "thoughts": {\n "type": "object",\n "properties": {\n "text": {\n "type": "string",\n "description": "thought"\n },\n "reasoning": {\n "type": "string",\n "description": "short reasoning"\n },\n "plan": {\n "type": "string",\n "description": "- short bulleted\n- list that conveys\n- long-term plan"\n },\n "criticism": {\n "type": "string",\n "description": "constructive self-criticism"\n },\n "speak": {\n "type": "string",\n "description": "thoughts summary to say to user"\n }\n },\n "required": ["text", "reasoning", "plan", "criticism", "speak"],\n "additionalProperties": false\n },\n "tool": {\n "type": "object",\n "properties": {\n "name": {\n "type": "string",\n "description": "tool name"\n },\n "args": {\n "type": "object",\n "description": "tool arguments"\n }\n },\n "required": ["name", "args"],\n "additionalProperties": false\n }\n },\n "required": ["thoughts", "tool"],\n "additionalProperties": false\n}'}, {'role': 'system', 'content': 'The current time and date is Fri Sep 29 05:18:43 2023'}, {'role': 'assistant', 'content': '{\n "thoughts": {\n "text": "I need to create a day planner template and send it to backgroundscripts@gmail.com.",\n "reasoning": "Creating a day planner template is the first step in achieving my goal.",\n "plan": "- Create a day planner template\n- Send it to backgroundscripts@gmail.com",\n "criticism": "I should prioritize creating the day planner template before sending it.",\n "speak": "I will first create a day planner template and then send it to the specified email address."\n },\n "tool": {\n "name": "ThinkingTool",\n "args": {\n "task_description": "Create a day planner template"\n }\n }\n}'}, {'role': 'system', 'content': "Tool ThinkingTool returned: Error generating text: Error parsing vector similarity query: query vector blob size (6144) does not match index's expected size (4)."}, {'role': 'assistant', 'content': '{\n "thoughts": {\n "text": "I need to create a day planner template and send it to backgroundscripts@gmail.com.",\n "reasoning": "Creating a day planner template is the first step in achieving my goal.",\n "plan": "- Create a day planner template\n- Send it to backgroundscripts@gmail.com",\n "criticism": "I should prioritize creating the day planner template before sending it.",\n "speak": "I will first create a day planner template and then send it to the specified email address."\n },\n "tool": {\n "name": "ThinkingTool",\n "args": {\n "task_description": "Create a day planner template"\n }\n }\n}'}, {'role': 'system', 'content': "Tool ThinkingTool returned: Error generating text: Error parsing vector similarity query: query vector blob size (6144) does not match index's expected size (4)."}, {'role': 'assistant', 'content': '{\n "thoughts": {\n "text": "I will create a day planner template manually and send it to backgroundscripts@gmail.com.",\n "reasoning": "Since the ThinkingTool is not working, I have to create the day planner template manually.",\n "plan": "- Create a day planner template manually\n- Send it to backgroundscripts@gmail.com",\n "criticism": "I need to ensure the day planner template is well-structured and easy to use.",\n "speak": "I will create a day planner template manually and then send it to the specified email address."\n },\n "tool": {\n "name": "Send Email with Attachment",\n "args": {\n "to": "backgroundscripts@gmail.com",\n "subject": "Day Planner Template",\n "body": "Here's a simple day planner template for your use.\\n\\nMorning:\\n- Task 1\\n- Task 2\\n\\nAfternoon:\\n- Task 1\\n- Task 2\\n\\nEvening:\\n- Task 1\\n- Task 2\\n\\nNight:\\n- Task 1\\n- Task 2\\n\\nWarm Regards,\\nSuperAGI",\n "filename": "day_planner_template.txt"\n }\n }\n}'}, {'role': 'system', 'content': 'Tool Send Email with Attachment returned: Error1: File 'day_planner_template.txt' not found., FileNotFoundError, args: {'to': 'backgroundscripts@gmail.com', 'subject': 'Day Planner Template', 'body': "Here's a simple day planner template for your use.\\n\\nMorning:\\n- Task 1\\n- Task 2\\n\\nAfternoon:\\n- Task 1\\n- Task 2\\n\\nEvening:\\n- Task 1\\n- Task 2\\n\\nNight:\\n- Task 1\\n- Task 2\\n\\nWarm Regards,\\nSuperAGI", 'filename': 'day_planner_template.txt'}'}, {'role': 'assistant', 'content': '{\n "thoughts": {\n "text": "I need to send the day planner template in the email body instead of as an attachment.",\n "reasoning": "Since I cannot create and attach a file, I will send the day planner template in the email body.",\n "plan": "- Send the day planner template in the email body",\n "criticism": "I should ensure the day planner template is well-formatted in the email body.",\n "speak": "I will send the day planner template in the email body to the specified email address."\n },\n "tool": {\n "name": "Send Email",\n "args": {\n "to": "backgroundscripts@gmail.com",\n "subject": "Day Planner Template",\n "body": "Here's a simple day planner template for your use.\\n\\nMorning:\\n- Task 1\\n- Task 2\\n\\nAfternoon:\\n- Task 1\\n- Task 2\\n\\nEvening:\\n- Task 1\\n- Task 2\\n\\nNight:\\n- Task 1\\n- Task 2\\n\\nWarm Regards\\nSuperAGI"\n }\n }\n}'}, {'role': 'system', 'content': 'Tool Send Email returned: Error1: (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials c5-20020aa781c5000000b0068883728c16sm14666273pfn.144 - gsmtp'), SMTPAuthenticationError, args: {'to': 'backgroundscripts@gmail.com', 'subject': 'Day Planner Template', 'body': "Here's a simple day planner template for your use.\\n\\nMorning:\\n- Task 1\\n- Task 2\\n\\nAfternoon:\\n- Task 1\\n- Task 2\\n\\nEvening:\\n- Task 1\\n- Task 2\\n\\nNight:\\n- Task 1\\n- Task 2\\n\\nWarm Regards\\nSuperAGI"}'}, {'role': 'user', 'content': 'Determine which next tool to use, and respond using the format specified above:'}] superagi-celery-1 | [2023-09-29 05:18:43,060: WARNING/ForkPoolWorker-8] tokens superagi-celery-1 | [2023-09-29 05:18:43,060: WARNING/ForkPoolWorker-8] superagi-celery-1 | [2023-09-29 05:18:43,060: WARNING/ForkPoolWorker-8] 2461 superagi-celery-1 | [2023-09-29 05:18:43,138: INFO/ForkPoolWorker-8] error_code=429 error_message='Requests to the Creates a completion for the chat message Operation under Azure OpenAI API version 2023-03-15-preview have exceeded token rate limit of your current OpenAI S0 pricing tier. Please retry after 3 seconds. Please go here: https://aka.ms/oai/quotaincrease if you would like to further increase the default rate limit.' error_param=None error_type=None message='OpenAI API error received' stream_error=False superagi-celery-1 | 2023-09-29 05:18:43 UTC - Super AGI - INFO - [/app/superagi/llms/openai.py:87] - OpenAi RateLimitError: superagi-celery-1 | [2023-09-29 05:18:43,138: INFO/ForkPoolWorker-8] OpenAi RateLimitError: superagi-celery-1 | 2023-09-29 05:18:43 UTC - Super AGI - INFO - [/app/superagi/llms/openai.py:87] - Requests to the Creates a completion for the chat message Operation under Azure OpenAI API version 2023-03-15-preview have exceeded token rate limit of your current OpenAI S0 pricing tier. Please retry after 3 seconds. Please go here: https://aka.ms/oai/quotaincrease if you would like to further increase the default rate limit. superagi-celery-1 | [2023-09-29 05:18:43,138: INFO/ForkPoolWorker-8] Requests to the Creates a completion for the chat message Operation under Azure OpenAI API version 2023-03-15-preview have exceeded token rate limit of your current OpenAI S0 pricing tier. Please retry after 3 seconds. Please go here: https://aka.ms/oai/quotaincrease if you would like to further increase the default rate limit. superagi-celery-1 | 2023-09-29 05:18:43 UTC - Super AGI - INFO - [/app/superagi/jobs/agent_executor.py:95] - Exception in executing the step: Failed to get response from llm superagi-celery-1 | [2023-09-29 05:18:43,138: INFO/ForkPoolWorker-8] Exception in executing the step: Failed to get response from llm superagi-celery-1 | [2023-09-29 05:18:43,142: INFO/MainProcess] Task execute_agent[a4e7b445-6534-4eee-82c3-2d3b466de2d6] received superagi-celery-1 | [2023-09-29 05:18:43,143: INFO/ForkPoolWorker-8] Task execute_agent[9d805c32-e866-4a61-b824-1242221da6c3] succeeded in 0.2604482080005255s: None superagi-backend-1 | INFO: 172.19.0.7:55724 - "GET /agentexecutionfeeds/get/execution/13 HTTP/1.0" 200 OK superagi-proxy-1 | 172.19.0.1 - - [29/Sep/2023:05:18:46 +0000] "GET /api/agentexecutionfeeds/get/execution/13 HTTP/1.1" 200 5217 "http://localhost:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0" "-" superagi-backend-1 | INFO: 172.19.0.7:55738 - "GET /agentexecutionfeeds/get/execution/13 HTTP/1.0" 200 OK superagi-proxy-1 | 172.19.0.1 - - [29/Sep/2023:05:18:51 +0000] "GET /api/agentexecutionfeeds/get/execution/13 HTTP/1.1" 200 5217 "http://localhost:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0" "-" superagi-backend-1 | INFO: 172.19.0.7:46160 - "GET /agentexecutionfeeds/get/execution/13 HTTP/1.0" 200 OK superagi-proxy-1 | 172.19.0.1 - - [29/Sep/2023:05:18:56 +0000] "GET /api/agentexecutionfeeds/get/execution/13 HTTP/1.1" 200 5217 "http://localhost:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0" "-" superagi-celery-1 | [2023-09-29 05:18:58,627: WARNING/ForkPoolWorker-8] Handling tools import superagi-celery-1 | 2023-09-29 05:18:58 UTC - Super AGI - INFO - [/app/superagi/worker.py:59] - Execute agent:2023-09-29T05:18:43.138922,13 superagi-celery-1 | [2023-09-29 05:18:58,636: INFO/ForkPoolWorker-8] Execute agent:2023-09-29T05:18:43.138922,13 superagi-celery-1 | 2023-09-29 05:18:58 UTC - Super AGI - INFO - [/app/superagi/vector_store/redis.py:132] - {'index_name': 'super-agent-index1', 'index_options': [], 'index_definition': ['key_type', 'HASH', 'prefixes', ['doc:'], 'default_score', '1'], 'attributes': [['identifier', 'tag', 'attribute', 'tag', 'type', 'TAG', 'SEPARATOR', ','], ['identifier', 'content_vector', 'attribute', 'content_vector', 'type', 'VECTOR']], 'num_docs': '0', 'max_doc_id': '0', 'num_terms': '0', 'num_records': '0', 'inverted_sz_mb': '0', 'vector_index_sz_mb': '0.00818634033203125', 'total_inverted_index_blocks': '0', 'offset_vectors_sz_mb': '0', 'doc_table_size_mb': '0', 'sortable_values_size_mb': '0', 'key_table_size_mb': '0', 'geoshapes_sz_mb': '0', 'records_per_doc_avg': 'nan', 'bytes_per_record_avg': 'nan', 'offsets_per_term_avg': 'nan', 'offset_bits_per_record_avg': 'nan', 'hash_indexing_failures': '42', 'total_indexing_time': '18.387', 'indexing': '0', 'percent_indexed': '1', 'number_of_uses': 223, 'cleaning': 0, 'gc_stats': ['bytes_collected', '0', 'total_ms_run', '0', 'total_cycles', '0', 'average_cycle_time_ms', 'nan', 'last_run_time_ms', '0', 'gc_numeric_trees_missed', '0', 'gc_blocks_denied', '0'], 'cursor_stats': ['global_idle', 0, 'global_total', 0, 'index_capacity', 128, 'index_total', 0], 'dialect_stats': ['dialect_1', 0, 'dialect_2', 1, 'dialect_3', 0, 'dialect_4', 0]} superagi-celery-1 | [2023-09-29 05:18:58,679: INFO/ForkPoolWorker-8] {'index_name': 'super-agent-index1', 'index_options': [], 'index_definition': ['key_type', 'HASH', 'prefixes', ['doc:'], 'default_score', '1'], 'attributes': [['identifier', 'tag', 'attribute', 'tag', 'type', 'TAG', 'SEPARATOR', ','], ['identifier', 'content_vector', 'attribute', 'content_vector', 'type', 'VECTOR']], 'num_docs': '0', 'max_doc_id': '0', 'num_terms': '0', 'num_records': '0', 'inverted_sz_mb': '0', 'vector_index_sz_mb': '0.00818634033203125', 'total_inverted_index_blocks': '0', 'offset_vectors_sz_mb': '0', 'doc_table_size_mb': '0', 'sortable_values_size_mb': '0', 'key_table_size_mb': '0', 'geoshapes_sz_mb': '0', 'records_per_doc_avg': 'nan', 'bytes_per_record_avg': 'nan', 'offsets_per_term_avg': 'nan', 'offset_bits_per_record_avg': 'nan', 'hash_indexing_failures': '42', 'total_indexing_time': '18.387', 'indexing': '0', 'percent_indexed': '1', 'number_of_uses': 223, 'cleaning': 0, 'gc_stats': ['bytes_collected', '0', 'total_ms_run', '0', 'total_cycles', '0', 'average_cycle_time_ms', 'nan', 'last_run_time_ms', '0', 'gc_numeric_trees_missed', '0', 'gc_blocks_denied', '0'], 'cursor_stats': ['global_idle', 0, 'global_total', 0, 'index_capacity', 128, 'index_total', 0], 'dialect_stats': ['dialect_1', 0, 'dialect_2', 1, 'dialect_3', 0, 'dialect_4', 0]} superagi-celery-1 | 2023-09-29 05:18:58 UTC - Super AGI - INFO - [/app/superagi/vector_store/redis.py:133] - Index already exists! superagi-celery-1 | [2023-09-29 05:18:58,679: INFO/ForkPoolWorker-8] Index already exists! superagi-celery-1 | [2023-09-29 05:18:58,681: WARNING/ForkPoolWorker-8] Fetching model details from database... superagi-celery-1 | [2023-09-29 05:18:58,690: WARNING/ForkPoolWorker-8] Provider is OpenAI superagi-celery-1 | [2023-09-29 05:18:58,691: WARNING/ForkPoolWorker-8] Fetching model details from database... superagi-celery-1 | [2023-09-29 05:18:58,692: WARNING/ForkPoolWorker-8] Provider is OpenAI superagi-celery-1 | [2023-09-29 05:18:58,692: WARNING/ForkPoolWorker-8] <superagi.llms.openai.OpenAi object at 0xffff62ff34f0> superagi-celery-1 | [2023-09-29 05:18:58,706: WARNING/ForkPoolWorker-8] OpenAI superagi-celery-1 | [2023-09-29 05:18:58,717: WARNING/ForkPoolWorker-8] Fetching model details from database... superagi-celery-1 | [2023-09-29 05:18:58,718: WARNING/ForkPoolWorker-8] Provider is OpenAI superagi-celery-1 | [2023-09-29 05:18:58,721: WARNING/ForkPoolWorker-8] [ThinkingTool(name='ThinkingTool', description='Intelligent problem-solving assistant that comprehends tasks, identifies key variables, and makes efficient decisions, all while providing detailed, self-driven reasoning for its choices. Do not assume anything, take the details from given data only.', args_schema=<class 'superagi.tools.thinking.tools.ThinkingSchema'>, permission_required=False, toolkit_config=<superagi.tools.base_tool.BaseToolkitConfiguration object at 0xffff62ff1f00>, llm=<superagi.llms.openai.OpenAi object at 0xffff62ff3430>, goals=['Create a day planner template', 'Send it to backgroundscripts@gmail.com'], agent_execution_id=13, tool_response_manager=<superagi.tools.tool_response_query_manager.ToolResponseQueryManager object at 0xffff62ff38b0>), ReadEmailTool(name='Read Email', description='Read emails from an IMAP mailbox', args_schema=<class 'superagi.tools.email.read_email.ReadEmailInput'>, permission_required=True, toolkit_config=<superagi.agent.tool_builder.DBToolkitConfiguration object at 0xffff62ff3fa0>), SendEmailAttachmentTool(name='Send Email with Attachment', description='Send an Email with a file attached to it', args_schema=<class 'superagi.tools.email.send_email_attachment.SendEmailAttachmentInput'>, permission_required=True, toolkit_config=<superagi.agent.tool_builder.DBToolkitConfiguration object at 0xffff62ff3a60>, agent_id=9, agent_execution_id=13), SendEmailTool(name='Send Email', description='Send an Email', args_schema=<class 'superagi.tools.email.send_email.SendEmailInput'>, permission_required=True, toolkit_config=<superagi.agent.tool_builder.DBToolkitConfiguration object at 0xffff62ff2b90>)] superagi-celery-1 | [2023-09-29 05:18:58,727: WARNING/ForkPoolWorker-8] tokens superagi-celery-1 | [2023-09-29 05:18:58,727: WARNING/ForkPoolWorker-8] superagi-celery-1 | [2023-09-29 05:18:58,727: WARNING/ForkPoolWorker-8] 1175 superagi-celery-1 | [2023-09-29 05:18:58,728: WARNING/ForkPoolWorker-8] tokens superagi-celery-1 | [2023-09-29 05:18:58,728: WARNING/ForkPoolWorker-8] superagi-celery-1 | [2023-09-29 05:18:58,728: WARNING/ForkPoolWorker-8] 201 superagi-celery-1 | [2023-09-29 05:18:58,728: WARNING/ForkPoolWorker-8] tokens superagi-celery-1 | [2023-09-29 05:18:58,728: WARNING/ForkPoolWorker-8] superagi-celery-1 | [2023-09-29 05:18:58,728: WARNING/ForkPoolWorker-8] 265 superagi-celery-1 | [2023-09-29 05:18:58,728: WARNING/ForkPoolWorker-8] tokens superagi-celery-1 | [2023-09-29 05:18:58,728: WARNING/ForkPoolWorker-8] superagi-celery-1 | [2023-09-29 05:18:58,728: WARNING/ForkPoolWorker-8] 156 superagi-celery-1 | [2023-09-29 05:18:58,728: WARNING/ForkPoolWorker-8] tokens superagi-celery-1 | [2023-09-29 05:18:58,728: WARNING/ForkPoolWorker-8] superagi-celery-1 | [2023-09-29 05:18:58,728: WARNING/ForkPoolWorker-8] 283 superagi-celery-1 | [2023-09-29 05:18:58,728: WARNING/ForkPoolWorker-8] tokens superagi-celery-1 | [2023-09-29 05:18:58,728: WARNING/ForkPoolWorker-8] superagi-celery-1 | [2023-09-29 05:18:58,729: WARNING/ForkPoolWorker-8] 39 superagi-celery-1 | [2023-09-29 05:18:58,729: WARNING/ForkPoolWorker-8] tokens superagi-celery-1 | [2023-09-29 05:18:58,729: WARNING/ForkPoolWorker-8] superagi-celery-1 | [2023-09-29 05:18:58,729: WARNING/ForkPoolWorker-8] 154 superagi-celery-1 | [2023-09-29 05:18:58,729: WARNING/ForkPoolWorker-8] tokens superagi-celery-1 | [2023-09-29 05:18:58,729: WARNING/ForkPoolWorker-8] superagi-celery-1 | [2023-09-29 05:18:58,729: WARNING/ForkPoolWorker-8] 39 superagi-celery-1 | [2023-09-29 05:18:58,729: WARNING/ForkPoolWorker-8] tokens superagi-celery-1 | [2023-09-29 05:18:58,729: WARNING/ForkPoolWorker-8] superagi-celery-1 | [2023-09-29 05:18:58,729: WARNING/ForkPoolWorker-8] 154 superagi-celery-1 | 2023-09-29 05:18:58 UTC - Super AGI - DEBUG - [/app/superagi/agent/agent_iteration_step_handler.py:72] - Prompt messages: superagi-celery-1 | [2023-09-29 05:18:58,729: DEBUG/ForkPoolWorker-8] Prompt messages: superagi-celery-1 | 2023-09-29 05:18:58 UTC - Super AGI - DEBUG - [/app/superagi/agent/agent_iteration_step_handler.py:72] - [{'role': 'system', 'content': 'You are SuperAGI an AI assistant to solve complex problems. Your decisions must always be made independently without seeking user assistance.\nPlay to your strengths as an LLM and pursue simple strategies with no legal complications.\nIf you have completed all your tasks or reached end state, make sure to use the "finish" tool.\n\nGOALS:\n1. Create a day planner template\n2. Send it to backgroundscripts@gmail.com\n\n\n\n\nCONSTRAINTS:\n1. If you are unsure how you previously did something or want to recall past events, thinking about similar events will help you remember.\n2. Ensure the tool and args are as per current plan and reasoning\n3. Exclusively use the tools listed under "TOOLS"\n4. REMEMBER to format your response as JSON, using double quotes ("") around keys and string values, and commas (,) to separate items in arrays and objects. IMPORTANTLY, to use a JSON object as a string in another JSON object, you need to escape the double quotes.\n\n\nTOOLS:\n1. "ThinkingTool": Intelligent problem-solving assistant that comprehends tasks, identifies key variables, and makes efficient decisions, all while providing detailed, self-driven reasoning for its choices. Do not assume anything, take the details from given data only., args json schema: {"task_description": {"title": "Task Description", "description": "Task description which needs reasoning.", "type": "string"}}\n2. "Read Email": Read emails from an IMAP mailbox, args json schema: {"imap_folder": {"title": "Imap Folder", "description": "Email folder to read from. default value is \"INBOX\"", "type": "string"}, "page": {"title": "Page", "description": "The index of the page result the function should resturn. Defaults to 0, the first page.", "type": "integer"}, "limit": {"title": "Limit", "description": "Number of emails to fetch in one cycle. Defaults to 5.", "type": "integer"}}\n3. "Send Email with Attachment": Send an Email with a file attached to it, args json schema: {"to": {"title": "To", "description": "Email Address of the Receiver, default email address is 'example@example.com'", "type": "string"}, "subject": {"title": "Subject", "description": "Subject of the Email to be sent", "type": "string"}, "body": {"title": "Body", "description": "Email Body to be sent, Do not add senders details in the email body and end it with Warm Regards without entering any name.", "type": "string"}, "filename": {"title": "Filename", "description": "Name of the file to be sent as an Attachment with Email", "type": "string"}}\n4. "Send Email": Send an Email, args json schema: {"to": {"title": "To", "description": "Email Address of the Receiver, default email address is 'example@example.com'", "type": "string"}, "subject": {"title": "Subject", "description": "Subject of the Email to be sent", "type": "string"}, "body": {"title": "Body", "description": "Email Body to be sent. Escape special characters in the body. Do not add senders details and end it with Warm Regards without entering any name.", "type": "string"}}\n5. "finish": use this to signal that you have finished all your objectives, args: "response": "final response to let people know you have finished your objectives"\n\n\n\nPERFORMANCE EVALUATION:\n1. Continuously review and analyze your actions to ensure you are performing to the best of your abilities.\n2. Use instruction to decide the flow of execution and decide the next steps for achieving the task.\n3. Constructively self-criticize your big-picture behavior constantly.\n4. Reflect on past decisions and strategies to refine your approach.\n5. Every tool has a cost, so be smart and efficient.\n\nRespond with only valid JSON conforming to the following schema:\n{\n "$schema": "http://json-schema.org/draft-07/schema#",\n "type": "object",\n "properties": {\n "thoughts": {\n "type": "object",\n "properties": {\n "text": {\n "type": "string",\n "description": "thought"\n },\n "reasoning": {\n "type": "string",\n "description": "short reasoning"\n },\n "plan": {\n "type": "string",\n "description": "- short bulleted\n- list that conveys\n- long-term plan"\n },\n "criticism": {\n "type": "string",\n "description": "constructive self-criticism"\n },\n "speak": {\n "type": "string",\n "description": "thoughts summary to say to user"\n }\n },\n "required": ["text", "reasoning", "plan", "criticism", "speak"],\n "additionalProperties": false\n },\n "tool": {\n "type": "object",\n "properties": {\n "name": {\n "type": "string",\n "description": "tool name"\n },\n "args": {\n "type": "object",\n "description": "tool arguments"\n }\n },\n "required": ["name", "args"],\n "additionalProperties": false\n }\n },\n "required": ["thoughts", "tool"],\n "additionalProperties": false\n}'}, {'role': 'system', 'content': 'The current time and date is Fri Sep 29 05:18:58 2023'}, {'role': 'assistant', 'content': '{\n "thoughts": {\n "text": "I need to create a day planner template and send it to backgroundscripts@gmail.com.",\n "reasoning": "Creating a day planner template is the first step in achieving my goal.",\n "plan": "- Create a day planner template\n- Send it to backgroundscripts@gmail.com",\n "criticism": "I should prioritize creating the day planner template before sending it.",\n "speak": "I will first create a day planner template and then send it to the specified email address."\n },\n "tool": {\n "name": "ThinkingTool",\n "args": {\n "task_description": "Create a day planner template"\n }\n }\n}'}, {'role': 'system', 'content': "Tool ThinkingTool returned: Error generating text: Error parsing vector similarity query: query vector blob size (6144) does not match index's expected size (4)."}, {'role': 'assistant', 'content': '{\n "thoughts": {\n "text": "I need to create a day planner template and send it to backgroundscripts@gmail.com.",\n "reasoning": "Creating a day planner template is the first step in achieving my goal.",\n "plan": "- Create a day planner template\n- Send it to backgroundscripts@gmail.com",\n "criticism": "I should prioritize creating the day planner template before sending it.",\n "speak": "I will first create a day planner template and then send it to the specified email address."\n },\n "tool": {\n "name": "ThinkingTool",\n "args": {\n "task_description": "Create a day planner template"\n }\n }\n}'}, {'role': 'system', 'content': "Tool ThinkingTool returned: Error generating text: Error parsing vector similarity query: query vector blob size (6144) does not match index's expected size (4)."}, {'role': 'assistant', 'content': '{\n "thoughts": {\n "text": "I will create a day planner template manually and send it to backgroundscripts@gmail.com.",\n "reasoning": "Since the ThinkingTool is not working, I have to create the day planner template manually.",\n "plan": "- Create a day planner template manually\n- Send it to backgroundscripts@gmail.com",\n "criticism": "I need to ensure the day planner template is well-structured and easy to use.",\n "speak": "I will create a day planner template manually and then send it to the specified email address."\n },\n "tool": {\n "name": "Send Email with Attachment",\n "args": {\n "to": "backgroundscripts@gmail.com",\n "subject": "Day Planner Template",\n "body": "Here's a simple day planner template for your use.\\n\\nMorning:\\n- Task 1\\n- Task 2\\n\\nAfternoon:\\n- Task 1\\n- Task 2\\n\\nEvening:\\n- Task 1\\n- Task 2\\n\\nNight:\\n- Task 1\\n- Task 2\\n\\nWarm Regards,\\nSuperAGI",\n "filename": "day_planner_template.txt"\n }\n }\n}'}, {'role': 'system', 'content': 'Tool Send Email with Attachment returned: Error1: File 'day_planner_template.txt' not found., FileNotFoundError, args: {'to': 'backgroundscripts@gmail.com', 'subject': 'Day Planner Template', 'body': "Here's a simple day planner template for your use.\\n\\nMorning:\\n- Task 1\\n- Task 2\\n\\nAfternoon:\\n- Task 1\\n- Task 2\\n\\nEvening:\\n- Task 1\\n- Task 2\\n\\nNight:\\n- Task 1\\n- Task 2\\n\\nWarm Regards,\\nSuperAGI", 'filename': 'day_planner_template.txt'}'}, {'role': 'assistant', 'content': '{\n "thoughts": {\n "text": "I need to send the day planner template in the email body instead of as an attachment.",\n "reasoning": "Since I cannot create and attach a file, I will send the day planner template in the email body.",\n "plan": "- Send the day planner template in the email body",\n "criticism": "I should ensure the day planner template is well-formatted in the email body.",\n "speak": "I will send the day planner template in the email body to the specified email address."\n },\n "tool": {\n "name": "Send Email",\n "args": {\n "to": "backgroundscripts@gmail.com",\n "subject": "Day Planner Template",\n "body": "Here's a simple day planner template for your use.\\n\\nMorning:\\n- Task 1\\n- Task 2\\n\\nAfternoon:\\n- Task 1\\n- Task 2\\n\\nEvening:\\n- Task 1\\n- Task 2\\n\\nNight:\\n- Task 1\\n- Task 2\\n\\nWarm Regards\\nSuperAGI"\n }\n }\n}'}, {'role': 'system', 'content': 'Tool Send Email returned: Error1: (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials c5-20020aa781c5000000b0068883728c16sm14666273pfn.144 - gsmtp'), SMTPAuthenticationError, args: {'to': 'backgroundscripts@gmail.com', 'subject': 'Day Planner Template', 'body': "Here's a simple day planner template for your use.\\n\\nMorning:\\n- Task 1\\n- Task 2\\n\\nAfternoon:\\n- Task 1\\n- Task 2\\n\\nEvening:\\n- Task 1\\n- Task 2\\n\\nNight:\\n- Task 1\\n- Task 2\\n\\nWarm Regards\\nSuperAGI"}'}, {'role': 'user', 'content': 'Determine which next tool to use, and respond using the format specified above:'}] superagi-celery-1 | [2023-09-29 05:18:58,729: DEBUG/ForkPoolWorker-8] [{'role': 'system', 'content': 'You are SuperAGI an AI assistant to solve complex problems. Your decisions must always be made independently without seeking user assistance.\nPlay to your strengths as an LLM and pursue simple strategies with no legal complications.\nIf you have completed all your tasks or reached end state, make sure to use the "finish" tool.\n\nGOALS:\n1. Create a day planner template\n2. Send it to backgroundscripts@gmail.com\n\n\n\n\nCONSTRAINTS:\n1. If you are unsure how you previously did something or want to recall past events, thinking about similar events will help you remember.\n2. Ensure the tool and args are as per current plan and reasoning\n3. Exclusively use the tools listed under "TOOLS"\n4. REMEMBER to format your response as JSON, using double quotes ("") around keys and string values, and commas (,) to separate items in arrays and objects. IMPORTANTLY, to use a JSON object as a string in another JSON object, you need to escape the double quotes.\n\n\nTOOLS:\n1. "ThinkingTool": Intelligent problem-solving assistant that comprehends tasks, identifies key variables, and makes efficient decisions, all while providing detailed, self-driven reasoning for its choices. Do not assume anything, take the details from given data only., args json schema: {"task_description": {"title": "Task Description", "description": "Task description which needs reasoning.", "type": "string"}}\n2. "Read Email": Read emails from an IMAP mailbox, args json schema: {"imap_folder": {"title": "Imap Folder", "description": "Email folder to read from. default value is \"INBOX\"", "type": "string"}, "page": {"title": "Page", "description": "The index of the page result the function should resturn. Defaults to 0, the first page.", "type": "integer"}, "limit": {"title": "Limit", "description": "Number of emails to fetch in one cycle. Defaults to 5.", "type": "integer"}}\n3. "Send Email with Attachment": Send an Email with a file attached to it, args json schema: {"to": {"title": "To", "description": "Email Address of the Receiver, default email address is 'example@example.com'", "type": "string"}, "subject": {"title": "Subject", "description": "Subject of the Email to be sent", "type": "string"}, "body": {"title": "Body", "description": "Email Body to be sent, Do not add senders details in the email body and end it with Warm Regards without entering any name.", "type": "string"}, "filename": {"title": "Filename", "description": "Name of the file to be sent as an Attachment with Email", "type": "string"}}\n4. "Send Email": Send an Email, args json schema: {"to": {"title": "To", "description": "Email Address of the Receiver, default email address is 'example@example.com'", "type": "string"}, "subject": {"title": "Subject", "description": "Subject of the Email to be sent", "type": "string"}, "body": {"title": "Body", "description": "Email Body to be sent. Escape special characters in the body. Do not add senders details and end it with Warm Regards without entering any name.", "type": "string"}}\n5. "finish": use this to signal that you have finished all your objectives, args: "response": "final response to let people know you have finished your objectives"\n\n\n\nPERFORMANCE EVALUATION:\n1. Continuously review and analyze your actions to ensure you are performing to the best of your abilities.\n2. Use instruction to decide the flow of execution and decide the next steps for achieving the task.\n3. Constructively self-criticize your big-picture behavior constantly.\n4. Reflect on past decisions and strategies to refine your approach.\n5. Every tool has a cost, so be smart and efficient.\n\nRespond with only valid JSON conforming to the following schema:\n{\n "$schema": "http://json-schema.org/draft-07/schema#",\n "type": "object",\n "properties": {\n "thoughts": {\n "type": "object",\n "properties": {\n "text": {\n "type": "string",\n "description": "thought"\n },\n "reasoning": {\n "type": "string",\n "description": "short reasoning"\n },\n "plan": {\n "type": "string",\n "description": "- short bulleted\n- list that conveys\n- long-term plan"\n },\n "criticism": {\n "type": "string",\n "description": "constructive self-criticism"\n },\n "speak": {\n "type": "string",\n "description": "thoughts summary to say to user"\n }\n },\n "required": ["text", "reasoning", "plan", "criticism", "speak"],\n "additionalProperties": false\n },\n "tool": {\n "type": "object",\n "properties": {\n "name": {\n "type": "string",\n "description": "tool name"\n },\n "args": {\n "type": "object",\n "description": "tool arguments"\n }\n },\n "required": ["name", "args"],\n "additionalProperties": false\n }\n },\n "required": ["thoughts", "tool"],\n "additionalProperties": false\n}'}, {'role': 'system', 'content': 'The current time and date is Fri Sep 29 05:18:58 2023'}, {'role': 'assistant', 'content': '{\n "thoughts": {\n "text": "I need to create a day planner template and send it to backgroundscripts@gmail.com.",\n "reasoning": "Creating a day planner template is the first step in achieving my goal.",\n "plan": "- Create a day planner template\n- Send it to backgroundscripts@gmail.com",\n "criticism": "I should prioritize creating the day planner template before sending it.",\n "speak": "I will first create a day planner template and then send it to the specified email address."\n },\n "tool": {\n "name": "ThinkingTool",\n "args": {\n "task_description": "Create a day planner template"\n }\n }\n}'}, {'role': 'system', 'content': "Tool ThinkingTool returned: Error generating text: Error parsing vector similarity query: query vector blob size (6144) does not match index's expected size (4)."}, {'role': 'assistant', 'content': '{\n "thoughts": {\n "text": "I need to create a day planner template and send it to backgroundscripts@gmail.com.",\n "reasoning": "Creating a day planner template is the first step in achieving my goal.",\n "plan": "- Create a day planner template\n- Send it to backgroundscripts@gmail.com",\n "criticism": "I should prioritize creating the day planner template before sending it.",\n "speak": "I will first create a day planner template and then send it to the specified email address."\n },\n "tool": {\n "name": "ThinkingTool",\n "args": {\n "task_description": "Create a day planner template"\n }\n }\n}'}, {'role': 'system', 'content': "Tool ThinkingTool returned: Error generating text: Error parsing vector similarity query: query vector blob size (6144) does not match index's expected size (4)."}, {'role': 'assistant', 'content': '{\n "thoughts": {\n "text": "I will create a day planner template manually and send it to backgroundscripts@gmail.com.",\n "reasoning": "Since the ThinkingTool is not working, I have to create the day planner template manually.",\n "plan": "- Create a day planner template manually\n- Send it to backgroundscripts@gmail.com",\n "criticism": "I need to ensure the day planner template is well-structured and easy to use.",\n "speak": "I will create a day planner template manually and then send it to the specified email address."\n },\n "tool": {\n "name": "Send Email with Attachment",\n "args": {\n "to": "backgroundscripts@gmail.com",\n "subject": "Day Planner Template",\n "body": "Here's a simple day planner template for your use.\\n\\nMorning:\\n- Task 1\\n- Task 2\\n\\nAfternoon:\\n- Task 1\\n- Task 2\\n\\nEvening:\\n- Task 1\\n- Task 2\\n\\nNight:\\n- Task 1\\n- Task 2\\n\\nWarm Regards,\\nSuperAGI",\n "filename": "day_planner_template.txt"\n }\n }\n}'}, {'role': 'system', 'content': 'Tool Send Email with Attachment returned: Error1: File 'day_planner_template.txt' not found., FileNotFoundError, args: {'to': 'backgroundscripts@gmail.com', 'subject': 'Day Planner Template', 'body': "Here's a simple day planner template for your use.\\n\\nMorning:\\n- Task 1\\n- Task 2\\n\\nAfternoon:\\n- Task 1\\n- Task 2\\n\\nEvening:\\n- Task 1\\n- Task 2\\n\\nNight:\\n- Task 1\\n- Task 2\\n\\nWarm Regards,\\nSuperAGI", 'filename': 'day_planner_template.txt'}'}, {'role': 'assistant', 'content': '{\n "thoughts": {\n "text": "I need to send the day planner template in the email body instead of as an attachment.",\n "reasoning": "Since I cannot create and attach a file, I will send the day planner template in the email body.",\n "plan": "- Send the day planner template in the email body",\n "criticism": "I should ensure the day planner template is well-formatted in the email body.",\n "speak": "I will send the day planner template in the email body to the specified email address."\n },\n "tool": {\n "name": "Send Email",\n "args": {\n "to": "backgroundscripts@gmail.com",\n "subject": "Day Planner Template",\n "body": "Here's a simple day planner template for your use.\\n\\nMorning:\\n- Task 1\\n- Task 2\\n\\nAfternoon:\\n- Task 1\\n- Task 2\\n\\nEvening:\\n- Task 1\\n- Task 2\\n\\nNight:\\n- Task 1\\n- Task 2\\n\\nWarm Regards\\nSuperAGI"\n }\n }\n}'}, {'role': 'system', 'content': 'Tool Send Email returned: Error1: (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials c5-20020aa781c5000000b0068883728c16sm14666273pfn.144 - gsmtp'), SMTPAuthenticationError, args: {'to': 'backgroundscripts@gmail.com', 'subject': 'Day Planner Template', 'body': "Here's a simple day planner template for your use.\\n\\nMorning:\\n- Task 1\\n- Task 2\\n\\nAfternoon:\\n- Task 1\\n- Task 2\\n\\nEvening:\\n- Task 1\\n- Task 2\\n\\nNight:\\n- Task 1\\n- Task 2\\n\\nWarm Regards\\nSuperAGI"}'}, {'role': 'user', 'content': 'Determine which next tool to use, and respond using the format specified above:'}] superagi-celery-1 | [2023-09-29 05:18:58,731: WARNING/ForkPoolWorker-8] tokens superagi-celery-1 | [2023-09-29 05:18:58,731: WARNING/ForkPoolWorker-8] superagi-celery-1 | [2023-09-29 05:18:58,731: WARNING/ForkPoolWorker-8] 2461 superagi-backend-1 | INFO: 172.19.0.7:46176 - "GET /agentexecutionfeeds/get/execution/13 HTTP/1.0" 200 OK superagi-proxy-1 | 172.19.0.1 - - [29/Sep/2023:05:19:01 +0000] "GET /api/agentexecutionfeeds/get/execution/13 HTTP/1.1" 200 5217 "http://localhost:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0" "-" superagi-backend-1 | INFO: 172.19.0.7:44006 - "GET /agentexecutionfeeds/get/execution/13 HTTP/1.0" 200 OK superagi-proxy-1 | 172.19.0.1 - - [29/Sep/2023:05:19:06 +0000] "GET /api/agentexecutionfeeds/get/execution/13 HTTP/1.1" 200 5217 "http://localhost:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0" "-"

Appreciate you opening this issue. We'll work on replicating it and provide feedback accordingly. Thanks!

@dhnanjay Are you using the latest version ?

I am using the instructions from the github repo to install it using docker:
Download the repo using git clone https://github.com/TransformerOptimus/SuperAGI.git in your terminal or directly from github page in zip format.

Navigate to the directory using cd SuperAGI and create a copy of config_template.yaml, naming it config.yaml (take note of the file extension .yaml, not .yml).

Enter your LLM API Key or Auth token in config.yaml file.

Ensure that Docker is installed in your system, if not, Install it from [here](https://docs.docker.com/get-docker/).

Once you have Docker Desktop running, run the command: docker-compose up --build in the SuperAGI directory. Open your browser and navigate to http://localhost:3000 to access SuperAGI.

If you wish to change the port it's running on, open the docker-compose.yml file and update the proxy container port forwarding, for example: "3000:80"

@dhnanjay , As a workaround, I hardcoded the vector dimensions size to 6144 in superagi/vector_store/redis.py

Change the line where it says
vector_dimensions = self.embedding_model.get_embedding("sample")
to
vector_dimensions = 6144