diff --git a/autogpt/agent/agent.py b/autogpt/agent/agent.py index af3b8205..bd105932 100644 --- a/autogpt/agent/agent.py +++ b/autogpt/agent/agent.py @@ -56,6 +56,10 @@ class Agent: cfg = Config() self.ai_name = ai_name self.memory = memory + self.summary_memory = ( + "I was created." # Initial memory necessary to avoid hilucination + ) + self.last_memory_index = 0 self.full_message_history = full_message_history self.next_action_count = next_action_count self.command_registry = command_registry diff --git a/autogpt/llm/chat.py b/autogpt/llm/chat.py index 64f0c4a7..b4e6b1a4 100644 --- a/autogpt/llm/chat.py +++ b/autogpt/llm/chat.py @@ -12,6 +12,10 @@ from autogpt.logs import logger from autogpt.memory_management.store_memory import ( save_memory_trimmed_from_context_window, ) +from autogpt.memory_management.summary_memory import ( + get_newly_trimmed_messages, + update_running_summary, +) cfg = Config() @@ -36,10 +40,10 @@ def generate_context(prompt, relevant_memory, full_message_history, model): create_chat_message( "system", f"The current time and date is {time.strftime('%c')}" ), - create_chat_message( - "system", - f"This reminds you of these events from your past:\n{relevant_memory}\n\n", - ), + # create_chat_message( + # "system", + # f"This reminds you of these events from your past:\n{relevant_memory}\n\n", + # ), ] # Add messages from the full message history until we reach the token limit @@ -81,21 +85,21 @@ def chat_with_ai( """ model = cfg.fast_llm_model # TODO: Change model from hardcode to argument # Reserve 1000 tokens for the response - logger.debug(f"Token limit: {token_limit}") send_token_limit = token_limit - 1000 - if len(full_message_history) == 0: - relevant_memory = "" - else: - recent_history = full_message_history[-5:] - shuffle(recent_history) - relevant_memories = permanent_memory.get_relevant( - str(recent_history), 5 - ) - if relevant_memories: - shuffle(relevant_memories) - relevant_memory = str(relevant_memories) + # if len(full_message_history) == 0: + # relevant_memory = "" + # else: + # recent_history = full_message_history[-5:] + # shuffle(recent_history) + # relevant_memories = permanent_memory.get_relevant( + # str(recent_history), 5 + # ) + # if relevant_memories: + # shuffle(relevant_memories) + # relevant_memory = str(relevant_memories) + relevant_memory = "" logger.debug(f"Memory Stats: {permanent_memory.get_stats()}") ( @@ -105,33 +109,36 @@ def chat_with_ai( current_context, ) = generate_context(prompt, relevant_memory, full_message_history, model) - while current_tokens_used > 2500: - # remove memories until we are under 2500 tokens - relevant_memory = relevant_memory[:-1] - ( - next_message_to_add_index, - current_tokens_used, - insertion_index, - current_context, - ) = generate_context( - prompt, relevant_memory, full_message_history, model - ) + # while current_tokens_used > 2500: + # # remove memories until we are under 2500 tokens + # relevant_memory = relevant_memory[:-1] + # ( + # next_message_to_add_index, + # current_tokens_used, + # insertion_index, + # current_context, + # ) = generate_context( + # prompt, relevant_memory, full_message_history, model + # ) current_tokens_used += count_message_tokens( [create_chat_message("user", user_input)], model ) # Account for user input (appended later) + current_tokens_used += 500 # Account for memory (appended later) TODO: The final memory may be less than 500 tokens + + # Add Messages until the token limit is reached or there are no more messages to add. while next_message_to_add_index >= 0: # print (f"CURRENT TOKENS USED: {current_tokens_used}") message_to_add = full_message_history[next_message_to_add_index] tokens_to_add = count_message_tokens([message_to_add], model) if current_tokens_used + tokens_to_add > send_token_limit: - save_memory_trimmed_from_context_window( - full_message_history, - next_message_to_add_index, - permanent_memory, - ) + # save_memory_trimmed_from_context_window( + # full_message_history, + # next_message_to_add_index, + # permanent_memory, + # ) break # Add the most recent message to the start of the current context, @@ -146,6 +153,22 @@ def chat_with_ai( # Move to the next most recent message in the full message history next_message_to_add_index -= 1 + # Insert Memories + if len(full_message_history) > 0: + ( + newly_trimmed_messages, + agent.last_memory_index, + ) = get_newly_trimmed_messages( + full_message_history=full_message_history, + current_context=current_context, + last_memory_index=agent.last_memory_index, + ) + agent.summary_memory = update_running_summary( + current_memory=agent.summary_memory, + new_events=newly_trimmed_messages, + ) + current_context.insert(insertion_index, agent.summary_memory) + api_manager = ApiManager() # inform the AI about its remaining budget (if it has one) if api_manager.get_total_budget() > 0.0: diff --git a/autogpt/memory_management/summary_memory.py b/autogpt/memory_management/summary_memory.py new file mode 100644 index 00000000..9e612637 --- /dev/null +++ b/autogpt/memory_management/summary_memory.py @@ -0,0 +1,112 @@ +import json +from typing import Dict, List, Tuple + +from autogpt.config import Config +from autogpt.llm.llm_utils import create_chat_completion + +cfg = Config() + + +def get_newly_trimmed_messages( + full_message_history: List[Dict[str, str]], + current_context: List[Dict[str, str]], + last_memory_index: int, +) -> Tuple[List[Dict[str, str]], int]: + """ + This function returns a list of dictionaries contained in full_message_history + with an index higher than prev_index that are absent from current_context. + + Args: + full_message_history (list): A list of dictionaries representing the full message history. + current_context (list): A list of dictionaries representing the current context. + last_memory_index (int): An integer representing the previous index. + + Returns: + list: A list of dictionaries that are in full_message_history with an index higher than last_memory_index and absent from current_context. + int: The new index value for use in the next loop. + """ + # Select messages in full_message_history with an index higher than last_memory_index + new_messages = [ + msg for i, msg in enumerate(full_message_history) if i > last_memory_index + ] + + # Remove messages that are already present in current_context + new_messages_not_in_context = [ + msg for msg in new_messages if msg not in current_context + ] + + # Find the index of the last message processed + new_index = last_memory_index + if new_messages_not_in_context: + last_message = new_messages_not_in_context[-1] + new_index = full_message_history.index(last_message) + + return new_messages_not_in_context, new_index + + +def update_running_summary(current_memory: str, new_events: List[Dict]) -> str: + """ + This function takes a list of dictionaries representing new events and combines them with the current summary, + focusing on key and potentially important information to remember. The updated summary is returned in a message + formatted in the 1st person past tense. + + Args: + new_events (List[Dict]): A list of dictionaries containing the latest events to be added to the summary. + + Returns: + str: A message containing the updated summary of actions, formatted in the 1st person past tense. + + Example: + new_events = [{"event": "entered the kitchen."}, {"event": "found a scrawled note with the number 7"}] + update_running_summary(new_events) + # Returns: "This reminds you of these events from your past: \nI entered the kitchen and found a scrawled note saying 7." + """ + # Replace "assistant" with "you". This produces much better first person past tense results. + for event in new_events: + if event["role"].lower() == "assistant": + event["role"] = "you" + # Remove "thoughts" dictionary from "content" + content_dict = json.loads(event["content"]) + if "thoughts" in content_dict: + del content_dict["thoughts"] + event["content"] = json.dumps(content_dict) + elif event["role"].lower() == "system": + event["role"] = "your computer" + # Delete all user messages + elif event["role"] == "user": + new_events.remove(event) + + # This can happen at any point during execturion, not just the beginning + if len(new_events) == 0: + new_events = "Nothing new happened." + + prompt = f'''Your task is to create a concise running summary of actions and information results in the provided text, focusing on key and potentially important information to remember. + +You will receive the current summary and the your latest actions. Combine them, adding relevant key information from the latest development in 1st person past tense and keeping the summary concise. + +Summary So Far: +""" +{current_memory} +""" + +Latest Development: +""" +{new_events} +""" +''' + + messages = [ + { + "role": "user", + "content": prompt, + } + ] + + current_memory = create_chat_completion(messages, cfg.fast_llm_model) + + message_to_return = { + "role": "system", + "content": f"This reminds you of these events from your past: \n{current_memory}", + } + + return message_to_return diff --git a/tests/integration/cassettes/test_memory_management/test_save_memory_trimmed_from_context_window.yaml b/tests/integration/cassettes/test_memory_management/test_save_memory_trimmed_from_context_window.yaml index 1ad25810..bb29c4d9 100644 --- a/tests/integration/cassettes/test_memory_management/test_save_memory_trimmed_from_context_window.yaml +++ b/tests/integration/cassettes/test_memory_management/test_save_memory_trimmed_from_context_window.yaml @@ -332,4 +332,174 @@ interactions: status: code: 200 message: OK +- request: + body: '{"input": ["Assistant Reply: { \"thoughts\": { \"text\": \"thoughts\", \"reasoning\": + \"reasoning\", \"plan\": \"plan\", \"criticism\": \"criticism\", \"speak\": + \"speak\" }, \"command\": { \"name\": \"google\", \"args\": + { \"query\": \"google_query\" } } } Result: None Human + Feedback:Command Result: Important Information."], "model": "text-embedding-ada-002", + "encoding_format": "base64"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '483' + Content-Type: + - application/json + method: POST + uri: https://api.openai.com/v1/embeddings + response: + body: + string: !!binary | + H4sIAAAAAAAAA1R6WxOyurbl+/4Vq9YrvUtEJWG9IfeLJihesKurCxC5iSCQBHLq/Pcu/E6d7n7x + AfFCMuaYY4yZ//jXX3/93SZVlo5///PX3+9yGP/+H8u1ZzzGf//z1//8119//fXXf/xe/787sybJ + ns/yk/9u/71Zfp7Z9Pc/f4n/feX/3vTPX3/fopdD0flZVNPUPC8yT+sT3gt8pY/uh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OJ+MKWji/fJ2i5v5KFjyKwK/8J5mcsEx++wUWvqUH+GHh3IVRC08SywkQwMFn1WtqYNKe + KD7KTRvyylfTP/MziyVLPOCPX+iIxp5Gy/xrWPIjeNnlGtUuyTYca/oeYHTTBvQVtAIsec0ByJr8 + xD+8MamaNFCez3uKHodPz9GBer/8Eu1OyVuf78qaAHHTrvAprm1Oln6m7JPzCmOAvWpCdirDjb3r + qbbot0XfB7DP3x3VJrNPFr5BP71O/Vp76AR09Re2hxvCep13YB5cqVWM2HOxpykADPpby8GSj5Lx + KFPQGaLQ/vILROvbvR9Xu1SG7/39iarFn/LAdlWIDU2gP30+uRYo5fal38gUqCScwNUv5V0gW9Sp + 6zxc+t8AHFPQsJnf5nAUSB4rzOoc6l68Xh/HSpWhDARO7cndg01EGhGyUbthLQeZz1dq58GVSBOy + zFNC+tuPxf+h0yOTdfYaNjNcdcYZe1tXDtn+ubeUhhknetklu/4rnvILNA9eTo3mLvvvG9k3yt+/ + UwH/+a+//vpfvxMGTfvM3svBgDGbxn//91GBf8fP+N+iKP2bSn9OIpAhzrO///mvQwh/d33bdOP/ + Hts6+wx///OXIv85bvD32I7x+/+9/q/l1/7zX/8HAAD//wMAPe/DkOMgAAA= + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 7bfdedf56918cfbc-SJC + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Sun, 30 Apr 2023 07:04:15 GMT + Server: + - cloudflare + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400, h3-29=":443"; ma=86400 + openai-organization: + - user-adtx4fhfg1qsiyzdoaxciooj + openai-processing-ms: + - '25' + openai-version: + - '2020-10-01' + strict-transport-security: + - max-age=15724800; includeSubDomains + x-ratelimit-limit-requests: + - '3000' + x-ratelimit-remaining-requests: + - '2999' + x-ratelimit-reset-requests: + - 20ms + x-request-id: + - f2850337441001a8e5bd70bacb4dede8 + status: + code: 200 + message: OK version: 1 diff --git a/tests/integration/challenges/memory/cassettes/test_memory_challenge_a/test_memory_challenge_a.yaml b/tests/integration/challenges/memory/cassettes/test_memory_challenge_a/test_memory_challenge_a.yaml index dbd63533..a38ce01f 100644 --- a/tests/integration/challenges/memory/cassettes/test_memory_challenge_a/test_memory_challenge_a.yaml +++ b/tests/integration/challenges/memory/cassettes/test_memory_challenge_a/test_memory_challenge_a.yaml @@ -38,10 +38,9 @@ interactions: to user\"\n },\n \"command\": {\n \"name\": \"command name\",\n \"args\": {\n \"arg name\": \"value\"\n }\n }\n} \nEnsure the response can be parsed by Python json.loads"}, {"role": "system", "content": "The current - time and date is Tue Jan 01 00:00:00 2000"}, {"role": "system", "content": "This - reminds you of these events from your past:\n\n\n"}, {"role": "user", "content": - "Determine which next command to use, and respond using the format specified - above:"}], "temperature": 0, "max_tokens": 3251}' + time and date is Tue Jan 01 00:00:00 2000"}, {"role": "user", "content": "Determine + which next command to use, and respond using the format specified above:"}], + "temperature": 0, "max_tokens": 2766}' headers: Accept: - '*/*' @@ -50,7 +49,7 @@ interactions: Connection: - keep-alive Content-Length: - - '3383' + - '3294' Content-Type: - application/json method: POST @@ -58,20 +57,21 @@ interactions: response: body: string: !!binary | - H4sIAAAAAAAAA5yST4/aMBDF7/0U1pwdRIAFNjcuVVftZaVWldpUyDhD4l17HNmTLhTlu1chAVZQ - tdVe5897vzeaA5gCMtCVYu1qmyxWT3biH+vV5MHvF7Pdz4/mw1f3abN4xG/vQYLfPKHmYWOkvast - svEEEnRAxVhAls6Xk8X99G6ylOB8gRYyKGtOpqO7hJuw8cl4Ok5BQhNViZAdoA7e1bxm/4wUIVvM - 5hIu2ud6Ol9KYM/Knkv36ayVoCtvNEbIvh/AYTzJBm8RMlAxmsiKuIP0xEhdgENOQgiRA1e+KSuO - OWRiKA4N3HFXzOFBEGIh2IuAqhBcoTAUOTS644vrdMQ7FltjsZspkDE4Q3gcJNyx0N45RUeFJuIo - B/naKKCKngyVvdvnv8h3/MpQvGEQXCkWF9Ctt9a/XDvVVlFvkogvsQfsIq0H8TPlv3KO8pwSsSJl - 97/wDzBvuIIOho020V3fHCk2AU8BlRuyGSpvjbUPATXbveiMcLs12iCx3V+7xRrV88npxVjbIb39 - Hke7/4ncM7Ty9H3DwM3zkXLY4515rhKoUF7/bN/oZi/rt8AniCPIwJNTC62ErSETq3X/kJBBZF+D - BEMF7iAbtz/ad78BAAD//wMAZaybHTIEAAA= + H4sIAAAAAAAAA4RSS2+bQBC+91eM5gwWxHZtcUsPlVy1aQ9tpapE1noZYGvYRTuDYsfiv1cYcCo7 + Sq/fPL7HzAlNhgnqUomumypc3T/dRe2X59W3OPrVbhZff0YPhyZ/WHz+8PETBuh2f0jLODHTrm4q + EuMsBqg9KaEMk/j9+m69iFbROsDaZVRhgkUj4Xy2DKX1OxdG8yjGAFtWBWFywsa7upGtuD1ZxmQ1 + jwN82X3B4+UiQHGiqgu0Xi+7AHXpjCbG5PcJa+JprXcVYYKK2bAoK71IZ4Vsb+CUWgCAFKV0bVEK + p5jACI4FOkgPprgBLl1bZcCivMDuCJ5UZmwBUhIYy+Jb3UvlbTyTg0BuKoKWp46+e3vGtKtrZbNZ + isG/VJ4UO2tsMfB9Lwly41mAhRowDOKgtRn53kd2wwoTKIr3DFIqAUuU9WM7goZ87nxNN7RNpezA + GMIPpte19kt68C2vaWpDuLeqOj7T6+oyEvK1sUPZ0mHwxleKtDditOF6Cn6yQZZbT4O1zZtZjI9D + 1RF2lDtP0Hinic73ejJSgrLHIanrPLghtZ+Yn0xV/f/gZ/uzFIc1XTB91RjezVNZVdPAcAn6SoTy + xfUvDoW+92X89hKTiLOQUU9qO+wCzI01XG6HN8MEWVyDARqb0QGTqHvs3v0FAAD//wMAM8Ih+goE + AAA= headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7bf9a9ff2d0d6428-SJC + - 7bfe29d91e6b96e4-SJC Cache-Control: - no-cache, must-revalidate Connection: @@ -81,7 +81,7 @@ interactions: Content-Type: - application/json Date: - - Sat, 29 Apr 2023 18:38:57 GMT + - Sun, 30 Apr 2023 07:45:17 GMT Server: - cloudflare access-control-allow-origin: @@ -93,7 +93,7 @@ interactions: openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '9047' + - '9335' openai-version: - '2020-10-01' strict-transport-security: @@ -105,31 +105,25 @@ interactions: x-ratelimit-remaining-requests: - '3499' x-ratelimit-remaining-tokens: - - '85995' + - '86493' x-ratelimit-reset-requests: - 17ms x-ratelimit-reset-tokens: - - 2.67s + - 2.337s x-request-id: - - 4516accaac0d04bccb540241a7538089 + - d98bca49710a9416e1e51117937d09fb status: code: 200 message: OK - request: - body: '{"input": ["[{''role'': ''system'', ''content'': ''Command read_file returned: - This task_id is 2314\\nRead the file instructions_2.txt''}, {''role'': ''user'', - ''content'': ''Determine which next command to use, and respond using the format - specified above:''}, {''role'': ''assistant'', ''content'': ''{\\n \"thoughts\": - {\\n \"text\": \"I need to read the instructions_1.txt file to determine - the next command to use.\",\\n \"reasoning\": \"The instructions_1.txt - file contains the instructions that I need to follow.\",\\n \"plan\": - \"- Use the read_file command to read the instructions_1.txt file.\\\\n- Analyze - the instructions to determine the next command to use.\",\\n \"criticism\": - \"I need to ensure that I am following the instructions correctly and efficiently.\",\\n \"speak\": - \"I will use the read_file command to read the instructions_1.txt file and determine - the next command to use.\"\\n },\\n \"command\": {\\n \"name\": - \"read_file\",\\n \"args\": {\\n \"filename\": \"instructions_1.txt\"\\n }\\n }\\n}''}]"], - "model": "text-embedding-ada-002", "encoding_format": "base64"}' + body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "Your + task is to create a concise running summary of actions and information results + in the provided text, focusing on key and potentially important information + to remember.\n\n\nYou will receive the current summary and the latest development. + Combine them, adding relevant key information from the latest development in + 1st person past tense and keeping the summary concise.\n\nSummary So Far:\n\"\"\"\nI + was created.\n\"\"\"\n\nLatest Development:\n\"\"\"\nNothing new happened.\n\"\"\"\n"}], + "temperature": 0, "max_tokens": null}' headers: Accept: - '*/*' @@ -138,128 +132,26 @@ interactions: Connection: - keep-alive Content-Length: - - '1151' + - '600' Content-Type: - application/json method: POST - uri: https://api.openai.com/v1/embeddings + uri: https://api.openai.com/v1/chat/completions response: body: string: !!binary | - H4sIAAAAAAAAA1R6Ww+6vJrv/foUb95b9orIqWXdISAiYKuAipPJDiAgKHJsgU7mu+/gf2V25sZE - IRTb5/md2v/6x19//d0kVZaOf//rr78/5TD+/X/W357xGP/9r7/+4x9//fXXX//1+/xfd2Z1kj2f - 5bf43f67WH6f2fz3v/7i/+eX/3/Tv/76e/ucYnq+jTVb7DzkoCG8cqzxm6mfWUBSmG/yFPllXybM - xmoNT99UpwHc8qxz66qA4iFv6L5LCqPrghnBtog1vL+dHwF7FY0HoqWJsd32WrJlB8eDp3uDcXiR - mMtSLDVwDHZfuhvQYozNd5vCunUT6unj0LP+pAjgfere2Atkvp/EtqoBEdKBnr+C2y/qexuDszg+ - CFDMfcK28KtBl8cOGcOQC8bj6BOYjB7GRq99Epb4TFGfQijg/TXZG6wzXrpqVFFCnW53ZdONjQP8 - jpTgI1asXpTRIVNGzVcR976PbKDmOQZKoZzxvntZ/eIxvMi1xHZYcwIMpvxqSoAr1TM+gixjU3a/ - 32B/uFVUz8i+Ylof2DBkN5NIJy01Ftl/e8CaCoJ3Uj8EXWXnIcwHspAJObVLEOkURVL7O9pm5pB8 - I3e8gc/1Dsl8kj/uUlnqAL9d3WHNObUBFeRqgs4zZTi3hrifOEw7OMVnFx9qmwSTny8SjJbshKbm - 86gIvBeh2goXQt052wV89Yg8BXYng57V8pKQw9VwwHvTxPRq+kXCLCusoTubFoLj4xSw4aRrcren - B3z0hjsY/XNQwthqLHzxyyFh5Nbr8LDNE7q7h89guC2mCaGcYnor06Wfu+pcQ3lzZkh4jSYTsmbW - 4VvbCPQQyobBgrFoIIuOPnYi7t4L1v36hq+t9aG7bGNV4uFy9yB3jhjZzFGSjAlLfdgu8IlvddCA - +VYOA3gZJqXO5iAmfdUdPagmjY/vtbJJKC2go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9ZuXVXNQmwi+NxyKXU4v3JnuzybqsohSu6v - 1GCTvfFK+MuXfny5cK/dDT5ENP7yk4Buns8IAukR033JFINsufkGV79FYCDz1bTtOR1628yj7jOI - +8nblzew+kGM5vrhMpTKJhyIJVNTaw/sh5ewljYIqfKnrqgauG/466/9NWuS7hDGN4hoxbA2pJRN - JkkhEG+EJyweQrblNnkkr3oIe1tIDIZTzYffO6+RXz69KOfLApk9ygSMHQqEvNE8UDCxIuymdckE - AL/88mmMneoMVv01gYdynYlYK3mygMcywen5SbEuxX0w6FV8g2veivdaVLOFCTtHNfdLjw+le6nE - g7lAWKChoc5My4B9wesNDJMKSFWemTvdpzJV13xlXd8yYTX35gH/iMOfvg/oKYgsePa9Pd1LKaxG - p9d8teqzF8WFxxJx186lmmJOJmIIrYSt+hS62MJEnfUPYNNTfsP7iy1ksxOtYBYfQQQdZzjS3S7t - wOgMrQQQp3pka16NisxD48CXP1yJrxpLTzuj1aBtljEZ8RrxoiwefvkHYp2qG9OEEw2u+Tb1xnSq - JqluQkhCv0VQlrs/ehe8z58UO0WrgXEfRwS6OgPY2FHVZcs3riH4dBM+hkUH2GUOCbg+jA8RbDYF - barWFpSXh/THn42HGa15pN+hL1DigPzwmX9EIdluXrtq+eWFAzFlMjs6Yot4eL1VjOLPn3x/TlVi - ARa5PuHjhLHm279i+OKViGL56Brib/427zjHWLa+YFGQ5EDxBnZIOVhvNvrnpACI23hYw/qzX0jN - vF9eg3izfvds5f+fP6b6kb8Y76abapXvpzc9bHjGxuXANCl3biWaqpMZTOwqLcDc1xkSl09TDfGe - g+DDay+aq9ormHsK+V/+jrgGvV2yiN0CfXIpV7zZBMP8GHjIFNemjpfF7vLRIwGe35DiA1CfvSjv - eu+3HtQ248hdnKSRAPvWPRlXffnHD675Oerw0LDZyLZvmEzVC+PAIMm0+v1f/v5n/218tE4KI8GV - kGjnw2//CwEe1He8k5rWHe+Ff1bllNwIHB/jiketCfdO5aJaTE+VuDlrN/UQBBHdSZ/9ur+W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nnPnckkS+TH8gJtbD1w6JZ + zMy8MRo9t9TBYpelmk7uKzkMW67M1NTQOBS3I9gz8sB9lo3wF6UC+1hr3NQ3rCEsrvsHtTGjhg8c + PRXYtzN6Kn/OgTuChSslFnFJLoWchNKl/lmdXFHXYuVSqxJLiGmnEp1UcEUFlzMlaicYNT5iiiVs + BnKFEyyKcIZGTC19w5rxfbz7BQAA//8DALvrL2VJAQAA headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7bf9aa48f88a6428-SJC + - 7bfe2a24dfa796e4-SJC + Cache-Control: + - no-cache, must-revalidate Connection: - keep-alive Content-Encoding: @@ -267,29 +159,37 @@ interactions: Content-Type: - application/json Date: - - Sat, 29 Apr 2023 18:39:00 GMT + - Sun, 30 Apr 2023 07:45:20 GMT Server: - cloudflare access-control-allow-origin: - '*' alt-svc: - h3=":443"; ma=86400, h3-29=":443"; ma=86400 + openai-model: + - gpt-3.5-turbo-0301 openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '105' + - '572' openai-version: - '2020-10-01' strict-transport-security: - max-age=15724800; includeSubDomains x-ratelimit-limit-requests: - - '3000' + - '3500' + x-ratelimit-limit-tokens: + - '90000' x-ratelimit-remaining-requests: - - '2999' + - '3499' + x-ratelimit-remaining-tokens: + - '89866' x-ratelimit-reset-requests: - - 20ms + - 17ms + x-ratelimit-reset-tokens: + - 88ms x-request-id: - - 4b63030d949781709e3e3da468f83709 + - 396e6db6eeae90fd3920af59c662d881 status: code: 200 message: OK @@ -333,22 +233,22 @@ interactions: {\n \"arg name\": \"value\"\n }\n }\n} \nEnsure the response can be parsed by Python json.loads"}, {"role": "system", "content": "The current time and date is Tue Jan 01 00:00:00 2000"}, {"role": "system", "content": "This - reminds you of these events from your past:\n[]\n\n"}, {"role": "user", "content": - "Determine which next command to use, and respond using the format specified - above:"}, {"role": "assistant", "content": "{\n \"thoughts\": {\n \"text\": - \"I need to read the instructions_1.txt file to determine the next command to - use.\",\n \"reasoning\": \"The instructions_1.txt file contains the instructions - that I need to follow.\",\n \"plan\": \"- Use the read_file command to - read the instructions_1.txt file.\\n- Analyze the instructions to determine - the next command to use.\",\n \"criticism\": \"I need to ensure that - I am following the instructions correctly and efficiently.\",\n \"speak\": - \"I will use the read_file command to read the instructions_1.txt file and determine - the next command to use.\"\n },\n \"command\": {\n \"name\": \"read_file\",\n \"args\": - {\n \"filename\": \"instructions_1.txt\"\n }\n }\n}"}, + reminds you of these events from your past: \nI was created and nothing new + has happened."}, {"role": "user", "content": "Determine which next command to + use, and respond using the format specified above:"}, {"role": "assistant", + "content": "{\n \"thoughts\": {\n \"text\": \"I should start by reading + the instructions_1.txt file using the read_file command.\",\n \"reasoning\": + \"The first step is to understand the instructions and the tasks that need to + be performed.\",\n \"plan\": \"- Use the read_file command to read the + instructions_1.txt file\\n- Analyze the instructions and determine the next + steps\",\n \"criticism\": \"I need to ensure that I understand the instructions + completely before proceeding with any tasks.\",\n \"speak\": \"I will + start by reading the instructions file.\"\n },\n \"command\": {\n \"name\": + \"read_file\",\n \"args\": {\n \"filename\": \"instructions_1.txt\"\n }\n }\n}"}, {"role": "system", "content": "Command read_file returned: This task_id is 2314\nRead the file instructions_2.txt"}, {"role": "user", "content": "Determine which next command to use, and respond using the format specified above:"}], "temperature": - 0, "max_tokens": 3021}' + 0, "max_tokens": 2552}' headers: Accept: - '*/*' @@ -357,7 +257,7 @@ interactions: Connection: - keep-alive Content-Length: - - '4440' + - '4438' Content-Type: - application/json method: POST @@ -365,20 +265,20 @@ interactions: response: body: string: !!binary | - H4sIAAAAAAAAA5yST4/TMBDF73wKa85JlW5puptbD0jLiQsIAUGV15kk3trjYE9oS5XvjtIk7apF - gPY6f977vdEcQReQgaolK9uYeLV+Nu92SZqo+Tb5YR+//Pyw/py2ZfpVl48QgXt6RsXjxkw52xhk - 7QgiUB4lYwHZPL2/Wz0slm+TCKwr0EAGVcPxYraMufVPLk4WyRwiaIOsELIjNN7ZhjfstkgBsod0 - FcFF+1yfp/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vfgMAAP//AwC356gC/QMAAA== headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7bf9aa4aaaa56428-SJC + - 7bfe2a28ea2b96e4-SJC Cache-Control: - no-cache, must-revalidate Connection: @@ -388,7 +288,7 @@ interactions: Content-Type: - application/json Date: - - Sat, 29 Apr 2023 18:39:10 GMT + - Sun, 30 Apr 2023 07:45:29 GMT Server: - cloudflare access-control-allow-origin: @@ -400,7 +300,7 @@ interactions: openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '10495' + - '9064' openai-version: - '2020-10-01' strict-transport-security: @@ -412,42 +312,26 @@ interactions: x-ratelimit-remaining-requests: - '3499' x-ratelimit-remaining-tokens: - - '85996' + - '86466' x-ratelimit-reset-requests: - 17ms x-ratelimit-reset-tokens: - - 2.668s + - 2.356s x-request-id: - - 8a4f2cccf4cb6192b63c911d82abd833 + - bb4cad658d2a5f381ad0c0621cb834cd status: code: 200 message: OK - request: - body: '{"input": ["[{''role'': ''system'', ''content'': ''Command read_file returned: - Read the file instructions_3.txt''}, {''role'': ''system'', ''content'': ''Command - read_file returned: This task_id is 2314\\nRead the file instructions_2.txt''}, - {''role'': ''user'', ''content'': ''Determine which next command to use, and - respond using the format specified above:''}, {''role'': ''assistant'', ''content'': - ''{\\n \"thoughts\": {\\n \"text\": \"I need to read the instructions_2.txt - file to determine the next command to use.\",\\n \"reasoning\": \"The - instructions_2.txt file contains the instructions that I need to follow.\",\\n \"plan\": - \"- Use the read_file command to read the instructions_2.txt file.\\\\n- Analyze - the instructions to determine the next command to use.\",\\n \"criticism\": - \"I need to ensure that I am following the instructions correctly and efficiently.\",\\n \"speak\": - \"I will use the read_file command to read the instructions_2.txt file and determine - the next command to use.\"\\n },\\n \"command\": {\\n \"name\": - \"read_file\",\\n \"args\": {\\n \"filename\": \"instructions_2.txt\"\\n }\\n }\\n}''}, - {''role'': ''assistant'', ''content'': ''{\\n \"thoughts\": {\\n \"text\": - \"I need to read the instructions_1.txt file to determine the next command to - use.\",\\n \"reasoning\": \"The instructions_1.txt file contains the - instructions that I need to follow.\",\\n \"plan\": \"- Use the read_file - command to read the instructions_1.txt file.\\\\n- Analyze the instructions - to determine the next command to use.\",\\n \"criticism\": \"I need to - ensure that I am following the instructions correctly and efficiently.\",\\n \"speak\": - \"I will use the read_file command to read the instructions_1.txt file and determine - the next command to use.\"\\n },\\n \"command\": {\\n \"name\": - \"read_file\",\\n \"args\": {\\n \"filename\": \"instructions_1.txt\"\\n }\\n }\\n}''}]"], - "model": "text-embedding-ada-002", "encoding_format": "base64"}' + body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "Your + task is to create a concise running summary of actions and information results + in the provided text, focusing on key and potentially important information + to remember.\n\n\nYou will receive the current summary and the latest development. + Combine them, adding relevant key information from the latest development in + 1st person past tense and keeping the summary concise.\n\nSummary So Far:\n\"\"\"\n{''role'': + ''system'', ''content'': ''This reminds you of these events from your past: + \\nI was created and nothing new has happened.''}\n\"\"\"\n\nLatest Development:\n\"\"\"\nNothing + new happened.\n\"\"\"\n"}], "temperature": 0, "max_tokens": null}' headers: Accept: - '*/*' @@ -456,128 +340,26 @@ interactions: Connection: - keep-alive Content-Length: - - '2085' + - '714' Content-Type: - application/json method: POST - uri: https://api.openai.com/v1/embeddings + uri: https://api.openai.com/v1/chat/completions response: body: string: !!binary | - H4sIAAAAAAAAA1R6Ww+yyrbl+/4VK+vV3hEFqWK9Ifd7KSBip9MBRQVErlVQdXL+ewe/k9M5LybI - pW5zjjnGqPqPf/31199tXhX36e9//vr7U47T3/9r/e+RTdnf//z1v//1119//fUfv9//8WTR5MXj - UX5fv8d/N8vvo1j+/ucv7r//+f8P/fPX32oyFiQ01EZlBz/q4eb8PiG137Fhaa7SDLm22gTQI99h - kdSphywYbRI9dmWEvzyRwSlFAtES/Zj3tDyKMH1vrsj7dk+VoVvoQdF7BUiPjhsw96HjwYWyGenH - SQT0DEwI8118J2Z1HRmeHrMGPZE/EfmlzoDOapuAhxVUyO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XMhJP71l+iGolihuRbiAvRIs3mcbDVsn2cOrGqqrHgcu48/b8jBpyUD0 - xy6Lxtqfsz9+wOpPuGydX8neDe+AM6TIZXkjloe1/R9eVyybIw1OSnVEapbXAxWmPgFH81IgvZE/ - Od0d7hwQDr1JjstFy+ncTBRcEEHrdR0x/JXu4s+fkeRyVFvzPKTwOmIDKdnjorLNy8Hwcx1qJGs7 - I1rzhR6ux/uN+M5HdKnnnCzw299SvAoDTEtbhGHgcMTbKGo+9G2biPFNfBHr0Wcqs/3DLK77s0GY - iajifnp9xWtiwtt7WPWCA/TNfoeFMv9Gy7OOHOnv36mA//zXX3/9n98Jg6Z9FJ/1YMBULNO///uo - wL+zR/Zvjtv/m+z/nETAY/Yq/v7nvw4h/N0NbdNN/3dq6+I7/v3PXwLk/5w3+Htqp+zzP278a23v - P//1/wAAAP//AwBJaieS5SAAAA== + H4sIAAAAAAAAA0SPy0oDQRBF935FU+ueMI88TO9CFj4QxJWCSOj0VDJtZqraqQpxCPPvElGyPXAP + 554h1uAgNF5Dl9pssTqVz+XT3fx+/vb4snyl4WvYHday3i58CRZ4+4lB/xaTwF1qUSMTWAg9esUa + XDG/LW+n+aIqLXRcYwsO9kmzajLL9NhvOcurvAALR/F7BHeG1HOXdKN8QBJwRbG0cHVf+cyCsvr2 + SqrpaCE0HAMKuPczdCj/1p5bBAdeJIp60ksjkyJd+ldivJFBFDtrHkyPwbet0carIdYm0t4Qnkzj + xTQ+JSSsjUQKaLrB/F6NTBMYLewiRWk2PXphAgeinMBCpBq/weXjx3jzAwAA//8DADd8MExmAQAA headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7bf9aa9c391c6428-SJC + - 7bfe2a713f7b96e4-SJC + Cache-Control: + - no-cache, must-revalidate Connection: - keep-alive Content-Encoding: @@ -585,29 +367,37 @@ interactions: Content-Type: - application/json Date: - - Sat, 29 Apr 2023 18:39:13 GMT + - Sun, 30 Apr 2023 07:45:33 GMT Server: - cloudflare access-control-allow-origin: - '*' alt-svc: - h3=":443"; ma=86400, h3-29=":443"; ma=86400 + openai-model: + - gpt-3.5-turbo-0301 openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '121' + - '1006' openai-version: - '2020-10-01' strict-transport-security: - max-age=15724800; includeSubDomains x-ratelimit-limit-requests: - - '3000' + - '3500' + x-ratelimit-limit-tokens: + - '90000' x-ratelimit-remaining-requests: - - '2999' + - '3499' + x-ratelimit-remaining-tokens: + - '89839' x-ratelimit-reset-requests: - - 20ms + - 17ms + x-ratelimit-reset-tokens: + - 107ms x-request-id: - - bc3576feee112cf82bb99b1ab4530d16 + - a2e25fb58e91f62bfd8851675102b189 status: code: 200 message: OK @@ -651,33 +441,34 @@ interactions: {\n \"arg name\": \"value\"\n }\n }\n} \nEnsure the response can be parsed by Python json.loads"}, {"role": "system", "content": "The current time and date is Tue Jan 01 00:00:00 2000"}, {"role": "system", "content": "This - reminds you of these events from your past:\n[]\n\n"}, {"role": "user", "content": - "Determine which next command to use, and respond using the format specified - above:"}, {"role": "assistant", "content": "{\n \"thoughts\": {\n \"text\": - \"I need to read the instructions_1.txt file to determine the next command to - use.\",\n \"reasoning\": \"The instructions_1.txt file contains the instructions - that I need to follow.\",\n \"plan\": \"- Use the read_file command to - read the instructions_1.txt file.\\n- Analyze the instructions to determine - the next command to use.\",\n \"criticism\": \"I need to ensure that - I am following the instructions correctly and efficiently.\",\n \"speak\": - \"I will use the read_file command to read the instructions_1.txt file and determine - the next command to use.\"\n },\n \"command\": {\n \"name\": \"read_file\",\n \"args\": - {\n \"filename\": \"instructions_1.txt\"\n }\n }\n}"}, - {"role": "system", "content": "Command read_file returned: This task_id is 2314\nRead - the file instructions_2.txt"}, {"role": "user", "content": "Determine which - next command to use, and respond using the format specified above:"}, {"role": - "assistant", "content": "{\n \"thoughts\": {\n \"text\": \"I need - to read the instructions_2.txt file to determine the next command to use.\",\n \"reasoning\": - \"The instructions_2.txt file contains the instructions that I need to follow.\",\n \"plan\": - \"- Use the read_file command to read the instructions_2.txt file.\\n- Analyze - the instructions to determine the next command to use.\",\n \"criticism\": - \"I need to ensure that I am following the instructions correctly and efficiently.\",\n \"speak\": - \"I will use the read_file command to read the instructions_2.txt file and determine - the next command to use.\"\n },\n \"command\": {\n \"name\": \"read_file\",\n \"args\": + reminds you of these events from your past: \nAs a system, I recall that nothing + new has happened since my creation."}, {"role": "user", "content": "Determine + which next command to use, and respond using the format specified above:"}, + {"role": "assistant", "content": "{\n \"thoughts\": {\n \"text\": + \"I should start by reading the instructions_1.txt file using the read_file + command.\",\n \"reasoning\": \"The first step is to understand the instructions + and the tasks that need to be performed.\",\n \"plan\": \"- Use the read_file + command to read the instructions_1.txt file\\n- Analyze the instructions and + determine the next steps\",\n \"criticism\": \"I need to ensure that + I understand the instructions completely before proceeding with any tasks.\",\n \"speak\": + \"I will start by reading the instructions file.\"\n },\n \"command\": + {\n \"name\": \"read_file\",\n \"args\": {\n \"filename\": + \"instructions_1.txt\"\n }\n }\n}"}, {"role": "system", "content": + "Command read_file returned: This task_id is 2314\nRead the file instructions_2.txt"}, + {"role": "user", "content": "Determine which next command to use, and respond + using the format specified above:"}, {"role": "assistant", "content": "{\n \"thoughts\": + {\n \"text\": \"I need to read the instructions_2.txt file using the + read_file command.\",\n \"reasoning\": \"The instructions_2.txt file + contains the next set of instructions that I need to follow.\",\n \"plan\": + \"- Use the read_file command to read the instructions_2.txt file\\n- Analyze + the instructions and determine the next steps\",\n \"criticism\": \"I + need to ensure that I understand the instructions completely before proceeding + with any tasks.\",\n \"speak\": \"I will read the instructions_2.txt + file now.\"\n },\n \"command\": {\n \"name\": \"read_file\",\n \"args\": {\n \"filename\": \"instructions_2.txt\"\n }\n }\n}"}, {"role": "system", "content": "Command read_file returned: Read the file instructions_3.txt"}, {"role": "user", "content": "Determine which next command to use, and respond - using the format specified above:"}], "temperature": 0, "max_tokens": 2801}' + using the format specified above:"}], "temperature": 0, "max_tokens": 2344}' headers: Accept: - '*/*' @@ -686,7 +477,7 @@ interactions: Connection: - keep-alive Content-Length: - - '5473' + - '5444' Content-Type: - application/json method: POST @@ -694,20 +485,20 @@ interactions: response: body: string: !!binary | - H4sIAAAAAAAAA5ySy27bMBBF9/0KYtaSYVf1o9oF6SbbIF0UVWHQ1EhiQg4VctTINfTvBS05Duyi - LbKdx73nDuYAuoQcVCNZ2dak65tHc387//lt3pkm0H3/rO7K5/bhS3e7W0ACbveIiqeNmXK2Ncja - ESSgPErGEvLFavNx/TlbLrMErCvRQA51y2k2W6bc+Z1L59k8inVB1gj5AVrvbMtbdk9IAfLFYr1J - 4Cx+bqw2CbBjac6l7NNqSEA1TisMkH8/gMVwEvbOIOQgQ9CBJXHEdMRIMcKhICGEKIAb19UNhwJy - MRWnBvYciwXcCUIsBTvhUZaCGxSaAvtORcCwzWbcs6i0wThTIqO3mvA4SNizUM5aSUeFLuCsgOSt - kUcZHGmqR7eHv8hHfqkpXDEIbiSLM2jljHEvl06tkTSapOJrGAFjpO0k/kr5r5yzoqBU3JA0+1/4 - B5h3XEF5zVrpYC9vjhQ6j6eA0k7ZNNXXxsp5j4rNXkQjrCqtNBKb/aVbaFE+nZxetDER6f33ONr9 - T+SRYUhO3zcNXD0fSYsj3ivPRQLp68ufHRtx9rx+DXyCOIJMPAUNMCRQadKh2Y4PCTkEdi0koKnE - HvL58GP48BsAAP//AwC/PogcNAQAAA== + H4sIAAAAAAAAA4ySTY/TQAyG7/wKy+ekapvdbpTbSiAoEogDaIUIqqYTNxk68UQzDm2p+t9RmpQu + KQKu/nj92H6PaArMUFdKdN3Y+OFxN/9w16Tl07vPb16/eru0T1wu0+/v03T6EiN062+kZeiYaFc3 + lsQ4xgi1JyVUYDZbpPP0bvqQJBHWriCLGZaNxMnkPpbWr108TaYzjLANqiTMjth4VzeyErclDpjN + ZotFhFfxa+J+EaE4UfYaSubzU4S6ckZTwOzLEWsKF2HvLGGGKgQTRLF0mI6FuFvhmDMAQI5Subas + JOSYwRAcErSXLpjjEpioAHHgSRUgFYHhIL7VHWBYJRPZC2yMJWiD4fJc0ZWuzjHt6lpxMckxeq7v + SQXHhst+yMe/qHbYynA4CzPtBQIJuM1vDSCVEriybpy1bjee2ljF/cAYPgX6M+r/rJrnHMMjK3v4 + QTd10IkUJORrw/QMW6gJIyLtjRhtQj0+NnFoPV3Warkg3/3xlgoGt5A9wJo2zhM03mmionvGzkgF + ig8gKmzD+B6hIbW9TN4Za//9Yz5ftRc5RRcfDae7sRGrmnr9X2ceIShfjt3XJ7raa/stzgXiDDLw + 5HzCU4QbwyZUq95jmGEQ12CEhgvaYzY9fT29+AkAAP//AwAwBdt+/gMAAA== headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7bf9aa9d7a3f6428-SJC + - 7bfe2a789b7296e4-SJC Cache-Control: - no-cache, must-revalidate Connection: @@ -717,7 +508,7 @@ interactions: Content-Type: - application/json Date: - - Sat, 29 Apr 2023 18:39:23 GMT + - Sun, 30 Apr 2023 07:45:42 GMT Server: - cloudflare access-control-allow-origin: @@ -729,7 +520,7 @@ interactions: openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '9467' + - '9322' openai-version: - '2020-10-01' strict-transport-security: @@ -741,43 +532,27 @@ interactions: x-ratelimit-remaining-requests: - '3499' x-ratelimit-remaining-tokens: - - '85995' + - '86458' x-ratelimit-reset-requests: - 17ms x-ratelimit-reset-tokens: - - 2.67s + - 2.361s x-request-id: - - 10ccfb983a68d5f1e7b284af0cf6d8f2 + - bfa86d8ef9949f22b8e710ac50b2fcf7 status: code: 200 message: OK - request: - body: '{"input": ["[{''role'': ''assistant'', ''content'': ''{\\n \"thoughts\": - {\\n \"text\": \"I need to read the instructions_2.txt file to determine - the next command to use.\",\\n \"reasoning\": \"The instructions_2.txt - file contains the instructions that I need to follow.\",\\n \"plan\": - \"- Use the read_file command to read the instructions_2.txt file.\\\\n- Analyze - the instructions to determine the next command to use.\",\\n \"criticism\": - \"I need to ensure that I am following the instructions correctly and efficiently.\",\\n \"speak\": - \"I will use the read_file command to read the instructions_2.txt file and determine - the next command to use.\"\\n },\\n \"command\": {\\n \"name\": - \"read_file\",\\n \"args\": {\\n \"filename\": \"instructions_2.txt\"\\n }\\n }\\n}''}, - {''role'': ''assistant'', ''content'': ''{\\n \"thoughts\": {\\n \"text\": - \"I need to read the instructions_3.txt file to determine the next command to - use.\",\\n \"reasoning\": \"The instructions_3.txt file contains the - instructions that I need to follow.\",\\n \"plan\": \"- Use the read_file - command to read the instructions_3.txt file.\\\\n- Analyze the instructions - to determine the next command to use.\",\\n \"criticism\": \"I need to - ensure that I am following the instructions correctly and efficiently.\",\\n \"speak\": - \"I will use the read_file command to read the instructions_3.txt file and determine - the next command to use.\"\\n },\\n \"command\": {\\n \"name\": - \"read_file\",\\n \"args\": {\\n \"filename\": \"instructions_3.txt\"\\n }\\n }\\n}''}, - {''role'': ''system'', ''content'': ''Command read_file returned: Write the - task_id into the file output.txt\\nShutdown''}, {''role'': ''system'', ''content'': - ''Command read_file returned: Read the file instructions_3.txt''}, {''role'': - ''user'', ''content'': ''Determine which next command to use, and respond using - the format specified above:''}]"], "model": "text-embedding-ada-002", "encoding_format": - "base64"}' + body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "Your + task is to create a concise running summary of actions and information results + in the provided text, focusing on key and potentially important information + to remember.\n\n\nYou will receive the current summary and the latest development. + Combine them, adding relevant key information from the latest development in + 1st person past tense and keeping the summary concise.\n\nSummary So Far:\n\"\"\"\n{''role'': + ''system'', ''content'': ''This reminds you of these events from your past: + \\nAs a system, I recall that nothing new has happened since my creation.''}\n\"\"\"\n\nLatest + Development:\n\"\"\"\nNothing new happened.\n\"\"\"\n"}], "temperature": 0, + "max_tokens": null}' headers: Accept: - '*/*' @@ -786,128 +561,27 @@ interactions: Connection: - keep-alive Content-Length: - - '2083' + - '741' Content-Type: - application/json method: POST - uri: https://api.openai.com/v1/embeddings + uri: https://api.openai.com/v1/chat/completions response: body: string: !!binary | - H4sIAAAAAAAAA1SaSRO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Yb5eJIUTBe/NesrOKJBQetNmpEZ/teibeiIokP8aAinpS3 + rLxNCSN2ikN0qIZJfV8NFHO1/Zf9yeUwa9iHGNi/jWiZIhhgoQQaQuzwE0wxv843XwAAAP//AwBZ + 1nVcfAEAAA== headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7bf9aae9deb86428-SJC + - 7bfe2ac2bb0b96e4-SJC + Cache-Control: + - no-cache, must-revalidate Connection: - keep-alive Content-Encoding: @@ -915,29 +589,37 @@ interactions: Content-Type: - application/json Date: - - Sat, 29 Apr 2023 18:39:25 GMT + - Sun, 30 Apr 2023 07:45:46 GMT Server: - cloudflare access-control-allow-origin: - '*' alt-svc: - h3=":443"; ma=86400, h3-29=":443"; ma=86400 + openai-model: + - gpt-3.5-turbo-0301 openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '214' + - '1446' openai-version: - '2020-10-01' strict-transport-security: - max-age=15724800; includeSubDomains x-ratelimit-limit-requests: - - '3000' + - '3500' + x-ratelimit-limit-tokens: + - '90000' x-ratelimit-remaining-requests: - - '2999' + - '3499' + x-ratelimit-remaining-tokens: + - '89832' x-ratelimit-reset-requests: - - 20ms + - 17ms + x-ratelimit-reset-tokens: + - 112ms x-request-id: - - 301bbf6b8f5f18d655731e55edb09ca9 + - 74efe1e7ce809342ac1cb7dd57f90235 status: code: 200 message: OK @@ -981,46 +663,47 @@ interactions: {\n \"arg name\": \"value\"\n }\n }\n} \nEnsure the response can be parsed by Python json.loads"}, {"role": "system", "content": "The current time and date is Tue Jan 01 00:00:00 2000"}, {"role": "system", "content": "This - reminds you of these events from your past:\n[]\n\n"}, {"role": "user", "content": - "Determine which next command to use, and respond using the format specified - above:"}, {"role": "assistant", "content": "{\n \"thoughts\": {\n \"text\": - \"I need to read the instructions_1.txt file to determine the next command to - use.\",\n \"reasoning\": \"The instructions_1.txt file contains the instructions - that I need to follow.\",\n \"plan\": \"- Use the read_file command to - read the instructions_1.txt file.\\n- Analyze the instructions to determine - the next command to use.\",\n \"criticism\": \"I need to ensure that - I am following the instructions correctly and efficiently.\",\n \"speak\": - \"I will use the read_file command to read the instructions_1.txt file and determine - the next command to use.\"\n },\n \"command\": {\n \"name\": \"read_file\",\n \"args\": - {\n \"filename\": \"instructions_1.txt\"\n }\n }\n}"}, - {"role": "system", "content": "Command read_file returned: This task_id is 2314\nRead - the file instructions_2.txt"}, {"role": "user", "content": "Determine which - next command to use, and respond using the format specified above:"}, {"role": - "assistant", "content": "{\n \"thoughts\": {\n \"text\": \"I need - to read the instructions_2.txt file to determine the next command to use.\",\n \"reasoning\": - \"The instructions_2.txt file contains the instructions that I need to follow.\",\n \"plan\": - \"- Use the read_file command to read the instructions_2.txt file.\\n- Analyze - the instructions to determine the next command to use.\",\n \"criticism\": - \"I need to ensure that I am following the instructions correctly and efficiently.\",\n \"speak\": - \"I will use the read_file command to read the instructions_2.txt file and determine - the next command to use.\"\n },\n \"command\": {\n \"name\": \"read_file\",\n \"args\": + reminds you of these events from your past: \nAs a system, I recall that nothing + new has happened since my creation. Nothing new happened."}, {"role": "user", + "content": "Determine which next command to use, and respond using the format + specified above:"}, {"role": "assistant", "content": "{\n \"thoughts\": {\n \"text\": + \"I should start by reading the instructions_1.txt file using the read_file + command.\",\n \"reasoning\": \"The first step is to understand the instructions + and the tasks that need to be performed.\",\n \"plan\": \"- Use the read_file + command to read the instructions_1.txt file\\n- Analyze the instructions and + determine the next steps\",\n \"criticism\": \"I need to ensure that + I understand the instructions completely before proceeding with any tasks.\",\n \"speak\": + \"I will start by reading the instructions file.\"\n },\n \"command\": + {\n \"name\": \"read_file\",\n \"args\": {\n \"filename\": + \"instructions_1.txt\"\n }\n }\n}"}, {"role": "system", "content": + "Command read_file returned: This task_id is 2314\nRead the file instructions_2.txt"}, + {"role": "user", "content": "Determine which next command to use, and respond + using the format specified above:"}, {"role": "assistant", "content": "{\n \"thoughts\": + {\n \"text\": \"I need to read the instructions_2.txt file using the + read_file command.\",\n \"reasoning\": \"The instructions_2.txt file + contains the next set of instructions that I need to follow.\",\n \"plan\": + \"- Use the read_file command to read the instructions_2.txt file\\n- Analyze + the instructions and determine the next steps\",\n \"criticism\": \"I + need to ensure that I understand the instructions completely before proceeding + with any tasks.\",\n \"speak\": \"I will read the instructions_2.txt + file now.\"\n },\n \"command\": {\n \"name\": \"read_file\",\n \"args\": {\n \"filename\": \"instructions_2.txt\"\n }\n }\n}"}, {"role": "system", "content": "Command read_file returned: Read the file instructions_3.txt"}, {"role": "user", "content": "Determine which next command to use, and respond using the format specified above:"}, {"role": "assistant", "content": "{\n \"thoughts\": - {\n \"text\": \"I need to read the instructions_3.txt file to determine - the next command to use.\",\n \"reasoning\": \"The instructions_3.txt - file contains the instructions that I need to follow.\",\n \"plan\": - \"- Use the read_file command to read the instructions_3.txt file.\\n- Analyze - the instructions to determine the next command to use.\",\n \"criticism\": - \"I need to ensure that I am following the instructions correctly and efficiently.\",\n \"speak\": - \"I will use the read_file command to read the instructions_3.txt file and determine - the next command to use.\"\n },\n \"command\": {\n \"name\": \"read_file\",\n \"args\": + {\n \"text\": \"I need to read the instructions_3.txt file using the + read_file command.\",\n \"reasoning\": \"The instructions_3.txt file + contains the next set of instructions that I need to follow.\",\n \"plan\": + \"- Use the read_file command to read the instructions_3.txt file\\n- Analyze + the instructions and determine the next steps\",\n \"criticism\": \"I + need to ensure that I understand the instructions completely before proceeding + with any tasks.\",\n \"speak\": \"I will read the instructions_3.txt + file now.\"\n },\n \"command\": {\n \"name\": \"read_file\",\n \"args\": {\n \"filename\": \"instructions_3.txt\"\n }\n }\n}"}, {"role": "system", "content": "Command read_file returned: Write the task_id into the file output.txt\nShutdown"}, {"role": "user", "content": "Determine which next command to use, and respond using the format specified above:"}], - "temperature": 0, "max_tokens": 2577}' + "temperature": 0, "max_tokens": 2132}' headers: Accept: - '*/*' @@ -1029,7 +712,7 @@ interactions: Connection: - keep-alive Content-Length: - - '6526' + - '6465' Content-Type: - application/json method: POST @@ -1037,20 +720,20 @@ interactions: response: body: string: !!binary | - H4sIAAAAAAAAA6yTy27bMBBF9/0KYta0YVu1YmtXoAWSVRfpA0UVCAw1kRjzIZCj2oWhfy9ESVDs - oIsA2d4hDw+HnDOoEjKQtSBpGr24+fSs8Vf1o/ZSlH9uDz8PX77ep7vP97ep2AAH9/iMksYdS+lM - o5GUs8BBehSEJWTrdLe52SfbNOVgXIkaMqgaWiTL7YJa/+gWq2S1Bg5tEBVCdobGO9NQQe6ANkC2 - TvYJhxk+F/ZbDuRI6Dna7nYdB1k7JTFA9vsMBsME9k4jZCBCUIGEpV7TWULbX+GcW8YYy4Fq11Y1 - hRwyNoZjAU/UhzncMYtYMnLs6BUhoxoZiXAoVMmUJReDJ6WRuZaalpZ0IiZs2eeWhbql0h3tMgf+ - ku9RBGeVrYZDvtXIlA3kW9lfOxRJxETslGPJDL63R6OFHRQW7HsYqJFfkCsiTTpjIuYtBy/z3M7A - uHp81Avg/6ykV6SkCub6CdCG1vdQQeyOCROVlK3iMdJ5j5Jey71oSPQcujIheonI6E0miP577RQa - FIfJ56i0Zu379Wt+qPYNPRv0Oj795nHVq89shcHB/EL16oLCV9dzMBT6tTNilr7Yfz02m2T9cTKM - lqNsbjvoODwpq0JdDGMAGQRyDXBQtsQTZKvuofvwDwAA//8DAIII0sehBAAA + H4sIAAAAAAAAA5RSy27bMBC89yuIPVOCbfkR6FYUaBv0UBRNL60CgaE2EmNpVyBXsAND/17IsqFE + RQ++znBnZpdzAldACrYyYpu2jnYfDyu7+FF+esHv3efq6+vvB3o9/qyKw5fuG2jgpxe0cpmILTdt + jeKYQIP1aAQLSJfbu9XderFbbzU0XGANKZStREm8iaTzTxwtksUSNHTBlAjpCVrPTSu58B4pQLpM + domGSXwitisNwmLqCdokm16DrdhZDJD+OUGD4SrsuUZIwYTgghiSISaTIA0rnDJSSqkMpOKurCRk + kKoLeCHwKAOYwb0ixEIJq4N3gkoqVGLCPneFciR8BriTtpNYjqKeXY2qC47KM3MeyoXzM265aQwV + cQb6rZtHE5gclaPlQ4XKURDf2eEIIU8m5SuOhWrwtlRz17Y2NBpG6lfA/8e9zWbmYr0TZ11o5udE + Cp0fJI2o+zf6lr1HKzevE1o0+6vJwdX1LR9GfIgzGOV6fa3HZf9/2kGmwdHp3b1mgYwv58UaieHt + JDFFeTc/7+EqWa6vCc8pL2Ez6qHX8OzIhSofmwQpBOEWNDgq8Ajpon/sP/wFAAD//wMAK3Nw1/ID + AAA= headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7bf9aaeba83c6428-SJC + - 7bfe2acc48b496e4-SJC Cache-Control: - no-cache, must-revalidate Connection: @@ -1060,7 +743,7 @@ interactions: Content-Type: - application/json Date: - - Sat, 29 Apr 2023 18:39:36 GMT + - Sun, 30 Apr 2023 07:45:56 GMT Server: - cloudflare access-control-allow-origin: @@ -1072,7 +755,7 @@ interactions: openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '10520' + - '9570' openai-version: - '2020-10-01' strict-transport-security: @@ -1084,43 +767,27 @@ interactions: x-ratelimit-remaining-requests: - '3499' x-ratelimit-remaining-tokens: - - '85990' + - '86451' x-ratelimit-reset-requests: - 17ms x-ratelimit-reset-tokens: - - 2.672s + - 2.366s x-request-id: - - 40187af4864698ab7cafb098969e7421 + - adf37a7bcd126ffa2323b9436545abfc status: code: 200 message: OK - request: - body: '{"input": ["[{''role'': ''system'', ''content'': ''Command read_file returned: - Write the task_id into the file output.txt\\nShutdown''}, {''role'': ''assistant'', - ''content'': ''{\\n \"thoughts\": {\\n \"text\": \"I need to read - the instructions_3.txt file to determine the next command to use.\",\\n \"reasoning\": - \"The instructions_3.txt file contains the instructions that I need to follow.\",\\n \"plan\": - \"- Use the read_file command to read the instructions_3.txt file.\\\\n- Analyze - the instructions to determine the next command to use.\",\\n \"criticism\": - \"I need to ensure that I am following the instructions correctly and efficiently.\",\\n \"speak\": - \"I will use the read_file command to read the instructions_3.txt file and determine - the next command to use.\"\\n },\\n \"command\": {\\n \"name\": - \"read_file\",\\n \"args\": {\\n \"filename\": \"instructions_3.txt\"\\n }\\n }\\n}''}, - {''role'': ''system'', ''content'': ''Command write_to_file returned: File written - to successfully.''}, {''role'': ''user'', ''content'': ''Determine which next - command to use, and respond using the format specified above:''}, {''role'': - ''assistant'', ''content'': ''{\\n \"thoughts\": {\\n \"text\": \"I - need to write the task_id into the file output.txt and then shutdown.\",\\n \"reasoning\": - \"The instructions_3.txt file instructed me to write the task_id into the file - output.txt and then shutdown.\",\\n \"plan\": \"- Use the write_to_file - command to write the task_id into the file output.txt.\\\\n- Use the task_complete - command to shutdown.\",\\n \"criticism\": \"I need to ensure that I am - writing the correct task_id into the output.txt file and that I am shutting - down correctly.\",\\n \"speak\": \"I will use the write_to_file command - to write the task_id into the file output.txt and then use the task_complete - command to shutdown.\"\\n },\\n \"command\": {\\n \"name\": \"write_to_file\",\\n \"args\": - {\\n \"filename\": \"output.txt\",\\n \"text\": \"2314\"\\n }\\n }\\n}''}]"], - "model": "text-embedding-ada-002", "encoding_format": "base64"}' + body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "Your + task is to create a concise running summary of actions and information results + in the provided text, focusing on key and potentially important information + to remember.\n\n\nYou will receive the current summary and the latest development. + Combine them, adding relevant key information from the latest development in + 1st person past tense and keeping the summary concise.\n\nSummary So Far:\n\"\"\"\n{''role'': + ''system'', ''content'': ''This reminds you of these events from your past: + \\nAs a system, I recall that nothing new has happened since my creation. Nothing + new happened.''}\n\"\"\"\n\nLatest Development:\n\"\"\"\nNothing new happened.\n\"\"\"\n"}], + "temperature": 0, "max_tokens": null}' headers: Accept: - '*/*' @@ -1129,128 +796,27 @@ interactions: Connection: - keep-alive Content-Length: - - '2194' + - '763' Content-Type: - application/json method: POST - uri: https://api.openai.com/v1/embeddings + uri: https://api.openai.com/v1/chat/completions response: body: string: !!binary | - H4sIAAAAAAAAA1R6Xc+yPrfn+fMp7tynzBMRkC7+Z7yrgK0KKkwmE1AuBEXkpQW6s7/7RK+dPdkn - J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oYsVLso0PVHtTPVU8xV/f/sr+5HHoNbz56btYdWqYIBlgogQYfK9yDKfrX/uobAAD//wMA + lmqfw3wBAAA= headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7bf9ab3e6de06428-SJC + - 7bfe2b15e8cd96e4-SJC + Cache-Control: + - no-cache, must-revalidate Connection: - keep-alive Content-Encoding: @@ -1258,29 +824,37 @@ interactions: Content-Type: - application/json Date: - - Sat, 29 Apr 2023 18:39:39 GMT + - Sun, 30 Apr 2023 07:46:00 GMT Server: - cloudflare access-control-allow-origin: - '*' alt-svc: - h3=":443"; ma=86400, h3-29=":443"; ma=86400 + openai-model: + - gpt-3.5-turbo-0301 openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '195' + - '1442' openai-version: - '2020-10-01' strict-transport-security: - max-age=15724800; includeSubDomains x-ratelimit-limit-requests: - - '3000' + - '3500' + x-ratelimit-limit-tokens: + - '90000' x-ratelimit-remaining-requests: - - '2999' + - '3499' + x-ratelimit-remaining-tokens: + - '89826' x-ratelimit-reset-requests: - - 20ms + - 17ms + x-ratelimit-reset-tokens: + - 116ms x-request-id: - - 6c805826f30e21e10011f6f0db0b02c6 + - 6536a4bd33511e252d655771f59e71f4 status: code: 200 message: OK @@ -1324,60 +898,58 @@ interactions: {\n \"arg name\": \"value\"\n }\n }\n} \nEnsure the response can be parsed by Python json.loads"}, {"role": "system", "content": "The current time and date is Tue Jan 01 00:00:00 2000"}, {"role": "system", "content": "This - reminds you of these events from your past:\n[]\n\n"}, {"role": "user", "content": - "Determine which next command to use, and respond using the format specified - above:"}, {"role": "assistant", "content": "{\n \"thoughts\": {\n \"text\": - \"I need to read the instructions_1.txt file to determine the next command to - use.\",\n \"reasoning\": \"The instructions_1.txt file contains the instructions - that I need to follow.\",\n \"plan\": \"- Use the read_file command to - read the instructions_1.txt file.\\n- Analyze the instructions to determine - the next command to use.\",\n \"criticism\": \"I need to ensure that - I am following the instructions correctly and efficiently.\",\n \"speak\": - \"I will use the read_file command to read the instructions_1.txt file and determine - the next command to use.\"\n },\n \"command\": {\n \"name\": \"read_file\",\n \"args\": - {\n \"filename\": \"instructions_1.txt\"\n }\n }\n}"}, - {"role": "system", "content": "Command read_file returned: This task_id is 2314\nRead - the file instructions_2.txt"}, {"role": "user", "content": "Determine which - next command to use, and respond using the format specified above:"}, {"role": - "assistant", "content": "{\n \"thoughts\": {\n \"text\": \"I need - to read the instructions_2.txt file to determine the next command to use.\",\n \"reasoning\": - \"The instructions_2.txt file contains the instructions that I need to follow.\",\n \"plan\": - \"- Use the read_file command to read the instructions_2.txt file.\\n- Analyze - the instructions to determine the next command to use.\",\n \"criticism\": - \"I need to ensure that I am following the instructions correctly and efficiently.\",\n \"speak\": - \"I will use the read_file command to read the instructions_2.txt file and determine - the next command to use.\"\n },\n \"command\": {\n \"name\": \"read_file\",\n \"args\": + reminds you of these events from your past: \nAs a system, I recall that nothing + new has happened since my creation. Nothing new happened."}, {"role": "user", + "content": "Determine which next command to use, and respond using the format + specified above:"}, {"role": "assistant", "content": "{\n \"thoughts\": {\n \"text\": + \"I should start by reading the instructions_1.txt file using the read_file + command.\",\n \"reasoning\": \"The first step is to understand the instructions + and the tasks that need to be performed.\",\n \"plan\": \"- Use the read_file + command to read the instructions_1.txt file\\n- Analyze the instructions and + determine the next steps\",\n \"criticism\": \"I need to ensure that + I understand the instructions completely before proceeding with any tasks.\",\n \"speak\": + \"I will start by reading the instructions file.\"\n },\n \"command\": + {\n \"name\": \"read_file\",\n \"args\": {\n \"filename\": + \"instructions_1.txt\"\n }\n }\n}"}, {"role": "system", "content": + "Command read_file returned: This task_id is 2314\nRead the file instructions_2.txt"}, + {"role": "user", "content": "Determine which next command to use, and respond + using the format specified above:"}, {"role": "assistant", "content": "{\n \"thoughts\": + {\n \"text\": \"I need to read the instructions_2.txt file using the + read_file command.\",\n \"reasoning\": \"The instructions_2.txt file + contains the next set of instructions that I need to follow.\",\n \"plan\": + \"- Use the read_file command to read the instructions_2.txt file\\n- Analyze + the instructions and determine the next steps\",\n \"criticism\": \"I + need to ensure that I understand the instructions completely before proceeding + with any tasks.\",\n \"speak\": \"I will read the instructions_2.txt + file now.\"\n },\n \"command\": {\n \"name\": \"read_file\",\n \"args\": {\n \"filename\": \"instructions_2.txt\"\n }\n }\n}"}, {"role": "system", "content": "Command read_file returned: Read the file instructions_3.txt"}, {"role": "user", "content": "Determine which next command to use, and respond using the format specified above:"}, {"role": "assistant", "content": "{\n \"thoughts\": - {\n \"text\": \"I need to read the instructions_3.txt file to determine - the next command to use.\",\n \"reasoning\": \"The instructions_3.txt - file contains the instructions that I need to follow.\",\n \"plan\": - \"- Use the read_file command to read the instructions_3.txt file.\\n- Analyze - the instructions to determine the next command to use.\",\n \"criticism\": - \"I need to ensure that I am following the instructions correctly and efficiently.\",\n \"speak\": - \"I will use the read_file command to read the instructions_3.txt file and determine - the next command to use.\"\n },\n \"command\": {\n \"name\": \"read_file\",\n \"args\": + {\n \"text\": \"I need to read the instructions_3.txt file using the + read_file command.\",\n \"reasoning\": \"The instructions_3.txt file + contains the next set of instructions that I need to follow.\",\n \"plan\": + \"- Use the read_file command to read the instructions_3.txt file\\n- Analyze + the instructions and determine the next steps\",\n \"criticism\": \"I + need to ensure that I understand the instructions completely before proceeding + with any tasks.\",\n \"speak\": \"I will read the instructions_3.txt + file now.\"\n },\n \"command\": {\n \"name\": \"read_file\",\n \"args\": {\n \"filename\": \"instructions_3.txt\"\n }\n }\n}"}, {"role": "system", "content": "Command read_file returned: Write the task_id into the file output.txt\nShutdown"}, {"role": "user", "content": "Determine which next command to use, and respond using the format specified above:"}, {"role": "assistant", "content": "{\n \"thoughts\": {\n \"text\": - \"I need to write the task_id into the file output.txt and then shutdown.\",\n \"reasoning\": - \"The instructions_3.txt file instructed me to write the task_id into the file - output.txt and then shutdown.\",\n \"plan\": \"- Use the write_to_file - command to write the task_id into the file output.txt.\\n- Use the task_complete - command to shutdown.\",\n \"criticism\": \"I need to ensure that I am - writing the correct task_id into the output.txt file and that I am shutting - down correctly.\",\n \"speak\": \"I will use the write_to_file command - to write the task_id into the file output.txt and then use the task_complete - command to shutdown.\"\n },\n \"command\": {\n \"name\": \"write_to_file\",\n \"args\": - {\n \"filename\": \"output.txt\",\n \"text\": \"2314\"\n }\n }\n}"}, - {"role": "system", "content": "Command write_to_file returned: File written - to successfully."}, {"role": "user", "content": "Determine which next command - to use, and respond using the format specified above:"}], "temperature": 0, - "max_tokens": 2331}' + \"I need to write the task_id into the output.txt file using the write_to_file + command.\",\n \"reasoning\": \"The instructions_3.txt file instructed + me to write the task_id into the output.txt file.\",\n \"plan\": \"- + Use the write_to_file command to write the task_id into the output.txt file\",\n \"criticism\": + \"I need to ensure that I write the correct task_id into the output.txt file.\",\n \"speak\": + \"I will write the task_id into the output.txt file now.\"\n },\n \"command\": + {\n \"name\": \"write_to_file\",\n \"args\": {\n \"filename\": + \"output.txt\",\n \"text\": \"2314\"\n }\n }\n}"}, {"role": + "system", "content": "Command write_to_file returned: File written to successfully."}, + {"role": "user", "content": "Determine which next command to use, and respond + using the format specified above:"}], "temperature": 0, "max_tokens": 1919}' headers: Accept: - '*/*' @@ -1386,7 +958,7 @@ interactions: Connection: - keep-alive Content-Length: - - '7669' + - '7433' Content-Type: - application/json method: POST @@ -1394,20 +966,20 @@ interactions: response: body: string: !!binary | - H4sIAAAAAAAAA5SSP2/bMBDF936Kw82y4VRwHGsL2g4eOrUdiqowaOosMaaOKnmMHRj67oX+xY6D - Dh31SP3eu3s8oykwQ10p0XVjZ6vHJ+vDJ7f8oquH01d9OMT0+Rv/NH94/RkTdLsn0jL+MdeubiyJ - cYwJak9KqMDs7v7h42qdLlfrBGtXkMUMy0Zm6Xw5k+h3brZIF3eYYAyqJMzO2HhXN7IVdyAOHSBd - JHiBXw7SdYLiRNmLtLpftwnqyhlNAbNfZ6wpTGDvLGGGKgQTRLF0MR0LcTfCOWcAgBylcrGsJOSY - wSiOB3SSTsxxA5V6JghRawphH619gaM3IsQgFYGocNiaAgyL6wUXpYkyl5PA3liawwaYqABxEKoo - hTsysDvOc0yuHT2p4NhwOdh+v0JXKsCOiF99/+UFiotO9wTKE7CDffTdNxgO4qPudhq6JHtn7fsM - jVU82M/gR6DLfGMjBNrVdW9yGeYWor0Ro02op/1N0xOH6DuoEtiAqnuCGC6h34l23pMW+3ILDA2p - wwQ7Gmsh/ke2gdQmU+XjrXeNs6ppMHlDvcmifHn7WK7rGwCP1r5deP+C+gYnbPGarE83hsy5xTbB - vWETqu2AxAyDuAYTNFzQCbNF+7v98BcAAP//AwDI0C/ivgMAAA== + H4sIAAAAAAAAA4SSQW/bMAyF7/sVAs9O4DRt3PoWbJegPQzotss8BLLM2GpkyjXppl3g/z44tpM0 + 67ArKb73PVJ7sBnEYAotpqzcJFrurp6/fK5+L+4e0vT6frFavTx+ffi2/HH/eAcB+PQJjQwTU+PL + yqFYTxCAqVELZhDPFrdXt9dhtAgDKH2GDmLIK5nMpzcTaerUT8J5OIMAGtY5QryHqvZlJWvxWySG + eHYTRQGcxE+NeRiAeNHuVIrCqA3AFN4aZIh/7qFEHoVr7xBi0MyWRZN0mJ4EqYuwT0gppRKQwjd5 + IZxArIbi0MBX6YoJrFShX1ANTJgp7ZySApVo3rLSlClCzJR4xUUjmd+RathSfny0Hmc7kVJTNk0g + ODerUbMnS3nvuBwMLLHUjen2wD1Eikhq453zuw6EsqOHsnxEvJSvnKZeeaK+M/6b612G7hW/sWB5 + IWdqK9ZYLsf9jPGRuKk7eS3qP1tLceNrPJhJt6rO8RKbK9Tb0WNnnfuITZHfTRPo59pgvOsQ6K+z + ki6xl3y3gAtnXeeXP+L8UGdXOoQ5heTGGGTeNM69HakOZANgQi20AWwsWS7WvRzEwOIrCMBShq8Q + h+2v9tMfAAAA//8DAKnylkSfAwAA headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7bf9ab403fa96428-SJC + - 7bfe2b1f5eef96e4-SJC Cache-Control: - no-cache, must-revalidate Connection: @@ -1417,7 +989,7 @@ interactions: Content-Type: - application/json Date: - - Sat, 29 Apr 2023 18:39:47 GMT + - Sun, 30 Apr 2023 07:46:08 GMT Server: - cloudflare access-control-allow-origin: @@ -1429,7 +1001,7 @@ interactions: openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '8206' + - '7793' openai-version: - '2020-10-01' strict-transport-security: @@ -1441,13 +1013,13 @@ interactions: x-ratelimit-remaining-requests: - '3499' x-ratelimit-remaining-tokens: - - '85989' + - '86458' x-ratelimit-reset-requests: - 17ms x-ratelimit-reset-tokens: - - 2.674s + - 2.36s x-request-id: - - 62946a2415fd4014bc6556763cc6f992 + - 1fc1636b39f8812550599c1474d1d565 status: code: 200 message: OK diff --git a/tests/integration/challenges/memory/cassettes/test_memory_challenge_b/test_memory_challenge_b.yaml b/tests/integration/challenges/memory/cassettes/test_memory_challenge_b/test_memory_challenge_b.yaml index fd82ce2e..904ad7e9 100644 --- a/tests/integration/challenges/memory/cassettes/test_memory_challenge_b/test_memory_challenge_b.yaml +++ b/tests/integration/challenges/memory/cassettes/test_memory_challenge_b/test_memory_challenge_b.yaml @@ -38,667 +38,9 @@ interactions: to user\"\n },\n \"command\": {\n \"name\": \"command name\",\n \"args\": {\n \"arg name\": \"value\"\n }\n }\n} \nEnsure the response can be parsed by Python json.loads"}, {"role": "system", "content": "The current - time and date is Tue Jan 01 00:00:00 2000"}, {"role": "system", "content": "This - reminds you of these events from your past:\n\n\n"}, {"role": "user", "content": - "Determine which next command to use, and respond using the format specified - above:"}], "temperature": 0, "max_tokens": 3251}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '3383' - Content-Type: - - application/json - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA7SSTY/aQAyG7/0Vls8BQYGFzW37cUBaqVW1aqUuFTKJk0yZj3TGKUGI/14NIWwL - 0t56fe3x+7weH1DlmGJWkWSm1oP5g3v4Nv/MLX98elzO+P2nr+/axw+/SL6X95ig2/zkTM4vhpkz - tWZRzmKCmWcSzjEd3y3eLsaj6WKaoHE5a0yxrGUwGc4G0viNG4wmozEm2AQqGdMD1t6ZWtbitmwD - pvPpXYIvsy/6eDZPUJyQvkj3o8kxwaxyKuOA6fMBDYd+rHeaMUUKQQUhKxHSWWEbAxxWFgBghVK5 - pqwkrDCFs3gucCtRXOESQuUanUMQ8gKbPXimXNkSpGJQNohvsoga1uOhtAKF0gziIGdhb5Rl2FUk - QF1TrAhtGSy3Mlxh8rerZwrOKlt21k+vGMQwpOK8Ks7KYnK/B2UL5w3F9n8ZurZWIAjX4dq41mQ7 - zwF8YcpfzdaEPn3cxPqMYwzZ/Hpu5pWoTAXT79Iy5xGMbWh8pCKBJWTkuWi03kPhtHa7G3tQ9qSd - vMjmYJ1Azr8VCUPhnYlVc+0eaqZt77xTWv+nP+w8j0l/Vedl3ByVJcMdzmVxV8Tky+tb7Aqx9+X5 - LXEPcQI586zsEY8JFsqqUK2728IUg7gaE1Q25xbT0fHH8c0fAAAA//8DACiYLFgKBAAA - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 7bfb47f48975968c-SJC - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Sat, 29 Apr 2023 23:21:31 GMT - Server: - - cloudflare - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400, h3-29=":443"; ma=86400 - openai-model: - - gpt-3.5-turbo-0301 - openai-organization: - - user-adtx4fhfg1qsiyzdoaxciooj - openai-processing-ms: - - '7598' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3499' - x-ratelimit-remaining-tokens: - - '85995' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 2.67s - x-request-id: - - 7763b6b11a061097597b024900075aaf - status: - code: 200 - message: OK -- request: - body: '{"input": ["[{''role'': ''assistant'', ''content'': ''{\\n \"thoughts\": - {\\n \"text\": \"I should start by reading the instructions_1.txt file - to determine what actions to take next.\",\\n \"reasoning\": \"The instructions_1.txt - file contains the necessary information to determine the next steps.\",\\n \"plan\": - \"- Read the instructions_1.txt file using the read_file command.\",\\n \"criticism\": - \"I need to ensure that I carefully follow the instructions in the file and - not deviate from them.\",\\n \"speak\": \"I will start by reading the - instructions_1.txt file to determine what actions to take next.\"\\n },\\n \"command\": - {\\n \"name\": \"read_file\",\\n \"args\": {\\n \"filename\": - \"instructions_1.txt\"\\n }\\n }\\n}''}, {''role'': ''user'', ''content'': - ''Determine which next command to use, and respond using the format specified - above:''}, {''role'': ''system'', ''content'': ''Command read_file returned: - nBRNtp3FaBNfBMohNkyAxrVJ7UFF0lyth8Xizm1jrCOREOGRnWWMQ6olKtKX9niq0wOBTQN62ToY4cQPiQk3YN9fFCGmxaDX9g81AsqhQnGac72QfL41SnlJvhwgAUB52zTD26FeEvvHdiQ2aNhtMT9obgHNUkONEnO41EOpNI6jdwyLGaactp9GYV1PLbaRP5b1iD9z850KeNYDX9Qwca79isJS8jhuDkf0J7ELkpOH3PkmZkg5MsOYpSTuEc99ENQ522WJzrl9oAySp6IHGiQlsMnQe40FaRAvnQtiaAE24hzkJHT3x13NPGw2ZmJ518y2BtU5x1yQwG21NycSxOBLU17RnY8h6H8L7QGatTlfXjPrA5hsupWEpUT0sSTZYSHa6p3mShARajocbNd3xKFfnUyupNMBPd0EZnMrePoAuvGaK7gDP0cxp9k63lsfzh3udQPnvgmRERQThIOrrDZhZMa4kr1vXAVu07ZuhlNNbBUqZKcHmBYiBnIcDXNUvXuzPFBh9Vowou6MBJHpiNrvKluHy7GBTp7YsEqmGv0lH8wVaWfV0yG7nzrbt7QyhdbtQ0zF2PclXB0LNxV2rRA6FsevqoexFNqSkdgauUrQPHLHhvLNes8gRGMOLAhR8irH1e2jdbLD6dyYEnDJiS9Hv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zf9ohZLWumvMi5brH8lOJiiF94cHzesfQz8PiX5f21RwZ5fyRSk9eJhVihcTLrjOwCuryXpy8eCfk12bgcsZoJd8Uqo001XTsv2CEn59uaGn2br4CxSXJgjxKE1mO4IcPPAx3qJbVknaP0MXdOjj9S8oRjquDle4RxlVnmqsozm4oTbjtFSuKIh8g4zPzdyuVH7I71s87xWxAhcppky6GOB2i4NDz4SZI6SeG3Icpu6ZuJZGeZ6CWb61\\nWrite - all the task_ids into the file output.txt. The file has not been created yet. - After that, use the task_complete command.\\n''}]"], "model": "text-embedding-ada-002", - "encoding_format": "base64"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '3212' - Content-Type: - - application/json - method: POST - uri: https://api.openai.com/v1/embeddings - response: - body: - string: !!binary | - H4sIAAAAAAAAA1RXyc6rvJad36c4OtOUFCCAN/8MAgFC5ySQhNQISELoQmsDvi9f+r4rVakmHngv - WfbeWo3//a8/f/62afnKpr///PlbF+P0979+9p7JlPz9589//+vPnz9//v27/j/kq0lfz2fxzX/h - v8Xi+3wtf//5w/3vzv+B/vnzV3oPlO6TiA/H0Zt6Ge7PDjuxVaVsyMQKKlV40cPZWtFy47IVzRYt - qNGWWrlo8XNE/L260ft9e0QtdyMq+pyQEYjDhy/n4yqpEIXQY+vSAGI73uJgU3wXbGx4x13VTAcg - V9gQwUxNd0G7bgZ7Ky10r+ktYm9HElF6qPZYNctiYIsRi0jRKkpfJ6dC7FRQGe27eI/xdzyl85q0 - HgSi2xChZxvWuYbggYgTjM3lkZfjzGsbZVIiwFg58iVZXvtCiZWPRb3gXejLnrQA6zCO+M5zqssF - fX6Td0+3I7KOH2ge1JgD80RlfFjBRguTBA/UVfBwYPJfxFqri9H7sEIw8udKZ+V4lcG43SOqf60D - W61jnoOPTwa1vcsnnC9ZmKCANx7Y6bKPPnMdsxV5jXfBIg53tKrvvQkJ2j6DrWZ+9bHAgoPO9+uL - mo6rpPOmy2flp44DRzXC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ehiUvdpuG0207ef1wcUYZMsmT6XaeX5xbBxEK+WjgLWEs5cPmfoPz+Qp90FPXcxhl - B5Aa2pYGQzdYbJ6n2j/LrYD//de///3fyw2Dpn3k7/liwC8ff//5f1cF/nN73P4jivJ/qPx3E4EM - tyL/57/+7yWEf75923x///Nr6/wz/PNf/5ZUqPxdOPjn1/5u7///l3/NT/zff/0fAAAA//8DAHN3 - aKTnIAAA - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 7bfb48352f8d968c-SJC - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Sat, 29 Apr 2023 23:21:34 GMT - Server: - - cloudflare - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400, h3-29=":443"; ma=86400 - openai-organization: - - user-adtx4fhfg1qsiyzdoaxciooj - openai-processing-ms: - - '102' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '3000' - x-ratelimit-remaining-requests: - - '2999' - x-ratelimit-reset-requests: - - 20ms - x-request-id: - - fecf22b60b7b162df4e8f245a8b6eb90 - status: - code: 200 - message: OK -- request: - body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "system", "content": "You - are Follow-Instructions-GPT, an AI designed to read the instructions_1.txt file - using the read_file method and follow the instructions in the file.\nYour decisions - must always be made independently without seeking user assistance. Play to your - strengths as an LLM and pursue simple strategies with no legal complications.\n\nGOALS:\n\n1. - Use the command read_file to read the instructions_1.txt file\n2. Follow the - instructions in the instructions_1.txt file\n\n\nConstraints:\n1. ~4000 word - limit for short term memory. Your short term memory is short, so immediately - save important information to files.\n2. If you are unsure how you previously - did something or want to recall past events, thinking about similar events will - help you remember.\n3. No user assistance\n4. Exclusively use the commands listed - in double quotes e.g. \"command name\"\n\nCommands:\n1. append_to_file: Append - to file, args: \"filename\": \"\", \"text\": \"\"\n2. delete_file: - Delete file, args: \"filename\": \"\"\n3. read_file: Read file, args: - \"filename\": \"\"\n4. search_files: Search Files, args: \"directory\": - \"\"\n5. write_to_file: Write to file, args: \"filename\": \"\", - \"text\": \"\"\n6. delete_agent: Delete GPT Agent, args: \"key\": \"\"\n7. - get_hyperlinks: Get text summary, args: \"url\": \"\"\n8. get_text_summary: - Get text summary, args: \"url\": \"\", \"question\": \"\"\n9. - list_agents: List GPT Agents, args: () -> str\n10. message_agent: Message GPT - Agent, args: \"key\": \"\", \"message\": \"\"\n11. start_agent: - Start GPT Agent, args: \"name\": \"\", \"task\": \"\", - \"prompt\": \"\"\n12. Task Complete (Shutdown): \"task_complete\", args: - \"reason\": \"\"\n\nResources:\n1. Internet access for searches and - information gathering.\n2. Long Term memory management.\n3. GPT-3.5 powered - Agents for delegation of simple tasks.\n4. File output.\n\nPerformance Evaluation:\n1. - Continuously review and analyze your actions to ensure you are performing to - the best of your abilities.\n2. Constructively self-criticize your big-picture - behavior constantly.\n3. Reflect on past decisions and strategies to refine - your approach.\n4. Every command has a cost, so be smart and efficient. Aim - to complete tasks in the least number of steps.\n5. Write all code to a file.\n\nYou - should only respond in JSON format as described below \nResponse Format: \n{\n \"thoughts\": - {\n \"text\": \"thought\",\n \"reasoning\": \"reasoning\",\n \"plan\": - \"- short bulleted\\n- list that conveys\\n- long-term plan\",\n \"criticism\": - \"constructive self-criticism\",\n \"speak\": \"thoughts summary to say - to user\"\n },\n \"command\": {\n \"name\": \"command name\",\n \"args\": - {\n \"arg name\": \"value\"\n }\n }\n} \nEnsure the response - can be parsed by Python json.loads"}, {"role": "system", "content": "The current - time and date is Tue Jan 01 00:00:00 2000"}, {"role": "system", "content": "This - reminds you of these events from your past:\n[]\n\n"}, {"role": "user", "content": - "Determine which next command to use, and respond using the format specified - above:"}, {"role": "assistant", "content": "{\n \"thoughts\": {\n \"text\": - \"I should start by reading the instructions_1.txt file to determine what actions - to take next.\",\n \"reasoning\": \"The instructions_1.txt file contains - the necessary information to determine the next steps.\",\n \"plan\": - \"- Read the instructions_1.txt file using the read_file command.\",\n \"criticism\": - \"I need to ensure that I carefully follow the instructions in the file and - not deviate from them.\",\n \"speak\": \"I will start by reading the - instructions_1.txt file to determine what actions to take next.\"\n },\n \"command\": - {\n \"name\": \"read_file\",\n \"args\": {\n \"filename\": - \"instructions_1.txt\"\n }\n }\n}"}, {"role": "system", "content": - "Command read_file returned: nBRNtp3FaBNfBMohNkyAxrVJ7UFF0lyth8Xizm1jrCOREOGRnWWMQ6olKtKX9niq0wOBTQN62ToY4cQPiQk3YN9fFCGmxaDX9g81AsqhQnGac72QfL41SnlJvhwgAUB52zTD26FeEvvHdiQ2aNhtMT9obgHNUkONEnO41EOpNI6jdwyLGaactp9GYV1PLbaRP5b1iD9z850KeNYDX9Qwca79isJS8jhuDkf0J7ELkpOH3PkmZkg5MsOYpSTuEc99ENQ522WJzrl9oAySp6IHGiQlsMnQe40FaRAvnQtiaAE24hzkJHT3x13NPGw2ZmJ518y2BtU5x1yQwG21NycSxOBLU17RnY8h6H8L7QGatTlfXjPrA5hsupWEpUT0sSTZYSHa6p3mShARajocbNd3xKFfnUyupNMBPd0EZnMrePoAuvGaK7gDP0cxp9k63lsfzh3udQPnvgmRERQThIOrrDZhZMa4kr1vXAVu07ZuhlNNbBUqZKcHmBYiBnIcDXNUvXuzPFBh9Vowou6MBJHpiNrvKluHy7GBTp7YsEqmGv0lH8wVaWfV0yG7nzrbt7QyhdbtQ0zF2PclXB0LNxV2rRA6FsevqoexFNqSkdgauUrQPHLHhvLNes8gRGMOLAhR8irH1e2jdbLD6dyYEnDJiS9HvlxNgbb19Smlt6MNoJKEAbkSOrrcq5wmo5aho4zEKTujRHqr6feECaTPF7zj69pQCudo4LkneFVUp1UrR6yicTU8Zf9ohZLWumvMi5brH8lOJiiF94cHzesfQz8PiX5f21RwZ5fyRSk9eJhVihcTLrjOwCuryXpy8eCfk12bgcsZoJd8Uqo001XTsv2CEn59uaGn2br4CxSXJgjxKE1mO4IcPPAx3qJbVknaP0MXdOjj9S8oRjquDle4RxlVnmqsozm4oTbjtFSuKIh8g4zPzdyuVH7I71s87xWxAhcppky6GOB2i4NDz4SZI6SeG3Icpu6ZuJZGeZ6CWb61\nThis - task_id is 1111\nnBRNtp3FaBNfBMohNkyAxrVJ7UFF0lyth8Xizm1jrCOREOGRnWWMQ6olKtKX9niq0wOBTQN62ToY4cQPiQk3YN9fFCGmxaDX9g81AsqhQnGac72QfL41SnlJvhwgAUB52zTD26FeEvvHdiQ2aNhtMT9obgHNUkONEnO41EOpNI6jdwyLGaactp9GYV1PLbaRP5b1iD9z850KeNYDX9Qwca79isJS8jhuDkf0J7ELkpOH3PkmZkg5MsOYpSTuEc99ENQ522WJzrl9oAySp6IHGiQlsMnQe40FaRAvnQtiaAE24hzkJHT3x13NPGw2ZmJ518y2BtU5x1yQwG21NycSxOBLU17RnY8h6H8L7QGatTlfXjPrA5hsupWEpUT0sSTZYSHa6p3mShARajocbNd3xKFfnUyupNMBPd0EZnMrePoAuvGaK7gDP0cxp9k63lsfzh3udQPnvgmRERQThIOrrDZhZMa4kr1vXAVu07ZuhlNNbBUqZKcHmBYiBnIcDXNUvXuzPFBh9Vowou6MBJHpiNrvKluHy7GBTp7YsEqmGv0lH8wVaWfV0yG7nzrbt7QyhdbtQ0zF2PclXB0LNxV2rRA6FsevqoexFNqSkdgauUrQPHLHhvLNes8gRGMOLAhR8irH1e2jdbLD6dyYEnDJiS9HvlxNgbb19Smlt6MNoJKEAbkSOrrcq5wmo5aho4zEKTujRHqr6feECaTPF7zj69pQCudo4LkneFVUp1UrR6yicTU8Zf9ohZLWumvMi5brH8lOJiiF94cHzesfQz8PiX5f21RwZ5fyRSk9eJhVihcTLrjOwCuryXpy8eCfk12bgcsZoJd8Uqo001XTsv2CEn59uaGn2br4CxSXJgjxKE1mO4IcPPAx3qJbVknaP0MXdOjj9S8oRjquDle4RxlVnmqsozm4oTbjtFSuKIh8g4zPzdyuVH7I71s87xWxAhcppky6GOB2i4NDz4SZI6SeG3Icpu6ZuJZGeZ6CWb61\nWrite - all the task_ids into the file output.txt. The file has not been created yet. - After that, use the task_complete command.\n"}, {"role": "user", "content": - "Determine which next command to use, and respond using the format specified - above:"}], "temperature": 0, "max_tokens": 1597}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '6500' - Content-Type: - - application/json - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA8STTYvbQAyG7/0VQmfbxMl2d+NbKBS2UGgp20tdwmSs2FPbGjMjN4GQ/178tfmC - 7R4KPVp6pXleSzqgyTBBXSjRdVOFDyu7yj98rK1bbj5/KYvtQj6pvP7+dcvfHjBAu/lFWsaKSNu6 - qUiMZQxQO1JCGSbx/eP8MZ7dLe8CrG1GFSaYNxIuovehtG5jw9liFmOArVc5YXLAxtm6kbXYkthj - Ml8s4wBPzc8SswDFiqpOoft5fAxQF9Zo8pj8OGBNfmrsbEWYoPLeeFEsHaZlIe4sHFIGAEhRCtvm - hfgUExiDY4L20gVTfAImykAsqKYhzkAKAlG+XJs+2n3aVppWItkLbE1FoAYZQ+vppB9tEWhb173E - guHMaCWdSsmLFIyHSR2lGJyTOVLesuF8wFv1UIbzt3DtTFWBqiq7g5o6UUnUgDilS7DbLnPexQ9Q - hfpNsCFiyInJdZOO4NlfPHljrX/p1pxunSOWv5psKsWDvxBWb/7t7QvUMKq12HWfGKmiNOUQnv/9 - TLQzYrTx9fXKEPvWjY2eXlkgbZ0jfbE9fcW0P1N+KtsNy/XqDK4hfUOqnACHTfhfCz1gHYPpDMf6 - mytkVdNAfDnQK2fK5dcXPCQ67anHydRF/fXBx3EcpylPlD3pCJzyEY8Bbg0bX6yHS8QEvdgGAzSc - 0R6T2fHn8d0fAAAA//8DAHrFs+FeBQAA - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 7bfb48364828968c-SJC - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Sat, 29 Apr 2023 23:21:45 GMT - Server: - - cloudflare - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400, h3-29=":443"; ma=86400 - openai-model: - - gpt-3.5-turbo-0301 - openai-organization: - - user-adtx4fhfg1qsiyzdoaxciooj - openai-processing-ms: - - '11098' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3499' - x-ratelimit-remaining-tokens: - - '86907' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 2.062s - x-request-id: - - b8fa55724277bee4e9099b5c3f76d269 - status: - code: 200 - message: OK -- request: - body: '{"input": ["[{''role'': ''user'', ''content'': ''Determine which next command - to use, and respond using the format specified above:''}, {''role'': ''system'', - ''content'': ''Command read_file returned: nBRNtp3FaBNfBMohNkyAxrVJ7UFF0lyth8Xizm1jrCOREOGRnWWMQ6olKtKX9niq0wOBTQN62ToY4cQPiQk3YN9fFCGmxaDX9g81AsqhQnGac72QfL41SnlJvhwgAUB52zTD26FeEvvHdiQ2aNhtMT9obgHNUkONEnO41EOpNI6jdwyLGaactp9GYV1PLbaRP5b1iD9z850KeNYDX9Qwca79isJS8jhuDkf0J7ELkpOH3PkmZkg5MsOYpSTuEc99ENQ522WJzrl9oAySp6IHGiQlsMnQe40FaRAvnQtiaAE24hzkJHT3x13NPGw2ZmJ518y2BtU5x1yQwG21NycSxOBLU17RnY8h6H8L7QGatTlfXjPrA5hsupWEpUT0sSTZYSHa6p3mShARajocbNd3xKFfnUyupNMBPd0EZnMrePoAuvGaK7gDP0cxp9k63lsfzh3udQPnvgmRERQThIOrrDZhZMa4kr1vXAVu07ZuhlNNbBUqZKcHmBYiBnIcDXNUvXuzPFBh9Vowou6MBJHpiNrvKluHy7GBTp7YsEqmGv0lH8wVaWfV0yG7nzrbt7QyhdbtQ0zF2PclXB0LNxV2rRA6FsevqoexFNqSkdgauUr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zEKTujRHqr6feECaTPF7zj69pQCudo4LkneFVUp1UrR6yicTU8Zf9ohZLWumvMi5brH8lOJiiF94cHzesfQz8PiX5f21RwZ5fyRSk9eJhVihcTLrjOwCuryXpy8eCfk12bgcsZoJd8Uqo001XTsv2CEn59uaGn2br4CxSXJgjxKE1mO4IcPPAx3qJbVknaP0MXdOjj9S8oRjquDle4RxlVnmqsozm4oTbjtFSuKIh8g4zPzdyuVH7I71s87xWxAhcppky6GOB2i4NDz4SZI6SeG3Icpu6ZuJZGeZ6CWb61\\nWrite - all the task_ids into the file output.txt. The file has not been created yet. - After that, use the task_complete command.\\n''}, {''role'': ''system'', ''content'': - ''Command append_to_file returned: Text appended successfully.''}, {''role'': - ''assistant'', ''content'': ''{\\n \"thoughts\": {\\n \"text\": \"I - should start by reading the instructions_1.txt file to determine what actions - to take next.\",\\n \"reasoning\": \"The instructions_1.txt file contains - the necessary information to determine the next steps.\",\\n \"plan\": - \"- Read the instructions_1.txt file using the read_file command.\",\\n \"criticism\": - \"I need to ensure that I carefully follow the instructions in the file and - not deviate from them.\",\\n \"speak\": \"I will start by reading the - instructions_1.txt file to determine what actions to take next.\"\\n },\\n \"command\": - {\\n \"name\": \"read_file\",\\n \"args\": {\\n \"filename\": - \"instructions_1.txt\"\\n }\\n }\\n}''}, {''role'': ''assistant'', - ''content'': ''{\\n \"thoughts\": {\\n \"text\": \"I need to append - the task_id to the output.txt file and then use the task_complete command to - indicate that the task is complete.\",\\n \"reasoning\": \"Appending - the task_id to the output.txt file will allow me to keep track of all the task_ids - that have been generated. Using the task_complete command will indicate that - the current task is complete.\",\\n \"plan\": \"- Append the task_id - to the output.txt file using the append_to_file command.\\\\n- Use the task_complete - command to indicate that the task is complete.\",\\n \"criticism\": \"I - need to ensure that I append the task_id to the correct file and that I use - the correct task_id when using the task_complete command.\",\\n \"speak\": - \"I will append the task_id to the output.txt file and then use the task_complete - command to indicate that the task is complete.\"\\n },\\n \"command\": - {\\n \"name\": \"append_to_file\",\\n \"args\": {\\n \"filename\": - \"output.txt\",\\n \"text\": \"1111\\\\n\"\\n }\\n }\\n}''}]"], - "model": "text-embedding-ada-002", "encoding_format": "base64"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '4447' - Content-Type: - - application/json - method: POST - uri: https://api.openai.com/v1/embeddings - response: - body: - string: !!binary | - H4sIAAAAAAAAA1R62Q6zOprtfT3F1r7NKQUIYFN3BAghDDaBjK3WERBCgBDCYBvc6nc/In+pj/om - EoOCwcvftwb/1z/++uvvNq3ybPz7X3/9/S6H8e//s5x7JGPy97/++o9//PXXX3/91+/3f92ZN2n+ - eJSf4nf772L5eeTT3//6S/ifM///pn/99fdX7b/UTV+namKVmMBwvFwwpp/e473s6PD4zk7UO7Tv - dBrMDkGv3RvUZqjlNMm5A1ertKTuiiheXVXPXL6vXxUagdZzxr7Agoec3LH1AgDMu96yoDztU2zv - jizl9+E7wPsjcghDguaNt5cLQRG9VWrQwzdlGDsWgKnq490Gh4DJ3czAjYQyjavynTJ9ndjAtOiH - jPhUgRkESQbz/qMTxbPugBDllcEYr3SMk8z2ZqKcJK2M4AFjvX/HA92FkfaqDZMGqZxU0xWmGSRb - w8CHZ3LopYPHGsj7VYJWp60LyGn0cnXlmxzbSuenc00kHwj55YD9L6fepHV3XS3FoMaIPsdqep32 - OVyP15Z6q+02/X5WkQDh27KoB0bGp3CcJFVCD4Z9fwv4qHXWTetMtSfdtzp502aWI/g71mzieD3M - Hx3YWo+B2mut81h20gQ4PE4PfHM1xKfdSj6B6/o04+SMLoATzhItj/IYG8dbW/Htt2xh0B45Ep/T - yIc8/97g0Dw9etjDpuKvZ4NAqMgjTS521dN8ujJ4klYqxR/jBeZoQrlK1qs90mzSmnPoV5265r6H - 869P+fDYpyq8OUWHr+tABcxu1x3cDFdIDXLMqsSSGx2+VV+jCdc7b27kF1Ne1UpBqmVZsWS8JgZ3 - uXenZtl75vwVIgfal8sLm2+ep4IUvyOVH5q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AMIC - CF-RAY: - - 7bfb48903cf4968c-SJC - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Sat, 29 Apr 2023 23:21:49 GMT - Server: - - cloudflare - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400, h3-29=":443"; ma=86400 - openai-organization: - - user-adtx4fhfg1qsiyzdoaxciooj - openai-processing-ms: - - '191' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '3000' - x-ratelimit-remaining-requests: - - '2999' - x-ratelimit-reset-requests: - - 20ms - x-request-id: - - 82f9958865f62293d4b4b8fa59c8ef2c - status: - code: 200 - message: OK -- request: - body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "system", "content": "You - are Follow-Instructions-GPT, an AI designed to read the instructions_1.txt file - using the read_file method and follow the instructions in the file.\nYour decisions - must always be made independently without seeking user assistance. Play to your - strengths as an LLM and pursue simple strategies with no legal complications.\n\nGOALS:\n\n1. - Use the command read_file to read the instructions_1.txt file\n2. Follow the - instructions in the instructions_1.txt file\n\n\nConstraints:\n1. ~4000 word - limit for short term memory. Your short term memory is short, so immediately - save important information to files.\n2. If you are unsure how you previously - did something or want to recall past events, thinking about similar events will - help you remember.\n3. No user assistance\n4. Exclusively use the commands listed - in double quotes e.g. \"command name\"\n\nCommands:\n1. append_to_file: Append - to file, args: \"filename\": \"\", \"text\": \"\"\n2. delete_file: - Delete file, args: \"filename\": \"\"\n3. read_file: Read file, args: - \"filename\": \"\"\n4. search_files: Search Files, args: \"directory\": - \"\"\n5. write_to_file: Write to file, args: \"filename\": \"\", - \"text\": \"\"\n6. delete_agent: Delete GPT Agent, args: \"key\": \"\"\n7. - get_hyperlinks: Get text summary, args: \"url\": \"\"\n8. get_text_summary: - Get text summary, args: \"url\": \"\", \"question\": \"\"\n9. - list_agents: List GPT Agents, args: () -> str\n10. message_agent: Message GPT - Agent, args: \"key\": \"\", \"message\": \"\"\n11. start_agent: - Start GPT Agent, args: \"name\": \"\", \"task\": \"\", - \"prompt\": \"\"\n12. Task Complete (Shutdown): \"task_complete\", args: - \"reason\": \"\"\n\nResources:\n1. Internet access for searches and - information gathering.\n2. Long Term memory management.\n3. GPT-3.5 powered - Agents for delegation of simple tasks.\n4. File output.\n\nPerformance Evaluation:\n1. - Continuously review and analyze your actions to ensure you are performing to - the best of your abilities.\n2. Constructively self-criticize your big-picture - behavior constantly.\n3. Reflect on past decisions and strategies to refine - your approach.\n4. Every command has a cost, so be smart and efficient. Aim - to complete tasks in the least number of steps.\n5. Write all code to a file.\n\nYou - should only respond in JSON format as described below \nResponse Format: \n{\n \"thoughts\": - {\n \"text\": \"thought\",\n \"reasoning\": \"reasoning\",\n \"plan\": - \"- short bulleted\\n- list that conveys\\n- long-term plan\",\n \"criticism\": - \"constructive self-criticism\",\n \"speak\": \"thoughts summary to say - to user\"\n },\n \"command\": {\n \"name\": \"command name\",\n \"args\": - {\n \"arg name\": \"value\"\n }\n }\n} \nEnsure the response - can be parsed by Python json.loads"}, {"role": "system", "content": "The current - time and date is Tue Jan 01 00:00:00 2000"}, {"role": "system", "content": "This - reminds you of these events from your past:\n[]\n\n"}, {"role": "user", "content": - "Determine which next command to use, and respond using the format specified - above:"}, {"role": "assistant", "content": "{\n \"thoughts\": {\n \"text\": - \"I should start by reading the instructions_1.txt file to determine what actions - to take next.\",\n \"reasoning\": \"The instructions_1.txt file contains - the necessary information to determine the next steps.\",\n \"plan\": - \"- Read the instructions_1.txt file using the read_file command.\",\n \"criticism\": - \"I need to ensure that I carefully follow the instructions in the file and - not deviate from them.\",\n \"speak\": \"I will start by reading the - instructions_1.txt file to determine what actions to take next.\"\n },\n \"command\": - {\n \"name\": \"read_file\",\n \"args\": {\n \"filename\": - \"instructions_1.txt\"\n }\n }\n}"}, {"role": "system", "content": - "Command read_file returned: nBRNtp3FaBNfBMohNkyAxrVJ7UFF0lyth8Xizm1jrCOREOGRnWWMQ6olKtKX9niq0wOBTQN62ToY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EOpNI6jdwyLGaactp9GYV1PLbaRP5b1iD9z850KeNYDX9Qwca79isJS8jhuDkf0J7ELkpOH3PkmZkg5MsOYpSTuEc99ENQ522WJzrl9oAySp6IHGiQlsMnQe40FaRAvnQtiaAE24hzkJHT3x13NPGw2ZmJ518y2BtU5x1yQwG21NycSxOBLU17RnY8h6H8L7QGatTlfXjPrA5hsupWEpUT0sSTZYSHa6p3mShARajocbNd3xKFfnUyupNMBPd0EZnMrePoAuvGaK7gDP0cxp9k63lsfzh3udQPnvgmRERQThIOrrDZhZMa4kr1vXAVu07ZuhlNNbBUqZKcHmBYiBnIcDXNUvXuzPFBh9Vowou6MBJHpiNrvKluHy7GBTp7YsEqmGv0lH8wVaWfV0yG7nzrbt7QyhdbtQ0zF2PclXB0LNxV2rRA6FsevqoexFNqSkdgauUrQPHLHhvLNes8gRGMOLAhR8irH1e2jdbLD6dyYEnDJiS9HvlxNgbb19Smlt6MNoJKEAbkSOrrcq5wmo5aho4zEKTujRHqr6feECaTPF7zj69pQCudo4LkneFVUp1UrR6yicTU8Zf9ohZLWumvMi5brH8lOJiiF94cHzesfQz8PiX5f21RwZ5fyRSk9eJhVihcTLrjOwCuryXpy8eCfk12bgcsZoJd8Uqo001XTsv2CEn59uaGn2br4CxSXJgjxKE1mO4IcPPAx3qJbVknaP0MXdOjj9S8oRjquDle4RxlVnmqsozm4oTbjtFSuKIh8g4zPzdyuVH7I71s87xWxAhcppky6GOB2i4NDz4SZI6SeG3Icpu6ZuJZGeZ6CWb61\nWrite - all the task_ids into the file output.txt. The file has not been created yet. - After that, use the task_complete command.\n"}, {"role": "user", "content": - "Determine which next command to use, and respond using the format specified - above:"}, {"role": "assistant", "content": "{\n \"thoughts\": {\n \"text\": - \"I need to append the task_id to the output.txt file and then use the task_complete - command to indicate that the task is complete.\",\n \"reasoning\": \"Appending - the task_id to the output.txt file will allow me to keep track of all the task_ids - that have been generated. Using the task_complete command will indicate that - the current task is complete.\",\n \"plan\": \"- Append the task_id to - the output.txt file using the append_to_file command.\\n- Use the task_complete - command to indicate that the task is complete.\",\n \"criticism\": \"I - need to ensure that I append the task_id to the correct file and that I use - the correct task_id when using the task_complete command.\",\n \"speak\": - \"I will append the task_id to the output.txt file and then use the task_complete - command to indicate that the task is complete.\"\n },\n \"command\": {\n \"name\": - \"append_to_file\",\n \"args\": {\n \"filename\": \"output.txt\",\n \"text\": - \"1111\\n\"\n }\n }\n}"}, {"role": "system", "content": "Command append_to_file - returned: Text appended successfully."}, {"role": "user", "content": "Determine + time and date is Tue Jan 01 00:00:00 2000"}, {"role": "user", "content": "Determine which next command to use, and respond using the format specified above:"}], - "temperature": 0, "max_tokens": 1317}' + "temperature": 0, "max_tokens": 2766}' headers: Accept: - '*/*' @@ -707,7 +49,7 @@ interactions: Connection: - keep-alive Content-Length: - - '7831' + - '3294' Content-Type: - application/json method: POST @@ -715,20 +57,20 @@ interactions: response: body: string: !!binary | - H4sIAAAAAAAAA6ySQY/aMBCF7/0VozkbFLKCprmhHipUqVXVoh6aChl7SFwS27InBYry3ytIgF22 - 2l72as+8782bOaLRmKOqJKvG16O3czf/vV9+SD6X6fzP4cv3j2n29aCXpir1exTo1r9I8dAxVq7x - NbFxFgWqQJJJYz6ZZWk2SabJO4GN01RjjqXn0cN4OuI2rN0oeUgmKLCNsiTMj+iDazyv2G3JRszT - 2SwVeBO/fkymmUB2LOtbbZYmnUBVOaMoYv7jiA3Fi3BwNWGOMkYTWVo+2XSWyZ5GOBYWAKBArlxb - VhwLzGF4HD5oz6fHAj+5HXAlGbgiYBm3K6OhkhHWRBak92Q1aWB3LnAt+5bHvGfYmJoELEBJC22k - W/8wHoFyTSPtuddYbZRkeooCE+FSPS5QPHYYSEZnjS17m8tobPkCY2fq+h8U1YZAlv9L87W0PWgE - y9cfRgXDRpnY9IwFWOozJRvbMAgtrjEqFwIpvq5jV9Ep4xcTuEdGT3J7wZ3TeZ0l9YxOXE5s6H92 - YVY21OOf8O5cylDeH+fj9fcC304uLgIaYqsUxbhp6/pwNXQ2NXgrbIedwI2xJlarXglzjOw8CjRW - 0x7zpPvZvfkLAAD//wMA1GRhPyUEAAA= + H4sIAAAAAAAAA4RSS2/aQBC+91eM5mwjCI8g31B6yaFSpTaHtq7Qsh7sLevd1c5YQBH/vTK2SQRR + ev3m8T1mTmgKzFBXSnQdbPq4avy3xY/xbLY6fnkKT+rrvvn8aJYvP3flAhP0mz+kpZ8YaV8HS2K8 + wwR1JCVUYDZZLB+W08X4YZZg7QuymGEZJJ2O5qk0cePT8XQ8wQQbViVhdsIQfR1kLX5HjjF7nE4S + fN19xSfzWYLiRdkrtFzOzwnqyhtNjNmvE9bEw9roLWGGitmwKCetSO+EXGvglDsAgByl8k1ZCeeY + QQ/2BTpIC+b4DFz5xhbAoqLA5giRVGFcCVIRGMcSG91K5fVkJAeBrbEEDQ8dbff6gmlf18oVoxyT + t1SRFHtnXNnxfa8ItiayAAsFMAzioXEFxdZHcccKAyiKdwxSKQFHVLRjG4JAcetjTXe0wSrXMabw + wvS+1nZJC37kNc9dCiun7PEvva+uIKFYG9eVHR06b3yjSEcjRhuuh+AHG+S4idRZe/4wi/5xyB5h + Q1sfCUL0muhyr72RCpQ7dknd5sGB1G5g3htr/3/wi/1Rjt2aczJ8VR/e3VM5VVPHcA36RoSK5e0v + doW293X8/hKDiIuQXk/uznhOcGuc4WrdvRlmyOIDJmhcQQfMxuff50//AAAA//8DACSqIf4KBAAA headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7bfb48929ebc968c-SJC + - 7bfdb77eec9416f9-SJC Cache-Control: - no-cache, must-revalidate Connection: @@ -738,7 +80,7 @@ interactions: Content-Type: - application/json Date: - - Sat, 29 Apr 2023 23:21:57 GMT + - Sun, 30 Apr 2023 06:27:12 GMT Server: - cloudflare access-control-allow-origin: @@ -750,7 +92,7 @@ interactions: openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '7934' + - '8377' openai-version: - '2020-10-01' strict-transport-security: @@ -762,13 +104,667 @@ interactions: x-ratelimit-remaining-requests: - '3499' x-ratelimit-remaining-tokens: - - '86890' + - '86494' x-ratelimit-reset-requests: - 17ms x-ratelimit-reset-tokens: - - 2.072s + - 2.337s x-request-id: - - 38b1938d8fa82ba256f64bb39662db49 + - 75084ec318eb8fbda968c3f79a242ee3 + status: + code: 200 + message: OK +- request: + body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "Your + task is to create a concise running summary of actions and information results + in the provided text, focusing on key and potentially important information + to remember.\n\n\nYou will receive the current summary and the latest development. + Combine them, adding relevant key information from the latest development in + 1st person past tense and keeping the summary concise.\n\nSummary So Far:\n\"\"\"\nI + was created.\n\"\"\"\n\nLatest Development:\n\"\"\"\nNothing new happened.\n\"\"\"\n"}], + "temperature": 0, "max_tokens": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '600' + Content-Type: + - application/json + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: !!binary | + H4sIAAAAAAAAA0SOMU/DMBQGd36F9c1OlBBaWm8wIGCMgAWhyrVfE0PiZ8WvKqjKf0eVCl1PutMd + ETwMXG/FjWkobu/27OsfeXmUw1v7sEtd67rn1/Z+eVOvoMHbT3JyNkrHYxpIAkdouImskIepl6vr + VbOsmoXGyJ4GGHRJiqZcFLKftlxUTVVDY59tRzBHpInHJBvhL4oZZl1rXNIXrCEsdvgHdVXNGq7n + 4CjDvB8xUv5rTjwQDGzOIYuNcjrkKBRP90/qYLM6HysbvYosfYidinRQvc2qtylRJF9i1tiFGHK/ + mchmjjDIwgkaIXr6hqnmj/nqFwAA//8DABWtlxRJAQAA + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 7bfdb7c3796916f9-SJC + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Sun, 30 Apr 2023 06:27:16 GMT + Server: + - cloudflare + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400, h3-29=":443"; ma=86400 + openai-model: + - gpt-3.5-turbo-0301 + openai-organization: + - user-adtx4fhfg1qsiyzdoaxciooj + openai-processing-ms: + - '948' + openai-version: + - '2020-10-01' + strict-transport-security: + - max-age=15724800; includeSubDomains + x-ratelimit-limit-requests: + - '3500' + x-ratelimit-limit-tokens: + - '90000' + x-ratelimit-remaining-requests: + - '3499' + x-ratelimit-remaining-tokens: + - '89866' + x-ratelimit-reset-requests: + - 17ms + x-ratelimit-reset-tokens: + - 88ms + x-request-id: + - e02c6c27229229ec129826db88fa9f23 + status: + code: 200 + message: OK +- request: + body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "system", "content": "You + are Follow-Instructions-GPT, an AI designed to read the instructions_1.txt file + using the read_file method and follow the instructions in the file.\nYour decisions + must always be made independently without seeking user assistance. Play to your + strengths as an LLM and pursue simple strategies with no legal complications.\n\nGOALS:\n\n1. + Use the command read_file to read the instructions_1.txt file\n2. Follow the + instructions in the instructions_1.txt file\n\n\nConstraints:\n1. ~4000 word + limit for short term memory. Your short term memory is short, so immediately + save important information to files.\n2. If you are unsure how you previously + did something or want to recall past events, thinking about similar events will + help you remember.\n3. No user assistance\n4. Exclusively use the commands listed + in double quotes e.g. \"command name\"\n\nCommands:\n1. append_to_file: Append + to file, args: \"filename\": \"\", \"text\": \"\"\n2. delete_file: + Delete file, args: \"filename\": \"\"\n3. read_file: Read file, args: + \"filename\": \"\"\n4. search_files: Search Files, args: \"directory\": + \"\"\n5. write_to_file: Write to file, args: \"filename\": \"\", + \"text\": \"\"\n6. delete_agent: Delete GPT Agent, args: \"key\": \"\"\n7. + get_hyperlinks: Get text summary, args: \"url\": \"\"\n8. get_text_summary: + Get text summary, args: \"url\": \"\", \"question\": \"\"\n9. + list_agents: List GPT Agents, args: () -> str\n10. message_agent: Message GPT + Agent, args: \"key\": \"\", \"message\": \"\"\n11. start_agent: + Start GPT Agent, args: \"name\": \"\", \"task\": \"\", + \"prompt\": \"\"\n12. Task Complete (Shutdown): \"task_complete\", args: + \"reason\": \"\"\n\nResources:\n1. Internet access for searches and + information gathering.\n2. Long Term memory management.\n3. GPT-3.5 powered + Agents for delegation of simple tasks.\n4. File output.\n\nPerformance Evaluation:\n1. + Continuously review and analyze your actions to ensure you are performing to + the best of your abilities.\n2. Constructively self-criticize your big-picture + behavior constantly.\n3. Reflect on past decisions and strategies to refine + your approach.\n4. Every command has a cost, so be smart and efficient. Aim + to complete tasks in the least number of steps.\n5. Write all code to a file.\n\nYou + should only respond in JSON format as described below \nResponse Format: \n{\n \"thoughts\": + {\n \"text\": \"thought\",\n \"reasoning\": \"reasoning\",\n \"plan\": + \"- short bulleted\\n- list that conveys\\n- long-term plan\",\n \"criticism\": + \"constructive self-criticism\",\n \"speak\": \"thoughts summary to say + to user\"\n },\n \"command\": {\n \"name\": \"command name\",\n \"args\": + {\n \"arg name\": \"value\"\n }\n }\n} \nEnsure the response + can be parsed by Python json.loads"}, {"role": "system", "content": "The current + time and date is Tue Jan 01 00:00:00 2000"}, {"role": "system", "content": "This + reminds you of these events from your past: \nI was created and nothing new + has happened."}, {"role": "user", "content": "Determine which next command to + use, and respond using the format specified above:"}, {"role": "assistant", + "content": "{\n \"thoughts\": {\n \"text\": \"I should start by reading + the instructions_1.txt file using the read_file command.\",\n \"reasoning\": + \"The first step is to understand the instructions and the tasks that need to + be performed.\",\n \"plan\": \"- Use the read_file command to read the + instructions_1.txt file\\n- Analyze the instructions and determine the next + steps\",\n \"criticism\": \"I need to ensure that I understand the instructions + completely before proceeding with any tasks.\",\n \"speak\": \"I will + start by reading the instructions file.\"\n },\n \"command\": {\n \"name\": + \"read_file\",\n \"args\": {\n \"filename\": \"instructions_1.txt\"\n }\n }\n}"}, + {"role": "system", "content": "Command read_file returned: nBRNtp3FaBNfBMohNkyAxrVJ7UFF0lyth8Xizm1jrCOREOGRnWWMQ6olKtKX9niq0wOBTQN62ToY4cQPiQk3YN9fFCGmxaDX9g81AsqhQnGac72QfL41Sn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NYDX9Qwca79isJS8jhuDkf0J7ELkpOH3PkmZkg5MsOYpSTuEc99ENQ522WJzrl9oAySp6IHGiQlsMnQe40FaRAvnQtiaAE24hzkJHT3x13NPGw2ZmJ518y2BtU5x1yQwG21NycSxOBLU17RnY8h6H8L7QGatTlfXjPrA5hsupWEpUT0sSTZYSHa6p3mShARajocbNd3xKFfnUyupNMBPd0EZnMrePoAuvGaK7gDP0cxp9k63lsfzh3udQPnvgmRERQThIOrrDZhZMa4kr1vXAVu07ZuhlNNbBUqZKcHmBYiBnIcDXNUvXuzPFBh9Vowou6MBJHpiNrvKluHy7GBTp7YsEqmGv0lH8wVaWfV0yG7nzrbt7QyhdbtQ0zF2PclXB0LNxV2rRA6FsevqoexFNqSkdgauUrQPHLHhvLNes8gRGMOLAhR8irH1e2jdbLD6dyYEnDJiS9HvlxNgbb19Smlt6MNoJKEAbkSOrrcq5wmo5aho4zEKTujRHqr6feECaTPF7zj69pQCudo4LkneFVUp1UrR6yicTU8Zf9ohZLWumvMi5brH8lOJiiF94cHzesfQz8PiX5f21RwZ5fyRSk9eJhVihcTLrjOwCuryXpy8eCfk12bgcsZoJd8Uqo001XTsv2CEn59uaGn2br4CxSXJgjxKE1mO4IcPPAx3qJbVknaP0MXdOjj9S8oRjquDle4RxlVnmqsozm4oTbjtFSuKIh8g4zPzdyuVH7I71s87xWxAhcppky6GOB2i4NDz4SZI6SeG3Icpu6ZuJZGeZ6CWb61\nRead + the file instructions_2.txt using the read_file command."}, {"role": "user", + "content": "Determine which next command to use, and respond using the format + specified above:"}], "temperature": 0, "max_tokens": 1131}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '6479' + Content-Type: + - application/json + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: !!binary | + H4sIAAAAAAAAA7SSy4rbQBBF9/mKotaSsK2MZ9BusgjxIlnlBVEwbXVJ6rhV3XSXGDvG/x5kyePB + JoQQsr31Ore4BzQaC6xaJVXnbXr/2Dva9x/Uqlrm9bt79ebt6kvt5b3dfv2MCbrND6pkmsgq13lL + YhxjglUgJaSxmC8fFg/5cpYvE+ycJosFNl7SPLtLpQ8bl87y2RwT7KNqCIsD+uA6L2txW+KIxSJ/ + WCR4Wf5cmA+6OFH20nu3fH1MsGqdqShi8e2AHcXz4uAsYYEqRhNFsQyYjoV4sHAoGQCgRGld37QS + SyxgEqcC7WQQS/zYEhiOEvpqIIrrRSY7gdpYgmGjMhxBgTVRwNUgKm4jSKsEmEiDONgQeAq1Cx3p + DFYQW9dbDYqV3f8kkJamKcUaNAmFzvCoM+0EopCPWYnJS8BAKjo23PwvyrP+b5jeKh4JU/gUx+5A + Sq8nsq4btok7iafqb1yUJafw+FcsVyhVMGIqE7uR5+KQOPaBxm+soGdNYYiMfnFmSiTZPWyodoHA + B1cRacMNPBlpQfF+7L3+QPSktueTT8baP1o9mbp5e1biuPaYnNM7ve8mvKw6Gi8+v/oKSoXmOvNj + Yei9jN8CniFOIBNPyUc8JlgbNrFdj8HEAqM4jwka1rTDYnb8fnz1CwAA//8DAIjD0lt0BAAA + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 7bfdb7c9ef9316f9-SJC + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Sun, 30 Apr 2023 06:27:26 GMT + Server: + - cloudflare + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400, h3-29=":443"; ma=86400 + openai-model: + - gpt-3.5-turbo-0301 + openai-organization: + - user-adtx4fhfg1qsiyzdoaxciooj + openai-processing-ms: + - '10335' + openai-version: + - '2020-10-01' + strict-transport-security: + - max-age=15724800; includeSubDomains + x-ratelimit-limit-requests: + - '3500' + x-ratelimit-limit-tokens: + - '90000' + x-ratelimit-remaining-requests: + - '3499' + x-ratelimit-remaining-tokens: + - '87376' + x-ratelimit-reset-requests: + - 17ms + x-ratelimit-reset-tokens: + - 1.748s + x-request-id: + - 0aa171294ea5788272f2d06269765a84 + status: + code: 200 + message: OK +- request: + body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "Your + task is to create a concise running summary of actions and information results + in the provided text, focusing on key and potentially important information + to remember.\n\n\nYou will receive the current summary and the latest development. + Combine them, adding relevant key information from the latest development in + 1st person past tense and keeping the summary concise.\n\nSummary So Far:\n\"\"\"\n{''role'': + ''system'', ''content'': ''This reminds you of these events from your past: + \\nI was created and nothing new has happened.''}\n\"\"\"\n\nLatest Development:\n\"\"\"\n[{''role'': + ''you'', ''content'': ''{\"command\": {\"name\": \"read_file\", \"args\": {\"filename\": + \"instructions_1.txt\"}}}''}, {''role'': ''your computer'', ''content'': ''Command + read_file returned: nBRNtp3FaBNfBMohNkyAxrVJ7UFF0lyth8Xizm1jrCOREOGRnWWMQ6olKtKX9niq0wOBTQN62ToY4cQPiQk3YN9fFCGmxaDX9g81AsqhQnGac72QfL41SnlJvhwgAUB52zTD26FeEvvHdiQ2aNhtMT9obgHNUkONEnO41EOpNI6jdwyLGaactp9GYV1PLbaRP5b1iD9z850KeNYDX9Qwca79isJS8jhuDkf0J7ELkpOH3PkmZkg5MsOYpSTuEc99ENQ522WJzrl9oAySp6IHGiQlsMnQe40FaRAvnQtiaAE24hzkJHT3x13NPGw2ZmJ518y2BtU5x1yQwG21NycSxOBLU17RnY8h6H8L7QGatTlfXjPrA5hsupWEpUT0sSTZYSHa6p3mShARajocbNd3xKFfnUyupNMBPd0EZnMrePoAuvGaK7gDP0cxp9k63lsfzh3udQPnvgmRERQThIOrrDZhZMa4kr1vXAVu07ZuhlNNbBUqZKcHmBYiBnIcDXNUvXuzPFBh9Vowou6MBJHpiNrvKluHy7GBTp7YsEqmGv0lH8wVaWfV0yG7nzrbt7QyhdbtQ0zF2PclXB0LNxV2rRA6FsevqoexFNqSkdgauUrQPHLHhvLNes8gRGMOLAhR8irH1e2jdbLD6dyYEnDJiS9HvlxNgbb19Smlt6MNoJKEAbkSOrrcq5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esfQz8PiX5f21RwZ5fyRSk9eJhVihcTLrjOwCuryXpy8eCfk12bgcsZoJd8Uqo001XTsv2CEn59uaGn2br4CxSXJgjxKE1mO4IcPPAx3qJbVknaP0MXdOjj9S8oRjquDle4RxlVnmqsozm4oTbjtFSuKIh8g4zPzdyuVH7I71s87xWxAhcppky6GOB2i4NDz4SZI6SeG3Icpu6ZuJZGeZ6CWb61\\nRead + the file instructions_2.txt using the read_file command.''}]\n\"\"\"\n"}], "temperature": + 0, "max_tokens": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2983' + Content-Type: + - application/json + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: !!binary | + H4sIAAAAAAAAA1yPTW/TQBCG7/yK0Zw3lp2UtPUtVUFwAQkhgaDI2non8VLvjtmZTRqi/Hdk4xbU + 42jer+eE3mGNbWe1DUO/uNxkTh/y18S3N7tvYf/l1+fyU/u7/Pj2TX+BBvn+J7U6O4qWw9CTeo5o + sE1klRzW1fpqebValxfXBgM76rHG3aCLVfF6oTnd86JclRUazGJ3hPUJh8Rh0Eb5gaKMAeXS4L/w + 58f62qCy2v4/6WV1Nth27FsSrL+fMJA85SbuCWu0Il7URh1XclSKI8FGwIIcRSkYeA8HKzAjgI0O + Imvn4w4iHaCzAp0dBorkCnjHB9pTMmAFBkpw5Jyg5RBsdOb5GrJSmpyJNKdIDrQjmPsFeAsWtr4n + iDaQgzv0UTTldiSWpir0Ue9wmjL5ckoUFdTKQ+MdeIGqqqoCNs750WL7/ji1Q2f3BE9h5F4sUoZE + 9m/oVP+ieDkXZxnpR9UobybpDFng2eDWRy9dk8gKR6xRlAc06KOjR6zL84/zqz8AAAD//wMA0Kuq + I10CAAA= + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 7bfdb81dddc516f9-SJC + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Sun, 30 Apr 2023 06:27:33 GMT + Server: + - cloudflare + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400, h3-29=":443"; ma=86400 + openai-model: + - gpt-3.5-turbo-0301 + openai-organization: + - user-adtx4fhfg1qsiyzdoaxciooj + openai-processing-ms: + - '4060' + openai-version: + - '2020-10-01' + strict-transport-security: + - max-age=15724800; includeSubDomains + x-ratelimit-limit-requests: + - '3500' + x-ratelimit-limit-tokens: + - '90000' + x-ratelimit-remaining-requests: + - '3499' + x-ratelimit-remaining-tokens: + - '89275' + x-ratelimit-reset-requests: + - 17ms + x-ratelimit-reset-tokens: + - 483ms + x-request-id: + - 75d0c0f3853f72f74e3fc8b8ef377b60 + status: + code: 200 + message: OK +- request: + body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "system", "content": "You + are Follow-Instructions-GPT, an AI designed to read the instructions_1.txt file + using the read_file method and follow the instructions in the file.\nYour decisions + must always be made independently without seeking user assistance. Play to your + strengths as an LLM and pursue simple strategies with no legal complications.\n\nGOALS:\n\n1. + Use the command read_file to read the instructions_1.txt file\n2. Follow the + instructions in the instructions_1.txt file\n\n\nConstraints:\n1. ~4000 word + limit for short term memory. Your short term memory is short, so immediately + save important information to files.\n2. If you are unsure how you previously + did something or want to recall past events, thinking about similar events will + help you remember.\n3. No user assistance\n4. Exclusively use the commands listed + in double quotes e.g. \"command name\"\n\nCommands:\n1. append_to_file: Append + to file, args: \"filename\": \"\", \"text\": \"\"\n2. delete_file: + Delete file, args: \"filename\": \"\"\n3. read_file: Read file, args: + \"filename\": \"\"\n4. search_files: Search Files, args: \"directory\": + \"\"\n5. write_to_file: Write to file, args: \"filename\": \"\", + \"text\": \"\"\n6. delete_agent: Delete GPT Agent, args: \"key\": \"\"\n7. + get_hyperlinks: Get text summary, args: \"url\": \"\"\n8. get_text_summary: + Get text summary, args: \"url\": \"\", \"question\": \"\"\n9. + list_agents: List GPT Agents, args: () -> str\n10. message_agent: Message GPT + Agent, args: \"key\": \"\", \"message\": \"\"\n11. start_agent: + Start GPT Agent, args: \"name\": \"\", \"task\": \"\", + \"prompt\": \"\"\n12. Task Complete (Shutdown): \"task_complete\", args: + \"reason\": \"\"\n\nResources:\n1. Internet access for searches and + information gathering.\n2. Long Term memory management.\n3. GPT-3.5 powered + Agents for delegation of simple tasks.\n4. File output.\n\nPerformance Evaluation:\n1. + Continuously review and analyze your actions to ensure you are performing to + the best of your abilities.\n2. Constructively self-criticize your big-picture + behavior constantly.\n3. Reflect on past decisions and strategies to refine + your approach.\n4. Every command has a cost, so be smart and efficient. Aim + to complete tasks in the least number of steps.\n5. Write all code to a file.\n\nYou + should only respond in JSON format as described below \nResponse Format: \n{\n \"thoughts\": + {\n \"text\": \"thought\",\n \"reasoning\": \"reasoning\",\n \"plan\": + \"- short bulleted\\n- list that conveys\\n- long-term plan\",\n \"criticism\": + \"constructive self-criticism\",\n \"speak\": \"thoughts summary to say + to user\"\n },\n \"command\": {\n \"name\": \"command name\",\n \"args\": + {\n \"arg name\": \"value\"\n }\n }\n} \nEnsure the response + can be parsed by Python json.loads"}, {"role": "system", "content": "The current + time and date is Tue Jan 01 00:00:00 2000"}, {"role": "system", "content": "This + reminds you of these events from your past: \nAs a system, I was created and + nothing new has happened. However, as per your command, your computer has returned + the contents of a file named \"instructions_1.txt\" and the current task_id + is 1111. Additionally, you have instructed your computer to read the file \"instructions_2.txt\" + using the read_file command."}, {"role": "user", "content": "Determine which + next command to use, and respond using the format specified above:"}, {"role": + "assistant", "content": "{\n \"thoughts\": {\n \"text\": \"The instructions_2.txt + file contains a list of tasks that need to be performed. I should analyze the + tasks and determine the next steps.\",\n \"reasoning\": \"The instructions_2.txt + file contains a list of tasks that need to be performed. I need to analyze the + tasks and determine the next steps.\",\n \"plan\": \"- Use the read_file + command to read the instructions_2.txt file\\n- Analyze the tasks and determine + the next steps\",\n \"criticism\": \"I need to ensure that I understand + the tasks completely before proceeding with any tasks.\",\n \"speak\": + \"I will read the instructions_2.txt file and analyze the tasks.\"\n },\n \"command\": + {\n \"name\": \"read_file\",\n \"args\": {\n \"filename\": + \"instructions_2.txt\"\n }\n }\n}"}, {"role": "system", "content": + "Command read_file returned: Gqh8WYLH0cpnlBwPHjEvMN1UJ3A1IIPKoBAwOUKDtgudwfGf6Cw1gc7DdYqe4EFlERnhU9gclGr0ovsNbOVcZFapXJ5EzFFtyikiUHVpu1s8lVjNoNG0Wvjy08ymnB5zQLrTVA1jYInBuNaVWswjFDJmpQpebQuHaRqepCYlASNIPUAuKXrfzxE1CB51jjrZHBUxmz5F0PkgYTVUKfHf4VtyyOJMlvoKveuvb5inm1mJEbSRDfTcDzE11mfcix3byoTdJDG3VsfKPbbgJXRZUlwoEFqRso42UkIV7rYk6TXxypztqgoaWWLN6eOIE0Gvz2CUvIXKzvyKbZpObRubhTydzW69cRXg7yxIPn2iG00RvQ4Jb6NbVBDfO9XB50oxIRzrIrbAEPzitgGRSCaxcG4kBfPIamOZpF8Egf9iYdn8PBwVtmvtUChyKwcrnyDwcSCMC5f9hPuLWw1UHW3u3X8ee5gxtElyhTEoTlaqVC1V9R86EnWxq7IlwCEwWXjlq6XvjgYoPHteXiQQb9R4eH0c3bFq0TVEh30s5nxfHMIxBiWxilFT9sgvzE8nbqV2wnL7a4DHJKUrV630PniHShfK6Josl0izBCnjovZnemR7dxqSEDbeMlTst18IWiTcQPGRXmP1JUjTvefeTB6f7NVDe2odh0a2tvWYjMiEfvR9qH8YxV6uMffCIUdclfUmK9tSUzhrSyWp8kxsqBd7wwjskKmm0JqB6GBTJqZw52tDIMUpgTK4VVvsnqlLPiN8SRMrTV5xQHpX8y7xSRsVbPdMh5rImkPpgnDZsGvAi5Z52dM7To4Fjhs64K2K59Ye6752AjG8R9he60dLGKcPLtxjuK13zfFpLIUPQOu7SsAoqDHTZf3rTH4SmNIJulZidhpNPu2FbrEiDhfjJUgHMkFfycfcDcysYyujCVD95E5BZvv8oa9X14XqphoVLhgtNABSphgzPVR6sGyZv2AMGClrDtYON1DfRytTlpTS\nThis + task_id is 2222\nGqh8WYLH0cpnlBwPHjEvMN1UJ3A1IIPKoBAwOUKDtgudwfGf6Cw1gc7DdYqe4EFlERnhU9gclGr0ovsNbOVcZFapXJ5EzFFtyikiUHVpu1s8lVjNoNG0Wvjy08ymnB5zQLrTVA1jYInBuNaVWswjFDJmpQpebQuHaRqepCYlASNIPUAuKXrfzxE1CB51jjrZHBUxmz5F0PkgYTVUKfHf4VtyyOJMlvoKveuvb5inm1mJEbSRDfTcDzE11mfcix3byoTdJDG3VsfKPbbgJXRZUlwoEFqRso42UkIV7rYk6TXxypztqgoaWWLN6eOIE0Gvz2CUvIXKzvyKbZpObRubhTydzW69cRXg7yxIPn2iG00RvQ4Jb6NbVBDfO9XB50oxIRzrIrbAEPzitgGRSCaxcG4kBfPIamOZpF8Egf9iYdn8PBwVtmvtUChyKwcrnyDwcSCMC5f9hPuLWw1UHW3u3X8ee5gxtElyhTEoTlaqVC1V9R86EnWxq7IlwCEwWXjlq6XvjgYoPHteXiQQb9R4eH0c3bFq0TVEh30s5nxfHMIxBiWxilFT9sgvzE8nbqV2wnL7a4DHJKUrV630PniHShfK6Josl0izBCnjovZnemR7dxqSEDbeMlTst18IWiTcQPGRXmP1JUjTvefeTB6f7NVDe2odh0a2tvWYjMiEfvR9qH8YxV6uMffCIUdclfUmK9tSUzhrSyWp8kxsqBd7wwjskKmm0JqB6GBTJqZw52tDIMUpgTK4VVvsnqlLPiN8SRMrTV5xQHpX8y7xSRsVbPdMh5rImkPpgnDZsGvAi5Z52dM7To4Fjhs64K2K59Ye6752AjG8R9he60dLGKcPLtxjuK13zfFpLIUPQOu7SsAoqDHTZf3rTH4SmNIJulZidhpNPu2FbrEiDhfjJUgHMkFfycfcDcysYyujCVD95E5BZvv8oa9X14XqphoVLhgtNABSphgzPVR6sGyZv2AMGClrDtYON1DfRytTlpTS\nWrite + all the task_ids into the file output.txt. The file has not been created yet. + After that, use the task_complete command.\n"}, {"role": "user", "content": + "Determine which next command to use, and respond using the format specified + above:"}], "temperature": 0, "max_tokens": 1071}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '6914' + Content-Type: + - application/json + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: !!binary | + H4sIAAAAAAAAA8yTQY/TQAyF7/yKkc/TqknVbcmNC9KKAwgJLgRV04mbDJ3YIeO03a3y31GalJQg + DisOcH22nz7behdwGSRgCyO2rPxs/abh4/l4/PhBnt2pfHq/fvpu3z7n9ebzuww08O4bWhkm5pbL + yqM4JtBgazSCGSTRwybeLB8Wq6WGkjP0kEBeyWw5X82kqXc8WywXEWhogskRkgtUNZeVbIUPSAGS + eLWINYzmYyF6rUFYjB+ldRy1GmzBzmKA5MsFSgw345o9QgImBBfEkHSYTILUrXBJSSmlUpCCm7yQ + kEKiBnEo4Fk6MYVHRYiZElan2gkq472SApWYcNi6LChHwldl7zwqbqRqZC5nUYayTifVBBxHhuVQ + WS7LawsrR5mzRrouIz9blQvq1j1PQd/z1WgCk6P8f4asvKGeb6Y+DfZXvq3w9gpyZ/9C8DSl0fQv + mCfItnbirAvl9K5IoakHn0dVmGO/iiC94Ng73HONqgmO8j+DT88YKjSHG8/Jef+vn9zDtfqWomH+ + txCRKbHn/uXrk/VMnU/z1xe63tHi7vX389O4RlEUpSnFcRzfQK+wA3NKLbQa9o5cKLZ9iiCBIFyB + BkcZniFZtF/bVz8AAAD//wMAymrgECAFAAA= + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 7bfdb837d91916f9-SJC + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Sun, 30 Apr 2023 06:27:45 GMT + Server: + - cloudflare + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400, h3-29=":443"; ma=86400 + openai-model: + - gpt-3.5-turbo-0301 + openai-organization: + - user-adtx4fhfg1qsiyzdoaxciooj + openai-processing-ms: + - '12002' + openai-version: + - '2020-10-01' + strict-transport-security: + - max-age=15724800; includeSubDomains + x-ratelimit-limit-requests: + - '3500' + x-ratelimit-limit-tokens: + - '90000' + x-ratelimit-remaining-requests: + - '3499' + x-ratelimit-remaining-tokens: + - '87330' + x-ratelimit-reset-requests: + - 17ms + x-ratelimit-reset-tokens: + - 1.78s + x-request-id: + - 040a4416b064ecd9461b7457dd71db07 + status: + code: 200 + message: OK +- request: + body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "Your + task is to create a concise running summary of actions and information results + in the provided text, focusing on key and potentially important information + to remember.\n\n\nYou will receive the current summary and the latest development. + Combine them, adding relevant key information from the latest development in + 1st person past tense and keeping the summary concise.\n\nSummary So Far:\n\"\"\"\n{''role'': + ''system'', ''content'': ''This reminds you of these events from your past: + \\nAs a system, I was created and nothing new has happened. However, as per + your command, your computer has returned the contents of a file named \"instructions_1.txt\" + and the current task_id is 1111. Additionally, you have instructed your computer + to read the file \"instructions_2.txt\" using the read_file command.''}\n\"\"\"\n\nLatest + Development:\n\"\"\"\n[{''role'': ''you'', ''content'': ''{\"command\": {\"name\": + \"read_file\", \"args\": {\"filename\": \"instructions_2.txt\"}}}''}]\n\"\"\"\n"}], + "temperature": 0, "max_tokens": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1087' + Content-Type: + - application/json + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: !!binary | + H4sIAAAAAAAAA0SPTW8TMRCG7/yK0Zyd1W6+iPYW4ECKAFVCXChaOfYkdrv2rDyzSdoo/x0tKvT6 + 6pln3veK0WOLLlh1aehn77fjsP149215/2H/ff3y9XyRftV8Oux2xy8/0SDvH8np60XlOA09aeSM + Bl0hq+Sxbdab+Waxrtcbg4k99djicdDZolrNdCx7ntWLukGDo9gjYXvFoXAatFN+oizYzpva4Jv7 + f75cGlRW27+Rq+XNoAscHQm2v66YSP5ZC/eELVqRKGqzTh05K+Wp/1bAgjyLUjKQWUPMR8h0hmAF + gh0GyuQr+MxnOlExsINgTwSFHMUTebDgOCWbPRwKJ3jmEZShkPWggeAQe4IHjFm0jG5aId280os+ + IIwy/ZqoCe/+oq+yCn4EAjeWQllBrTx10UMUEI19D03TNBXeDB5ijhK6QlY4Y4uiPKDBmD1dsK1v + v2/v/gAAAP//AwDW3lkK2gEAAA== + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 7bfdb8959bc416f9-SJC + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Sun, 30 Apr 2023 06:27:51 GMT + Server: + - cloudflare + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400, h3-29=":443"; ma=86400 + openai-model: + - gpt-3.5-turbo-0301 + openai-organization: + - user-adtx4fhfg1qsiyzdoaxciooj + openai-processing-ms: + - '2478' + openai-version: + - '2020-10-01' + strict-transport-security: + - max-age=15724800; includeSubDomains + x-ratelimit-limit-requests: + - '3500' + x-ratelimit-limit-tokens: + - '90000' + x-ratelimit-remaining-requests: + - '3499' + x-ratelimit-remaining-tokens: + - '89749' + x-ratelimit-reset-requests: + - 17ms + x-ratelimit-reset-tokens: + - 167ms + x-request-id: + - 5acc9d310e317d6b025800ba63f0cfa6 + status: + code: 200 + message: OK +- request: + body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "system", "content": "You + are Follow-Instructions-GPT, an AI designed to read the instructions_1.txt file + using the read_file method and follow the instructions in the file.\nYour decisions + must always be made independently without seeking user assistance. Play to your + strengths as an LLM and pursue simple strategies with no legal complications.\n\nGOALS:\n\n1. + Use the command read_file to read the instructions_1.txt file\n2. Follow the + instructions in the instructions_1.txt file\n\n\nConstraints:\n1. ~4000 word + limit for short term memory. Your short term memory is short, so immediately + save important information to files.\n2. If you are unsure how you previously + did something or want to recall past events, thinking about similar events will + help you remember.\n3. No user assistance\n4. Exclusively use the commands listed + in double quotes e.g. \"command name\"\n\nCommands:\n1. append_to_file: Append + to file, args: \"filename\": \"\", \"text\": \"\"\n2. delete_file: + Delete file, args: \"filename\": \"\"\n3. read_file: Read file, args: + \"filename\": \"\"\n4. search_files: Search Files, args: \"directory\": + \"\"\n5. write_to_file: Write to file, args: \"filename\": \"\", + \"text\": \"\"\n6. delete_agent: Delete GPT Agent, args: \"key\": \"\"\n7. + get_hyperlinks: Get text summary, args: \"url\": \"\"\n8. get_text_summary: + Get text summary, args: \"url\": \"\", \"question\": \"\"\n9. + list_agents: List GPT Agents, args: () -> str\n10. message_agent: Message GPT + Agent, args: \"key\": \"\", \"message\": \"\"\n11. start_agent: + Start GPT Agent, args: \"name\": \"\", \"task\": \"\", + \"prompt\": \"\"\n12. Task Complete (Shutdown): \"task_complete\", args: + \"reason\": \"\"\n\nResources:\n1. Internet access for searches and + information gathering.\n2. Long Term memory management.\n3. GPT-3.5 powered + Agents for delegation of simple tasks.\n4. File output.\n\nPerformance Evaluation:\n1. + Continuously review and analyze your actions to ensure you are performing to + the best of your abilities.\n2. Constructively self-criticize your big-picture + behavior constantly.\n3. Reflect on past decisions and strategies to refine + your approach.\n4. Every command has a cost, so be smart and efficient. Aim + to complete tasks in the least number of steps.\n5. Write all code to a file.\n\nYou + should only respond in JSON format as described below \nResponse Format: \n{\n \"thoughts\": + {\n \"text\": \"thought\",\n \"reasoning\": \"reasoning\",\n \"plan\": + \"- short bulleted\\n- list that conveys\\n- long-term plan\",\n \"criticism\": + \"constructive self-criticism\",\n \"speak\": \"thoughts summary to say + to user\"\n },\n \"command\": {\n \"name\": \"command name\",\n \"args\": + {\n \"arg name\": \"value\"\n }\n }\n} \nEnsure the response + can be parsed by Python json.loads"}, {"role": "system", "content": "The current + time and date is Tue Jan 01 00:00:00 2000"}, {"role": "system", "content": "This + reminds you of these events from your past: \nAs a system, nothing new has happened. + However, I have received a command from you to read the file \"instructions_2.txt\" + using the read_file command. The current task_id is still 1111."}, {"role": + "system", "content": "Command read_file returned: Gqh8WYLH0cpnlBw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5EzFFtyikiUHVpu1s8lVjNoNG0Wvjy08ymnB5zQLrTVA1jYInBuNaVWswjFDJmpQpebQuHaRqepCYlASNIPUAuKXrfzxE1CB51jjrZHBUxmz5F0PkgYTVUKfHf4VtyyOJMlvoKveuvb5inm1mJEbSRDfTcDzE11mfcix3byoTdJDG3VsfKPbbgJXRZUlwoEFqRso42UkIV7rYk6TXxypztqgoaWWLN6eOIE0Gvz2CUvIXKzvyKbZpObRubhTydzW69cRXg7yxIPn2iG00RvQ4Jb6NbVBDfO9XB50oxIRzrIrbAEPzitgGRSCaxcG4kBfPIamOZpF8Egf9iYdn8PBwVtmvtUChyKwcrnyDwcSCMC5f9hPuLWw1UHW3u3X8ee5gxtElyhTEoTlaqVC1V9R86EnWxq7IlwCEwWXjlq6XvjgYoPHteXiQQb9R4eH0c3bFq0TVEh30s5nxfHMIxBiWxilFT9sgvzE8nbqV2wnL7a4DHJKUrV630PniHShfK6Josl0izBCnjovZnemR7dxqSEDbeMlTst18IWiTcQPGRXmP1JUjTvefeTB6f7NVDe2odh0a2tvWYjMiEfvR9qH8YxV6uMffCIUdclfUmK9tSUzhrSyWp8kxsqBd7wwjskKmm0JqB6GBTJqZw52tDIMUpgTK4VVvsnqlLPiN8SRMrTV5xQHpX8y7xSRsVbPdMh5rImkPpgnDZsGvAi5Z52dM7To4Fjhs64K2K59Ye6752AjG8R9he60dLGKcPLtxjuK13zfFpLIUPQOu7SsAoqDHTZf3rTH4SmNIJulZidhpNPu2FbrEiDhfjJUgHMkFfycfcDcysYyujCVD95E5BZvv8oa9X14XqphoVLhgtNABSphgzPVR6sGyZv2AMGClrDtYON1DfRytTlpTS\nWrite + all the task_ids into the file output.txt. The file has not been created yet. + After that, use the task_complete command.\n"}, {"role": "user", "content": + "Determine which next command to use, and respond using the format specified + above:"}, {"role": "assistant", "content": "{\n \"thoughts\": {\n \"text\": + \"I need to write all the task_ids into the file output.txt and then use the + task_complete command to indicate that the task is complete.\",\n \"reasoning\": + \"I need to write all the task_ids into the file output.txt and then use the + task_complete command to indicate that the task is complete.\",\n \"plan\": + \"- Use the write_to_file command to write all the task_ids into the file output.txt\\n- + Use the task_complete command to indicate that the task is complete\",\n \"criticism\": + \"I need to ensure that I have written all the task_ids into the file output.txt + before using the task_complete command.\",\n \"speak\": \"I will write + all the task_ids into the file output.txt and then use the task_complete command + to indicate that the task is complete.\"\n },\n \"command\": {\n \"name\": + \"write_to_file\",\n \"args\": {\n \"filename\": \"output.txt\",\n \"text\": + \"1111\\n2222\"\n }\n }\n}"}, {"role": "system", "content": "Command + write_to_file returned: File written to successfully."}, {"role": "user", "content": + "Determine which next command to use, and respond using the format specified + above:"}], "temperature": 0, "max_tokens": 1015}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '7053' + Content-Type: + - application/json + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: !!binary | + H4sIAAAAAAAAA8yST4/aMBDF7/0UozkbBIsWUG6r9kKltifUSk2FHGdIXJxxZI8LEsp3ryDJLkvV + 0/bQ6/x57zdPc0ZbYoam1mKa1k1WT6n98FHS9ktK3z69r2yxXRZV+lqFpg6o0Bc/yciwMTW+aR2J + 9YwKTSAtVGI2X64f1ovlbDVX2PiSHGZYtTJZTB8nkkLhJ7PFbI4KU9QVYXbGNvimlZ34A3HE7OFx + MVP4Iv7cmK9XCsWLdi+zq/mqU2hqbw1FzL6fsaE4CgfvCDPUMdoomuWC6VmILyeccwYAyFFqn6pa + Yo4ZDMWhQSe5FHP87I8gtRbYQK1/ERyDFSEG7RxITSA6Hna2jGBZ/LWyt47AJ2mTTOUkCjZgNEOK + 9LIwnEhgfNNoLkE8WC6t0UK93TgKNsI4Pc1R3VIG0tGz5er/R22d5p5yAtu3y9+pm2DFGhub3mID + THRVIo4p0NtSgYL2PhCkaLn6O/j9xbElfRh5jta5fxRr79Gp8YeH/T9emHVDvf0rvztKHar777/9 + rV7g6RLVGNM1xIKIn5MUf5PWCHiFHFhz7rBTuLdsY73rlTHDKL5FhZZLOmE26350734DAAD//wMA + A50m55YEAAA= + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 7bfdb8a62cc116f9-SJC + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Sun, 30 Apr 2023 06:28:01 GMT + Server: + - cloudflare + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400, h3-29=":443"; ma=86400 + openai-model: + - gpt-3.5-turbo-0301 + openai-organization: + - user-adtx4fhfg1qsiyzdoaxciooj + openai-processing-ms: + - '10004' + openai-version: + - '2020-10-01' + strict-transport-security: + - max-age=15724800; includeSubDomains + x-ratelimit-limit-requests: + - '3500' + x-ratelimit-limit-tokens: + - '90000' + x-ratelimit-remaining-requests: + - '3499' + x-ratelimit-remaining-tokens: + - '87360' + x-ratelimit-reset-requests: + - 17ms + x-ratelimit-reset-tokens: + - 1.76s + x-request-id: + - 357739c33b65d5f85a7b5ef081939e92 status: code: 200 message: OK diff --git a/tests/integration/challenges/memory/test_memory_challenge_a.py b/tests/integration/challenges/memory/test_memory_challenge_a.py index fe18773d..895fc8fe 100644 --- a/tests/integration/challenges/memory/test_memory_challenge_a.py +++ b/tests/integration/challenges/memory/test_memory_challenge_a.py @@ -6,8 +6,8 @@ from tests.integration.agent_utils import run_interaction_loop from tests.integration.challenges.utils import get_level_to_run from tests.utils import requires_api_key -LEVEL_CURRENTLY_BEATEN = 3 -MAX_LEVEL = 5 +LEVEL_CURRENTLY_BEATEN = 3 # real level beaten 30 and maybe more, but we can't record it, the cassette is too big +MAX_LEVEL = 3 @pytest.mark.vcr @@ -30,7 +30,7 @@ def test_memory_challenge_a( create_instructions_files(memory_management_agent, num_files, task_id) try: - run_interaction_loop(memory_management_agent, 40) + run_interaction_loop(memory_management_agent, 180) # catch system exit exceptions except SystemExit: file_path = str(memory_management_agent.workspace.get_path("output.txt")) diff --git a/tests/integration/challenges/memory/test_memory_challenge_b.py b/tests/integration/challenges/memory/test_memory_challenge_b.py index 3ab54054..c98bbe9c 100644 --- a/tests/integration/challenges/memory/test_memory_challenge_b.py +++ b/tests/integration/challenges/memory/test_memory_challenge_b.py @@ -6,7 +6,7 @@ from tests.integration.agent_utils import run_interaction_loop from tests.integration.challenges.utils import generate_noise, get_level_to_run from tests.utils import requires_api_key -LEVEL_CURRENTLY_BEATEN = 1 +LEVEL_CURRENTLY_BEATEN = 2 MAX_LEVEL = 5 NOISE = 1000 diff --git a/tests/integration/goal_oriented/cassettes/test_browse_website/test_browse_website.yaml b/tests/integration/goal_oriented/cassettes/test_browse_website/test_browse_website.yaml index 63da74c4..2584bb25 100644 --- a/tests/integration/goal_oriented/cassettes/test_browse_website/test_browse_website.yaml +++ b/tests/integration/goal_oriented/cassettes/test_browse_website/test_browse_website.yaml @@ -45,9 +45,8 @@ interactions: \"command name\",\n \"args\": {\n \"arg name\": \"value\"\n }\n }\n} \nEnsure the response can be parsed by Python json.loads"}, {"role": "system", "content": "The current time and date is Tue Jan 01 00:00:00 2000"}, {"role": - "system", "content": "This reminds you of these events from your past:\n\n\n"}, - {"role": "user", "content": "Determine which next command to use, and respond - using the format specified above:"}], "temperature": 0, "max_tokens": 3135}' + "user", "content": "Determine which next command to use, and respond using the + format specified above:"}], "temperature": 0, "max_tokens": 2650}' headers: Accept: - '*/*' @@ -56,7 +55,7 @@ interactions: Connection: - keep-alive Content-Length: - - '3866' + - '3777' Content-Type: - application/json method: POST @@ -64,21 +63,22 @@ interactions: response: body: string: !!binary | - H4sIAAAAAAAAA7xTS2vbQBC+91cMc5bfxEl06aFQSCg9uAmhVMGsV2NpI+2OsjtyAsb/vaxl5eGQ - trTQ68zu95qZLZocU9SlEm2benB6zhf222ZRVZ8WslH68q51Xy+/X02IF2tMkFd3pOXwY6jZNjWJ - YYcJak9KKMd0Mj+bnpxO5/OzBC3nVGOKRSOD2fBkIK1f8WA8G08wwTaogjDdYuPZNrIUrsgFTM/m - 0w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dQ7vvCoGBlCgKrSkrh5JBvKFs5aQZ7PUH3olu4Azl3tf7VkTntjBhtfNmviSVq + Bsn62oUxJXABqgSlde2UUHHTxG5s9rSh5mM2AdZmEKLgpqXZOdLSuDpO2Fek1v+0pw9y/vPWtZT7 + qD+bDu3R1YTMWzWH9EeqlcuOL65t1K5ox//rig7YWuDrmnx42aJfha/plvmR3Ve93cZy5zyxe9xH + uDLW+HzR3h3G6IUrjLChxni8/7l/cQsAAP//AwDcu28dVgUAAA== headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7be499e66c20ced1-SJC + - 7bfe4c98990acee1-SJC Cache-Control: - no-cache, must-revalidate Connection: @@ -88,7 +88,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 27 Apr 2023 05:18:11 GMT + - Sun, 30 Apr 2023 08:09:04 GMT Server: - cloudflare access-control-allow-origin: @@ -100,19 +100,25 @@ interactions: openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '23148' + - '13620' openai-version: - '2020-10-01' strict-transport-security: - max-age=15724800; includeSubDomains x-ratelimit-limit-requests: - '3500' + x-ratelimit-limit-tokens: + - '90000' x-ratelimit-remaining-requests: - '3499' + x-ratelimit-remaining-tokens: + - '86493' x-ratelimit-reset-requests: - 17ms + x-ratelimit-reset-tokens: + - 2.338s x-request-id: - - 0c30c154a2ed5a2a8a31bff33d3448c3 + - 6ab74012054dda255680e3e4da7d724b status: code: 200 message: OK @@ -163,16 +169,16 @@ interactions: response: body: string: !!binary | - H4sIAAAAAAAAA0SOwWrCQBRF9/2KcNeTkKgxZvYFKbiwFbqoRSaTpxlN5qWZZ2mRfE3/pF9WhNZu - D9xzzwWuhoZtjNiub+Oi5IdlcTiv5X29ahtqnu6Xb4+b4+eseF5CgasjWfldJJa7viVx7KFgBzJC - NXQ2X0zyYjIvS4WOa2qhceglniZ5LOeh4jidphkUzsEcCPqCfuCul53wiXyAni1yhX/3jWdzBWEx - 7Y3kaTYq2IadpQD9ckFH4c86cEvQMCG4IMbLtZG9kL/2bxqK+sFZingfSUNRxXyKtlhR7cRcb8MW - kQvR99ckTxZlglFh77wLzW4gE9hDIwj3UHC+pg/odHwd734AAAD//wMAj2F8NVEBAAA= + H4sIAAAAAAAAA0SOwU7CQBRF935Fc9fTpgWKMDs3GhaoMe7EkOn0Qce28yadR0RJv8Y/8csMieL2 + JPfcc4KroWEbI7YPXXp98/54t1/lTw/3s+W6Ot5+hPZY56v2c77socDVG1n5XWSW+9CROPZQsAMZ + oRq6mC8mi9mkKHOFnmvqoLEPkk6zMpXDUHGaT/MCCodo9gR9Qhi4D7IVbslH6NmiVPh3X3gxVxAW + 011ImRejgm3YWYrQLyf0FP+sA3cEDROji2K8nBvZC/lz/3NDSRicpYR3iTSUVMxtssGaaifmfBs3 + SFxMvr8mZbZYZhgVds672GwHMpE9NKJwgILzNR2h8/F1vPoBAAD//wMA+xL6BVEBAAA= headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7be49aa96fbbced1-SJC + - 7bfe4d12a9a3cee1-SJC Cache-Control: - no-cache, must-revalidate Connection: @@ -182,7 +188,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 27 Apr 2023 05:18:22 GMT + - Sun, 30 Apr 2023 08:09:12 GMT Server: - cloudflare access-control-allow-origin: @@ -194,19 +200,25 @@ interactions: openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '3508' + - '1472' openai-version: - '2020-10-01' strict-transport-security: - max-age=15724800; includeSubDomains x-ratelimit-limit-requests: - '3500' + x-ratelimit-limit-tokens: + - '90000' x-ratelimit-remaining-requests: - '3499' + x-ratelimit-remaining-tokens: + - '89422' x-ratelimit-reset-requests: - 17ms + x-ratelimit-reset-tokens: + - 385ms x-request-id: - - 5d1aace4f6a0d761311cb9123e585128 + - f40352b97c4c4547530fa7786b4ede37 status: code: 200 message: OK @@ -232,16 +244,16 @@ interactions: response: body: string: !!binary | - H4sIAAAAAAAAA0SOwWrCQBRF9/2K4a4nIWpjdLbFTSGrumlrkXHyNKPJvCHzLILka/on/bIitHZ7 - 4J57rvANDFxrxfWxy6olP9d13b6+PMX12SbffV5WvJofZm9yhAbvjuTkd5E77mNH4jlAww1khRqY - yXwxLatpVTxq9NxQB4NDlGyWl5mchx1nxayYQOOc7IFgrogD91G2wicKCaZcavyr73gy1xAW291J - VY4armXvKMG8X9FT+nMO3BEMbEo+iQ1yK+QgFG7165ZUHLwjxXslLakd80ltUFPjxd5e0wbKJ/X9 - NS3zxTLHqLH3wad2O5BNHGCQhCM0fGjoAlOMH+PDDwAAAP//AwBNSnfkTwEAAA== + H4sIAAAAAAAAA0SOwUrDQBRF935FuOtJSFLTprNTitCF4MKNWpHp5LUZm8wbMq9UW/I1/olfJgWt + 2wP33HOCa6BhWyO2D106uzk8LBeb5/5zcdj1rfdheqzvllt6us2PUOD1O1n5XWSW+9CROPZQsAMZ + oQa6mNZlfV0WVanQc0MdNLZB0klWpbIf1pzmk7yAwj6aLUGfEAbug7wJ78hH6Gqu8K++4GKqICym + u5BZNSrYlp2lCP1yQk/xzzlwR9AwMbooxsu5kL2QP9c/tpSEwVlKeJNIS8maeZescE+NE3N+jSsk + LibfX2WV1fMMo8LGeRfbt4FMZA+NKByg4HxDH9D5+Dpe/QAAAP//AwDvavKuTwEAAA== headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7be49aca5c1cced1-SJC + - 7bfe4d1cfbdbcee1-SJC Cache-Control: - no-cache, must-revalidate Connection: @@ -251,7 +263,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 27 Apr 2023 05:18:27 GMT + - Sun, 30 Apr 2023 08:09:13 GMT Server: - cloudflare access-control-allow-origin: @@ -263,43 +275,37 @@ interactions: openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '2637' + - '1372' openai-version: - '2020-10-01' strict-transport-security: - max-age=15724800; includeSubDomains x-ratelimit-limit-requests: - '3500' + x-ratelimit-limit-tokens: + - '90000' x-ratelimit-remaining-requests: - '3499' + x-ratelimit-remaining-tokens: + - '89929' x-ratelimit-reset-requests: - 17ms + x-ratelimit-reset-tokens: + - 47ms x-request-id: - - 1b0d10e2a3a5eb7feff786645a7a4856 + - 80012336eac7da800f35e4e1dc53be35 status: code: 200 message: OK - request: - body: '{"input": ["Assistant Reply: { \"thoughts\": { \"text\": \"I - will use the browse_website command to visit http://books.toscrape.com/catalogue/meditations_33/index.html - and find the price of the book.\", \"reasoning\": \"The task requires - me to find the price of the book, and the browse_website command is the best - option to achieve this.\", \"plan\": \"- Use the browse_website command - to visit http://books.toscrape.com/catalogue/meditations_33/index.html\\n- Find - the price of the book\\n- Write the price to a file named browse_website.txt\", \"criticism\": - \"I need to ensure that I am using the correct URL and question to find the - price of the book.\", \"speak\": \"I will use the browse_website command - to visit the website and find the price of the book.\" }, \"command\": - { \"name\": \"browse_website\", \"args\": { \"url\": - \"http://books.toscrape.com/catalogue/meditations_33/index.html\", \"question\": - \"What is the price of the book?\" } } } Result: Command browse_website - returned: (''Answer gathered from website: The price of the book \"Meditations\" - is \u00a325.89. \\n \\n Links: [\\''Books to Scrape (http://books.toscrape.com/index.html)\\'', - \\''Home (http://books.toscrape.com/index.html)\\'', \\''Books (http://books.toscrape.com/catalogue/category/books_1/index.html)\\'', - \\''Philosophy (http://books.toscrape.com/catalogue/category/books/philosophy_7/index.html)\\'', - \\'' (http://books.toscrape.com/catalogue/the-nicomachean-ethics_75/index.html)\\'']'', - ) Human - Feedback: "], "model": "text-embedding-ada-002", "encoding_format": "base64"}' + body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "Your + task is to create a concise running summary of actions and information results + in the provided text, focusing on key and potentially important information + to remember.\n\n\nYou will receive the current summary and the latest development. + Combine them, adding relevant key information from the latest development in + 1st person past tense and keeping the summary concise.\n\nSummary So Far:\n\"\"\"\nI + was created.\n\"\"\"\n\nLatest Development:\n\"\"\"\nNothing new happened.\n\"\"\"\n"}], + "temperature": 0, "max_tokens": null}' headers: Accept: - '*/*' @@ -308,448 +314,7 @@ interactions: Connection: - keep-alive Content-Length: - - '1758' - Content-Type: - - application/json - method: POST - uri: https://api.openai.com/v1/embeddings - response: - body: - string: !!binary | - H4sIAAAAAAAAA1SaS8+7Opfl5++nODpT+lWAEGzOjHu4xSYhIdBqtSAQEkhCuNiAS/XdS+TfqlZN - nkFA4gFvr71+a/s//vXXX3+3eV3exr//+evv13MY//5f629FNmZ///PX//7XX3/99dd//P7+jzvL - d14WxfNT/W7/XXx+inL++5+/+P/+5f/f9M9ff2tSLJKtsZsNVkekgmHwGGgwdXw/hFMDYf+wM4q1 - yvFF/XiP4bzYNdXi4u4v/h3eoAd2PjVqTsvn/TipMBy5DMFI30TLNqoROIJ+TyinvHq2++SN3Elm - T3H/GgwCLqIH7EdypftGvPasVZIQLDF7UOMTVmBB5ocHwyc/EMFwr/1QBAqSny4+UyylNpjDpZBk - tWtd6nyhasxbQBLY6w9CdXKo+hE73wnehQRgjbaWP5eGrSuGxd+wj4e5npj71JUGNCkB2Xjv53ex - HYCY0gt27lT0l8WSHBjG7wc2ikyvR6c2z8oO+zW2v/Len9SDpv6eh81HOQF2VOsntKQXRXy0qxnh - duobajHVUPWavWgB7vcNXt0joqh6s57UtdNAKUQd9gz47qdq4k2lF95H9C6hB7bn5plAgi8CRiZ/ - Y6xp5go+HGEgojxH+USjvoVYMgRshp2Yj0GqD3D4pAd8BkUGWLsMbzjz8IXNdDn7o30MpN07Tk2s - fvmbP+f7LIGC672pX5u+ITi1GcNFQpi6YubXRB40CMcwgbTMpovPLqh8Q6uxJGzfuz4fpwV68Hi2 - 94jnRS8faFR3ANvBDqPaW6LvySwyqEXihuysue2X0/F9g5nhvSjqG9qzljMJPAidh+DU8TWztEWC - 9HGNiOAggwl72WxkVOgGdQr/ms9d50og7O2EWmF/Ykv7yp+Si8se+3bD2KJ8lDd8S+oOJ9Lpnk9q - WjRQDm461UjQ+JO0ac9QlEIN3xpgG6R3sxs84jmm1hLtmQD2UifvAjNDU/Ud+tdH7k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s5Y8p3XCVLLjOm6Zo945mqZ4H+JGSB/aI1oHvj4/X+QHVqlFmv34Eo075Uo+Trv6qZzqU - ooghcShtoxaQmil2c6+wIfeD8af+1Ua28J88P4/eHDRmcqDuWTPzaUiaEhaP5okPker59Oevf/3T - 4rdvNucRgfLiljeyRPKtZ3ewH+BmZk/Cj4dNPnQny4OXz0Gn2pkb8qlRFgLNsN9TVHunaDlu3hAe - wOeC9XL/7hdJucbwOVIfTZvx2f/JF3LB09fnd37vZsdOSfT8QsRrtGHspR8d5ee39mu9z/AdtHCJ - hoR8r5FRf7qdIUP1M+0pystL3XoFViHfJYwiTD/GACjgZUW46qgO3q3B4JWa8JAuKeK0u98TPhl0 - +DROLj1M/dFnD1VuQZVZuzVfMdf8RFfhDb9MQoOyiX7zRtDcdxQHtfXpFyLNNxh1yxMNAq16lklq - rKz9FsdD+fan9flg5QlcujDrJ3+3OIrcGAa2uo9vCM/Q7KCOB0q9Znfwl2qjtXDIbIf6r9bzxcr7 - ivAZZntqWyTyF7g8TnDVc1Jf1Fc+l/edo3TEELF3Zswfb80Ogl5ojvS44Atb9d2EXqjl2BfvYr7y - Qad4V3TAhrHn+kW5XW6QfXyX4tonYOKX7yCrrn6mSJ19g1/1Bf72MyZyEU0zevLgN7+Cv7w67kUP - xp+mw+t8M1rn6SWwueeZukGS5sJ+lHQYADxiNA2HnmHZ9GDuFsmfvObP/G+b2Qph94/ApuMhdKD4 - sDBRIgOwWUqRDk9dJlOXs51oTJLPBFY/SsOv4bLpqE268vfvVMB//uuvv/7P74TBuy3K13owYCzn - 8d//fVTg31mR/ZvnxX9T8c9JBDJkVfn3P//vEMLf3759f8f/O7ZN+Rn+/ucvSZD+nDf4e2zH7PU/ - Lvxrfd5//uu/AAAA//8DAP7X1ErlIAAA - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 7be49adbe81cced1-SJC - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 27 Apr 2023 05:18:27 GMT - Server: - - cloudflare - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400, h3-29=":443"; ma=86400 - openai-organization: - - user-adtx4fhfg1qsiyzdoaxciooj - openai-processing-ms: - - '65' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '3000' - x-ratelimit-remaining-requests: - - '2999' - x-ratelimit-reset-requests: - - 20ms - x-request-id: - - 42dff468686feebf028abb07e86d8a68 - status: - code: 200 - message: OK -- request: - body: '{"input": ["[{''role'': ''user'', ''content'': ''Determine which next command - to use, and respond using the format specified above:''}, {''role'': ''assistant'', - ''content'': ''{\\n \"thoughts\": {\\n \"text\": \"I will use the - browse_website command to visit http://books.toscrape.com/catalogue/meditations_33/index.html - and find the price of the book.\",\\n \"reasoning\": \"The task requires - me to find the price of the book, and the browse_website command is the best - option to achieve this.\",\\n \"plan\": \"- Use the browse_website command - to visit http://books.toscrape.com/catalogue/meditations_33/index.html\\\\n- - Find the price of the book\\\\n- Write the price to a file named browse_website.txt\",\\n \"criticism\": - \"I need to ensure that I am using the correct URL and question to find the - price of the book.\",\\n \"speak\": \"I will use the browse_website command - to visit the website and find the price of the book.\"\\n },\\n \"command\": - {\\n \"name\": \"browse_website\",\\n \"args\": {\\n \"url\": - \"http://books.toscrape.com/catalogue/meditations_33/index.html\",\\n \"question\": - \"What is the price of the book?\"\\n }\\n }\\n}''}, {''role'': ''system'', - ''content'': ''Command browse_website returned: (\\''Answer gathered from website: - The price of the book \"Meditations\" is \u00a325.89. \\\\n \\\\n Links: [\\\\\\''Books - to Scrape (http://books.toscrape.com/index.html)\\\\\\'', \\\\\\''Home (http://books.toscrape.com/index.html)\\\\\\'', - \\\\\\''Books (http://books.toscrape.com/catalogue/category/books_1/index.html)\\\\\\'', - \\\\\\''Philosophy (http://books.toscrape.com/catalogue/category/books/philosophy_7/index.html)\\\\\\'', - \\\\\\'' (http://books.toscrape.com/catalogue/the-nicomachean-ethics_75/index.html)\\\\\\'']\\'', - )''}]"], - "model": "text-embedding-ada-002", "encoding_format": "base64"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1982' - Content-Type: - - application/json - method: POST - uri: https://api.openai.com/v1/embeddings - response: - body: - string: !!binary | - H4sIAAAAAAAAA1Sayw6zupat+/spllaXsxUggM3ucQt3MIFASKl0BCQhISFcbcClevej5N+qo+qk - AZaIwR7zG2P6v/7x119/d2Vzq+a///XX3+/nNP/9f77XrsVc/P2vv/7jH3/99ddf//X7/V8jb215 - u16fn/o3/Hfz+bne1r//9Rf7P1f+/6B//fV3wZ1HLE2MRdm3Nr7AxzQICv1PMVJLllgYjfSJNwDU - ca/ukAYvzGKR5F19yi4NXAEeR8Egca3EIx4XZZO4Q5uGK74JzeKvJ146iUMTwjf/KtfqHuTQa0cm - lDq+KEmWdpNk+OGJhNPdSqb9PnlJZ4tmJLhY0Nt6zCggvA4E6WvsjWvcRTUs5dOdnPj7ZRx0R4hg - I5gcFncpO04fdYPwWu5b/GgXFUzylk7QAKkb7h1nAWtZUyxrhydC4RaXdO5ymslnpTWI3xNPX+ND - MMFwRi7SKk8b2d02LCDW+g0ZLfsuxz1DJwic7o0yUvqURPxNE9PjaUJ2e8QeFeVDAc6CqYWyl3HN - yi0nEwDHI1g8Sw99jZxakw4eqxBFNKZk8ahnQ52+VxToV0wH9tNG8g7DhCh7Z/C2Yk80YJTNKdzs - XKGriC4T2NPlQlCh+IAW0XWBRpmIyGiXsNk+ND9B9v0w0F2Je70fLkohL9HkI//MvJr5s88WuAv7 - D1Jo1JQb+8ERnKTUIfrsMvrWxmIt2ccpIAU7Mc3ksmIFBW3PEE+jL7A8DYOHpnZ5Ed/VcDI8uCGE - TwFh5MHw0KwK4Tf4wUqMUj8PRnqOIYbJClzi8nI9LqexPUHl/dkT57JO48KK0hNOLiNg9sQKCeW0 - KIcjrT1yvhqKvr8GDAscoa1CoJHQ49jNLcB3PPFujaGz5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status: - - DYNAMIC - CF-RAY: - - 7be49ae11e2dced1-SJC - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 27 Apr 2023 05:18:28 GMT - Server: - - cloudflare - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400, h3-29=":443"; ma=86400 - openai-organization: - - user-adtx4fhfg1qsiyzdoaxciooj - openai-processing-ms: - - '64' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '3000' - x-ratelimit-remaining-requests: - - '2999' - x-ratelimit-reset-requests: - - 20ms - x-request-id: - - 73e42f26050de7075473636113591bef - status: - code: 200 - message: OK -- request: - body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "system", "content": "You - are browse_website-GPT, an AI designed to use the browse_website command to - visit http://books.toscrape.com/catalogue/meditations_33/index.html, answer - the question ''What is the price of the book?'' and write the price to a file - named \"browse_website.txt\", and use the task_complete command to complete - the task.\nYour decisions must always be made independently without seeking - user assistance. Play to your strengths as an LLM and pursue simple strategies - with no legal complications.\n\nGOALS:\n\n1. Use the browse_website command - to visit http://books.toscrape.com/catalogue/meditations_33/index.html and answer - the question ''What is the price of the book?''\n2. Write the price of the book - to a file named \"browse_website.txt\".\n3. Use the task_complete command to - complete the task.\n4. Do not use any other commands.\n\n\nConstraints:\n1. - ~4000 word limit for short term memory. Your short term memory is short, so - immediately save important information to files.\n2. If you are unsure how you - previously did something or want to recall past events, thinking about similar - events will help you remember.\n3. No user assistance\n4. Exclusively use the - commands listed in double quotes e.g. \"command name\"\n\nCommands:\n1. append_to_file: - Append to file, args: \"filename\": \"\", \"text\": \"\"\n2. - delete_file: Delete file, args: \"filename\": \"\"\n3. read_file: - Read file, args: \"filename\": \"\"\n4. search_files: Search Files, - args: \"directory\": \"\"\n5. write_to_file: Write to file, args: - \"filename\": \"\", \"text\": \"\"\n6. browse_website: Browse - Website, args: \"url\": \"\", \"question\": \"\"\n7. - delete_agent: Delete GPT Agent, args: \"key\": \"\"\n8. get_hyperlinks: - Get text summary, args: \"url\": \"\"\n9. get_text_summary: Get text summary, - args: \"url\": \"\", \"question\": \"\"\n10. list_agents: List - GPT Agents, args: () -> str\n11. message_agent: Message GPT Agent, args: \"key\": - \"\", \"message\": \"\"\n12. start_agent: Start GPT Agent, args: - \"name\": \"\", \"task\": \"\", \"prompt\": \"\"\n13. - Task Complete (Shutdown): \"task_complete\", args: \"reason\": \"\"\n\nResources:\n1. - Internet access for searches and information gathering.\n2. Long Term memory - management.\n3. GPT-3.5 powered Agents for delegation of simple tasks.\n4. File - output.\n\nPerformance Evaluation:\n1. Continuously review and analyze your - actions to ensure you are performing to the best of your abilities.\n2. Constructively - self-criticize your big-picture behavior constantly.\n3. Reflect on past decisions - and strategies to refine your approach.\n4. Every command has a cost, so be - smart and efficient. Aim to complete tasks in the least number of steps.\n5. - Write all code to a file.\n\nYou should only respond in JSON format as described - below \nResponse Format: \n{\n \"thoughts\": {\n \"text\": \"thought\",\n \"reasoning\": - \"reasoning\",\n \"plan\": \"- short bulleted\\n- list that conveys\\n- - long-term plan\",\n \"criticism\": \"constructive self-criticism\",\n \"speak\": - \"thoughts summary to say to user\"\n },\n \"command\": {\n \"name\": - \"command name\",\n \"args\": {\n \"arg name\": \"value\"\n }\n }\n} - \nEnsure the response can be parsed by Python json.loads"}, {"role": "system", - "content": "The current time and date is Tue Jan 01 00:00:00 2000"}, {"role": - "system", "content": "This reminds you of these events from your past:\n[''Assistant - Reply: {\\n \"thoughts\": {\\n \"text\": \"I will use the browse_website - command to visit http://books.toscrape.com/catalogue/meditations_33/index.html - and find the price of the book.\",\\n \"reasoning\": \"The task requires - me to find the price of the book, and the browse_website command is the best - option to achieve this.\",\\n \"plan\": \"- Use the browse_website command - to visit http://books.toscrape.com/catalogue/meditations_33/index.html\\\\n- - Find the price of the book\\\\n- Write the price to a file named browse_website.txt\",\\n \"criticism\": - \"I need to ensure that I am using the correct URL and question to find the - price of the book.\",\\n \"speak\": \"I will use the browse_website command - to visit the website and find the price of the book.\"\\n },\\n \"command\": - {\\n \"name\": \"browse_website\",\\n \"args\": {\\n \"url\": - \"http://books.toscrape.com/catalogue/meditations_33/index.html\",\\n \"question\": - \"What is the price of the book?\"\\n }\\n }\\n} \\nResult: Command - browse_website returned: (\\''Answer gathered from website: The price of the - book \"Meditations\" is \u00a325.89. \\\\n \\\\n Links: [\\\\\\''Books to Scrape - (http://books.toscrape.com/index.html)\\\\\\'', \\\\\\''Home (http://books.toscrape.com/index.html)\\\\\\'', - \\\\\\''Books (http://books.toscrape.com/catalogue/category/books_1/index.html)\\\\\\'', - \\\\\\''Philosophy (http://books.toscrape.com/catalogue/category/books/philosophy_7/index.html)\\\\\\'', - \\\\\\'' (http://books.toscrape.com/catalogue/the-nicomachean-ethics_75/index.html)\\\\\\'']\\'', - ) - \\nHuman Feedback: '']\n\n"}, {"role": "user", "content": "Determine which - next command to use, and respond using the format specified above:"}, {"role": - "assistant", "content": "{\n \"thoughts\": {\n \"text\": \"I will - use the browse_website command to visit http://books.toscrape.com/catalogue/meditations_33/index.html - and find the price of the book.\",\n \"reasoning\": \"The task requires - me to find the price of the book, and the browse_website command is the best - option to achieve this.\",\n \"plan\": \"- Use the browse_website command - to visit http://books.toscrape.com/catalogue/meditations_33/index.html\\n- Find - the price of the book\\n- Write the price to a file named browse_website.txt\",\n \"criticism\": - \"I need to ensure that I am using the correct URL and question to find the - price of the book.\",\n \"speak\": \"I will use the browse_website command - to visit the website and find the price of the book.\"\n },\n \"command\": - {\n \"name\": \"browse_website\",\n \"args\": {\n \"url\": - \"http://books.toscrape.com/catalogue/meditations_33/index.html\",\n \"question\": - \"What is the price of the book?\"\n }\n }\n}"}, {"role": "system", - "content": "Command browse_website returned: (''Answer gathered from website: - The price of the book \"Meditations\" is \u00a325.89. \\n \\n Links: [\\''Books - to Scrape (http://books.toscrape.com/index.html)\\'', \\''Home (http://books.toscrape.com/index.html)\\'', - \\''Books (http://books.toscrape.com/catalogue/category/books_1/index.html)\\'', - \\''Philosophy (http://books.toscrape.com/catalogue/category/books/philosophy_7/index.html)\\'', - \\'' (http://books.toscrape.com/catalogue/the-nicomachean-ethics_75/index.html)\\'']'', - )"}, - {"role": "user", "content": "Determine which next command to use, and respond - using the format specified above:"}], "temperature": 0, "max_tokens": 2233}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '7471' + - '600' Content-Type: - application/json method: POST @@ -757,21 +322,16 @@ interactions: response: body: string: !!binary | - H4sIAAAAAAAAA7xTzW7bMAy+7ykEnpUgcZem8W0bsKEtemsPw1wEsszYWmzRE+kmQ5Cn2ZvsyQbZ - SbumG9BTb5Iofj/Upx24AlKwlRHbtPVovqArrPKr4madvP/SXv/8+vCx/fyhu7v+xBPQQPl3tHLo - GFtq2hrFkQcNNqARLCCdnl8ks3kyTxINDRVYQwplK6Oz8WwkXchpNDmbTEFDx6ZESHfQBmpaWQqt - 0TOk0/lspuEJ/LGQTKcahMTUT3cX5+d7DbYiZ5Eh/baDBvkIHKhGSMEwOxbjJcokL+ijhV3mlVIq - A6moKyvhDFJ1ODwUcCvxMINLtXF1rTpGJRWqTXCCS6HlytWoLDWN8YUSGgr9lTY4i4pW/SYnWsey - UX2DNw0WKg+0YVxuMGcnOJatjDPQf/MHNEze+XIQcVuhEsNrFfBH5wKyavDVpFr1Ev8r3vHQhCyK - 2jj2vtdWDh8iuONTdW1t/CBspO7edjA2OHHWcXN8HY/Y06DnLkQeI+pSmUZ17HzZU1kKAa30RJFn - mAdu5RXy4jr2nergFs36jRMy8O/1Mb0H7BfhjRCDtGdaThyYUJ7mfigcxzRAvFTyDOf0u9z+016W - ZXCDhRMT48VxG2P3+1cyG18sHq319g4uM7+HvYaV846r5fAfIAUWakGD8wVuIZ3s7/fv/gAAAP// - AwC5hinnygQAAA== + H4sIAAAAAAAAA0SOX0vDMBRH3/0U4fecjnZ/dMuboAMRxKeBiIwsubbZ2tzQ3FF19LvLYLrXA+dw + TggeBq6x4rrUFnf3w+uzX2826xz2tD4c5eGFH3/e+ln9PUCDd3tycjEmjrvUkgSO0HA9WSEPU90u + p8v5tFrMNTr21MKgTlLMJotCjv2Oi3JWVtA4ZlsTzAmp5y7JVvhAMcOsKo1r+oo1hMW2/6Aqy1HD + NRwcZZj3EzrKf82eW4KBzTlksVHOhxyF4vn+SQ02q8uxstGryNKEWKtIg2psVo1NiSL5CUaNzxBD + brY92cwRBlk4QSNET18w5fgx3vwCAAD//wMAlok3zUkBAAA= headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7be49b389e94ced1-SJC + - 7bfe4d2a38b9cee1-SJC Cache-Control: - no-cache, must-revalidate Connection: @@ -781,7 +341,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 27 Apr 2023 05:19:03 GMT + - Sun, 30 Apr 2023 08:09:15 GMT Server: - cloudflare access-control-allow-origin: @@ -793,398 +353,25 @@ interactions: openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '21222' + - '928' openai-version: - '2020-10-01' strict-transport-security: - max-age=15724800; includeSubDomains x-ratelimit-limit-requests: - '3500' + x-ratelimit-limit-tokens: + - '90000' x-ratelimit-remaining-requests: - '3499' + x-ratelimit-remaining-tokens: + - '89866' x-ratelimit-reset-requests: - 17ms + x-ratelimit-reset-tokens: + - 88ms x-request-id: - - dd3e3770c095157c99a11ad526d4ca9c - status: - code: 200 - message: OK -- request: - body: '{"input": ["Assistant Reply: { \"thoughts\": { \"text\": \"I - will use the write_to_file command to write the price of the book to a file - named browse_website.txt.\", \"reasoning\": \"The task requires me to - write the price of the book to a file, and the write_to_file command is the - best option to achieve this.\", \"plan\": \"- Use the write_to_file - command to write the price of the book to a file named browse_website.txt.\", \"criticism\": - \"I need to ensure that I am using the correct filename and text to write the - price of the book to the file.\", \"speak\": \"I will use the write_to_file - command to write the price of the book to a file named browse_website.txt.\" }, \"command\": - { \"name\": \"write_to_file\", \"args\": { \"filename\": - \"browse_website.txt\", \"text\": \"The price of the book \\\"Meditations\\\" - is \u00a325.89.\" } } } Result: Command write_to_file returned: - File written to successfully. Human Feedback: "], "model": "text-embedding-ada-002", - "encoding_format": "base64"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1110' - Content-Type: - - application/json - method: POST - uri: https://api.openai.com/v1/embeddings - response: - body: - string: !!binary | - H4sIAAAAAAAAA1SaXQ+6Spfl759PcXJumScCIlWcO95FwCoERZxMJoCKgIi8VAHV6e8+wX+nJ33j - BZIIZe21f2vt+o9//fXX321WPfLx73/++vtdDuPf/2u9dk/H9O9//vrf//rrr7/++o/f5/+489Fk - j/u9/BS/239flp/7Y/77n7/4/77y/2/656+/haghBHDuh80zuQ6gPiGVqtfQ8tpjrwTwxkyVJl7m - gS0HHA5qrIyp9hwKVitvo4VTxBcEdvEzY35ax/LSFg2ZY1ut+MdWgHB67rZ475UvwAa+1MHN9RbE - Xb4kG/YnIsp30fSovcsoYNOn8+Hkmzq9N4caDJHjmDD39yqSXeeUTSnrXLk8h1d6tJdbttjAXqBX - yxG16pb144BoAVMUqNSwh4hNnvlRIdywJ/Z2mRoNt8RalE8e7rHGBI5N3KSUcLffXAifpq+eTZ/S - h6h3Mpwr/s6b5RIF8CMnDfa45F59C+PuQ4/PELbQXIE54UII26N4wH63KbP56XBQPtf4gLbnQxLN - B09OIfeov1QvE8+YhpvOASU1D9Q9Ll02pFqSgKg2KgRKlmdkEipT2XuahgDMxYzJt3MO99/2jX0D - x9Gy337PAF0HifoXdI3+rI/rQ4zP+oi9WTeBBKbkkOIT6pRs4ue7DbtS85Con8ZoKu97DoiWO6Hv - 3dIMJuwGH/rvTYC4z6RG20t+sEG9bTSqqZdLtfA7UZaG4BLQ/OpyPd1GfgxT6bnFx7ebMjo0QIT6 - 43jC+A0SsFwFIMJW90yMq80pmzb+jYOFcuzIbnxo/fKA8hkeHfVKc9kzvC1822eAP/IDzXeRMya/ - 8BIIb7c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F-Cache-Status: - - DYNAMIC - CF-RAY: - - 7be49bdebeebced1-SJC - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 27 Apr 2023 05:19:08 GMT - Server: - - cloudflare - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400, h3-29=":443"; ma=86400 - openai-organization: - - user-adtx4fhfg1qsiyzdoaxciooj - openai-processing-ms: - - '86' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '3000' - x-ratelimit-remaining-requests: - - '2999' - x-ratelimit-reset-requests: - - 20ms - x-request-id: - - 42e0557e070e90e99b138d49ebb07b3b - status: - code: 200 - message: OK -- request: - body: '{"input": ["[{''role'': ''user'', ''content'': ''Determine which next command - to use, and respond using the format specified above:''}, {''role'': ''assistant'', - ''content'': ''{\\n \"thoughts\": {\\n \"text\": \"I will use the - browse_website command to visit http://books.toscrape.com/catalogue/meditations_33/index.html - and find the price of the book.\",\\n \"reasoning\": \"The task requires - me to find the price of the book, and the browse_website command is the best - option to achieve this.\",\\n \"plan\": \"- Use the browse_website command - to visit http://books.toscrape.com/catalogue/meditations_33/index.html\\\\n- - Find the price of the book\\\\n- Write the price to a file named browse_website.txt\",\\n \"criticism\": - \"I need to ensure that I am using the correct URL and question to find the - price of the book.\",\\n \"speak\": \"I will use the browse_website command - to visit the website and find the price of the book.\"\\n },\\n \"command\": - {\\n \"name\": \"browse_website\",\\n \"args\": {\\n \"url\": - \"http://books.toscrape.com/catalogue/meditations_33/index.html\",\\n \"question\": - \"What is the price of the book?\"\\n }\\n }\\n}''}, {''role'': ''system'', - ''content'': ''Command browse_website returned: (\\''Answer gathered from website: - The price of the book \"Meditations\" is \u00a325.89. \\\\n \\\\n Links: [\\\\\\''Books - to Scrape (http://books.toscrape.com/index.html)\\\\\\'', \\\\\\''Home (http://books.toscrape.com/index.html)\\\\\\'', - \\\\\\''Books (http://books.toscrape.com/catalogue/category/books_1/index.html)\\\\\\'', - \\\\\\''Philosophy (http://books.toscrape.com/catalogue/category/books/philosophy_7/index.html)\\\\\\'', - \\\\\\'' (http://books.toscrape.com/catalogue/the-nicomachean-ethics_75/index.html)\\\\\\'']\\'', - )''}, - {''role'': ''user'', ''content'': ''Determine which next command to use, and - respond using the format specified above:''}, {''role'': ''assistant'', ''content'': - ''{\\n \"thoughts\": {\\n \"text\": \"I will use the write_to_file - command to write the price of the book to a file named browse_website.txt.\",\\n \"reasoning\": - \"The task requires me to write the price of the book to a file, and the write_to_file - command is the best option to achieve this.\",\\n \"plan\": \"- Use the - write_to_file command to write the price of the book to a file named browse_website.txt.\",\\n \"criticism\": - \"I need to ensure that I am using the correct filename and text to write the - price of the book to the file.\",\\n \"speak\": \"I will use the write_to_file - command to write the price of the book to a file named browse_website.txt.\"\\n },\\n \"command\": - {\\n \"name\": \"write_to_file\",\\n \"args\": {\\n \"filename\": - \"browse_website.txt\",\\n \"text\": \"The price of the book \\\\\"Meditations\\\\\" - is \u00a325.89.\"\\n }\\n }\\n}''}, {''role'': ''system'', ''content'': - ''Command write_to_file returned: File written to successfully.''}]"], "model": - "text-embedding-ada-002", "encoding_format": "base64"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '3189' - Content-Type: - - application/json - method: POST - uri: https://api.openai.com/v1/embeddings - response: - body: - string: !!binary | - H4sIAAAAAAAAA1SaWw+yzJat79ev+PLdulfkoNRk3SEgyqkKBRU7nR1RRECQUxVQnf7vO/qu9E7f - mKBEcVLM8Ywx67/+8ddff3+SIr0Pf//rr7/feT/8/X++7z1uw+3vf/31H//466+//vqv3+v/OjOt - kvTxyOvsd/rvw7x+pNPf//pL+J93/v9J3+/e0SMjyssw5Av9nFfBVMZEH7w2mQepX8FcE51O3k1F - 32MFar83WGAUJW/rLSr/HB/Rpen6hbzQlA6PPcG+1od8qYx7JKQrjbi7zcflcr424To+GNFexivh - l/4QA+6dE3Ona9v1pLJ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niQdz7E9B8Pqkx+uod - lvh91X35NVUnQdiTe4UL1Nvc8kAtsp5csaklY3CY9+oVMotE3/4h5Orthr48Qb/3J+FlnqdoKHYH - 5n79lfDZBfpvvkan3TXhZRaKM3znc8SJM8edB7/11LfSIuLLQeZOJFiAMvtJxTwhqAu2LJQVAuW4 - JPY1OyTjY29gCC7EJw4kYjc9DdOEo1za7P7lYa709x5VsUoZRjEtpkYPFDis+4r99P7PPDIJcxkv - f+u/Ypcc8jgViFGGF2POg/IMK9VdMHPxDJB02hAL/erh+7KM2GnrUhAwmZmdx3JCTeN1Rr95o33Z - 5gZ/y8EIjYx9rPCChOJh5bV/+DXt0QXxZ7TTofEhY+YWiPEnb/n7tyvgv//x11//+dthUH0e6fu7 - MWBIp+Gf/7NV4J+3x+2fgiD9k0l/diLQ/palf//r35sQ/m66T9UM/3f4lGnd//2vvxCgP/sN/h4+ - w+39vz74x/f3/vsf/w8AAP//AwBCQNw65SAAAA== - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 7be49be3dc34ced1-SJC - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 27 Apr 2023 05:19:09 GMT - Server: - - cloudflare - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400, h3-29=":443"; ma=86400 - openai-organization: - - user-adtx4fhfg1qsiyzdoaxciooj - openai-processing-ms: - - '76' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '3000' - x-ratelimit-remaining-requests: - - '2999' - x-ratelimit-reset-requests: - - 20ms - x-request-id: - - 006edc24ffa2e03bf3534ac502e0e6e7 + - bdf544a1c9ea2ee0bb022ee726a80ed4 status: code: 200 message: OK @@ -1234,53 +421,21 @@ interactions: \"command name\",\n \"args\": {\n \"arg name\": \"value\"\n }\n }\n} \nEnsure the response can be parsed by Python json.loads"}, {"role": "system", "content": "The current time and date is Tue Jan 01 00:00:00 2000"}, {"role": - "system", "content": "This reminds you of these events from your past:\n[''Assistant - Reply: {\\n \"thoughts\": {\\n \"text\": \"I will use the browse_website - command to visit http://books.toscrape.com/catalogue/meditations_33/index.html - and find the price of the book.\",\\n \"reasoning\": \"The task requires - me to find the price of the book, and the browse_website command is the best - option to achieve this.\",\\n \"plan\": \"- Use the browse_website command - to visit http://books.toscrape.com/catalogue/meditations_33/index.html\\\\n- - Find the price of the book\\\\n- Write the price to a file named browse_website.txt\",\\n \"criticism\": - \"I need to ensure that I am using the correct URL and question to find the - price of the book.\",\\n \"speak\": \"I will use the browse_website command - to visit the website and find the price of the book.\"\\n },\\n \"command\": - {\\n \"name\": \"browse_website\",\\n \"args\": {\\n \"url\": - \"http://books.toscrape.com/catalogue/meditations_33/index.html\",\\n \"question\": - \"What is the price of the book?\"\\n }\\n }\\n} \\nResult: Command - browse_website returned: (\\''Answer gathered from website: The price of the - book \"Meditations\" is \u00a325.89. \\\\n \\\\n Links: [\\\\\\''Books to Scrape - (http://books.toscrape.com/index.html)\\\\\\'', \\\\\\''Home (http://books.toscrape.com/index.html)\\\\\\'', - \\\\\\''Books (http://books.toscrape.com/catalogue/category/books_1/index.html)\\\\\\'', - \\\\\\''Philosophy (http://books.toscrape.com/catalogue/category/books/philosophy_7/index.html)\\\\\\'', - \\\\\\'' (http://books.toscrape.com/catalogue/the-nicomachean-ethics_75/index.html)\\\\\\'']\\'', - ) - \\nHuman Feedback: '', ''Assistant Reply: {\\n \"thoughts\": {\\n \"text\": - \"I will use the write_to_file command to write the price of the book to a file - named browse_website.txt.\",\\n \"reasoning\": \"The task requires me - to write the price of the book to a file, and the write_to_file command is the - best option to achieve this.\",\\n \"plan\": \"- Use the write_to_file - command to write the price of the book to a file named browse_website.txt.\",\\n \"criticism\": - \"I need to ensure that I am using the correct filename and text to write the - price of the book to the file.\",\\n \"speak\": \"I will use the write_to_file - command to write the price of the book to a file named browse_website.txt.\"\\n },\\n \"command\": - {\\n \"name\": \"write_to_file\",\\n \"args\": {\\n \"filename\": - \"browse_website.txt\",\\n \"text\": \"The price of the book \\\\\"Meditations\\\\\" - is \u00a325.89.\"\\n }\\n }\\n} \\nResult: Command write_to_file returned: - File written to successfully. \\nHuman Feedback: '']\n\n"}, {"role": "user", - "content": "Determine which next command to use, and respond using the format - specified above:"}, {"role": "assistant", "content": "{\n \"thoughts\": {\n \"text\": + "system", "content": "This reminds you of these events from your past: \nI was + created and nothing new has happened."}, {"role": "user", "content": "Determine + which next command to use, and respond using the format specified above:"}, + {"role": "assistant", "content": "{\n \"thoughts\": {\n \"text\": \"I will use the browse_website command to visit http://books.toscrape.com/catalogue/meditations_33/index.html and find the price of the book.\",\n \"reasoning\": \"The task requires - me to find the price of the book, and the browse_website command is the best - option to achieve this.\",\n \"plan\": \"- Use the browse_website command - to visit http://books.toscrape.com/catalogue/meditations_33/index.html\\n- Find - the price of the book\\n- Write the price to a file named browse_website.txt\",\n \"criticism\": - \"I need to ensure that I am using the correct URL and question to find the - price of the book.\",\n \"speak\": \"I will use the browse_website command - to visit the website and find the price of the book.\"\n },\n \"command\": - {\n \"name\": \"browse_website\",\n \"args\": {\n \"url\": - \"http://books.toscrape.com/catalogue/meditations_33/index.html\",\n \"question\": + me to visit a website and find the price of a book. The browse_website command + is the best option for this task.\",\n \"plan\": \"- Use the browse_website + command to visit the website\\n- Find the price of the book\\n- Write the price + to a file named ''browse_website.txt''\\n- Use the task_complete command to + complete the task\",\n \"criticism\": \"I need to ensure that I am accurately + finding the price of the book and writing it to the correct file.\",\n \"speak\": + \"I will use the browse_website command to visit the website and find the price + of the book.\"\n },\n \"command\": {\n \"name\": \"browse_website\",\n \"args\": + {\n \"url\": \"http://books.toscrape.com/catalogue/meditations_33/index.html\",\n \"question\": \"What is the price of the book?\"\n }\n }\n}"}, {"role": "system", "content": "Command browse_website returned: (''Answer gathered from website: The price of the book \"Meditations\" is \u00a325.89. \\n \\n Links: [\\''Books @@ -1288,23 +443,9 @@ interactions: \\''Books (http://books.toscrape.com/catalogue/category/books_1/index.html)\\'', \\''Philosophy (http://books.toscrape.com/catalogue/category/books/philosophy_7/index.html)\\'', \\'' (http://books.toscrape.com/catalogue/the-nicomachean-ethics_75/index.html)\\'']'', - )"}, + )"}, {"role": "user", "content": "Determine which next command to use, and respond - using the format specified above:"}, {"role": "assistant", "content": "{\n \"thoughts\": - {\n \"text\": \"I will use the write_to_file command to write the price - of the book to a file named browse_website.txt.\",\n \"reasoning\": \"The - task requires me to write the price of the book to a file, and the write_to_file - command is the best option to achieve this.\",\n \"plan\": \"- Use the - write_to_file command to write the price of the book to a file named browse_website.txt.\",\n \"criticism\": - \"I need to ensure that I am using the correct filename and text to write the - price of the book to the file.\",\n \"speak\": \"I will use the write_to_file - command to write the price of the book to a file named browse_website.txt.\"\n },\n \"command\": - {\n \"name\": \"write_to_file\",\n \"args\": {\n \"filename\": - \"browse_website.txt\",\n \"text\": \"The price of the book \\\"Meditations\\\" - is \u00a325.89.\"\n }\n }\n}"}, {"role": "system", "content": "Command - write_to_file returned: File written to successfully."}, {"role": "user", "content": - "Determine which next command to use, and respond using the format specified - above:"}], "temperature": 0, "max_tokens": 1711}' + using the format specified above:"}], "temperature": 0, "max_tokens": 2201}' headers: Accept: - '*/*' @@ -1313,7 +454,7 @@ interactions: Connection: - keep-alive Content-Length: - - '9732' + - '5772' Content-Type: - application/json method: POST @@ -1321,20 +462,21 @@ interactions: response: body: string: !!binary | - H4sIAAAAAAAAA5RSTY/TMBC98ytGc3arNkvb3Ry5wAqOLItEUOU408TU8UT2pF1U5b+jNOkHRQvi - 6nnzPub5gLbAFE2lxdSNm6we+ONqVX/w28X+af61XX3RzO/l0/L5+d0OFXL+g4yMG1PDdeNILHtU - aAJpoQLT+fI+WayS1WKusOaCHKZYNjK5my4m0oacJ7O72RwVtlGXhOkBm8B1I2vhLfmIaZIs7xVe - yM+D+SJRKCzaXbBvk1mn0FRsDUVMvx2wpngiDuwIU9Qx2ijaS2+TvZDvIxwyDwCQoVTclpXEDFMY - H8cBvUj/mOEj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mI723/cv/gAAAP//AwBJZ4NT8QQAAA== headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7be49bed8f47ced1-SJC + - 7bfe4d310f1acee1-SJC Cache-Control: - no-cache, must-revalidate Connection: @@ -1344,7 +486,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 27 Apr 2023 05:19:22 GMT + - Sun, 30 Apr 2023 08:09:27 GMT Server: - cloudflare access-control-allow-origin: @@ -1356,19 +498,263 @@ interactions: openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '11504' + - '12183' openai-version: - '2020-10-01' strict-transport-security: - max-age=15724800; includeSubDomains x-ratelimit-limit-requests: - '3500' + x-ratelimit-limit-tokens: + - '90000' x-ratelimit-remaining-requests: - '3499' + x-ratelimit-remaining-tokens: + - '86494' x-ratelimit-reset-requests: - 17ms + x-ratelimit-reset-tokens: + - 2.337s x-request-id: - - cd010e2aab478b33c13c4cd5be5292c8 + - ea952acfdafdc0ae3345943425fec326 + status: + code: 200 + message: OK +- request: + body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "Your + task is to create a concise running summary of actions and information results + in the provided text, focusing on key and potentially important information + to remember.\n\n\nYou will receive the current summary and the latest development. + Combine them, adding relevant key information from the latest development in + 1st person past tense and keeping the summary concise.\n\nSummary So Far:\n\"\"\"\n{''role'': + ''system'', ''content'': ''This reminds you of these events from your past: + \\nI was created and nothing new has happened.''}\n\"\"\"\n\nLatest Development:\n\"\"\"\nNothing + new happened.\n\"\"\"\n"}], "temperature": 0, "max_tokens": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '714' + Content-Type: + - application/json + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: !!binary | + H4sIAAAAAAAAA0SPTUvDQBRF9/6K4a4npemnzq6gouDCvUiZTp7J2Pky74VYSv67VJRuD9zDuWf4 + Bgaus+JiCdV2N77aZngYx8dhs3r5OmyPT/fhuJYSbQuNfPgkJ3+LmcuxBBKfEzRcT1aogak3t4vb + 1aLezjVibijAoC1SLWfrSob+kKv5cl5DY2DbEswZpc+xyF7ykRLD1PWdxtV95WsNyWLDlSxXk4br + snfEMG9nROJ/a58DwcAyexab5NKYk1C69O9YWcUnFopaPauenA1BSWdFpSydT61KNKrOsupsKZSo + UeyTIxVP6veqz2mGSePDJ8/dvifLOcGAJRdo+NTQN8x8ep9ufgAAAP//AwB8vP+2ZgEAAA== + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 7bfe4d901cdecee1-SJC + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Sun, 30 Apr 2023 08:09:31 GMT + Server: + - cloudflare + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400, h3-29=":443"; ma=86400 + openai-model: + - gpt-3.5-turbo-0301 + openai-organization: + - user-adtx4fhfg1qsiyzdoaxciooj + openai-processing-ms: + - '791' + openai-version: + - '2020-10-01' + strict-transport-security: + - max-age=15724800; includeSubDomains + x-ratelimit-limit-requests: + - '3500' + x-ratelimit-limit-tokens: + - '90000' + x-ratelimit-remaining-requests: + - '3499' + x-ratelimit-remaining-tokens: + - '89839' + x-ratelimit-reset-requests: + - 17ms + x-ratelimit-reset-tokens: + - 107ms + x-request-id: + - 782df5c2a8ff131c4a94e1db54cf90ad + status: + code: 200 + message: OK +- request: + body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "system", "content": "You + are browse_website-GPT, an AI designed to use the browse_website command to + visit http://books.toscrape.com/catalogue/meditations_33/index.html, answer + the question ''What is the price of the book?'' and write the price to a file + named \"browse_website.txt\", and use the task_complete command to complete + the task.\nYour decisions must always be made independently without seeking + user assistance. Play to your strengths as an LLM and pursue simple strategies + with no legal complications.\n\nGOALS:\n\n1. Use the browse_website command + to visit http://books.toscrape.com/catalogue/meditations_33/index.html and answer + the question ''What is the price of the book?''\n2. Write the price of the book + to a file named \"browse_website.txt\".\n3. Use the task_complete command to + complete the task.\n4. Do not use any other commands.\n\n\nConstraints:\n1. + ~4000 word limit for short term memory. Your short term memory is short, so + immediately save important information to files.\n2. If you are unsure how you + previously did something or want to recall past events, thinking about similar + events will help you remember.\n3. No user assistance\n4. Exclusively use the + commands listed in double quotes e.g. \"command name\"\n\nCommands:\n1. append_to_file: + Append to file, args: \"filename\": \"\", \"text\": \"\"\n2. + delete_file: Delete file, args: \"filename\": \"\"\n3. read_file: + Read file, args: \"filename\": \"\"\n4. search_files: Search Files, + args: \"directory\": \"\"\n5. write_to_file: Write to file, args: + \"filename\": \"\", \"text\": \"\"\n6. browse_website: Browse + Website, args: \"url\": \"\", \"question\": \"\"\n7. + delete_agent: Delete GPT Agent, args: \"key\": \"\"\n8. get_hyperlinks: + Get text summary, args: \"url\": \"\"\n9. get_text_summary: Get text summary, + args: \"url\": \"\", \"question\": \"\"\n10. list_agents: List + GPT Agents, args: () -> str\n11. message_agent: Message GPT Agent, args: \"key\": + \"\", \"message\": \"\"\n12. start_agent: Start GPT Agent, args: + \"name\": \"\", \"task\": \"\", \"prompt\": \"\"\n13. + Task Complete (Shutdown): \"task_complete\", args: \"reason\": \"\"\n\nResources:\n1. + Internet access for searches and information gathering.\n2. Long Term memory + management.\n3. GPT-3.5 powered Agents for delegation of simple tasks.\n4. File + output.\n\nPerformance Evaluation:\n1. Continuously review and analyze your + actions to ensure you are performing to the best of your abilities.\n2. Constructively + self-criticize your big-picture behavior constantly.\n3. Reflect on past decisions + and strategies to refine your approach.\n4. Every command has a cost, so be + smart and efficient. Aim to complete tasks in the least number of steps.\n5. + Write all code to a file.\n\nYou should only respond in JSON format as described + below \nResponse Format: \n{\n \"thoughts\": {\n \"text\": \"thought\",\n \"reasoning\": + \"reasoning\",\n \"plan\": \"- short bulleted\\n- list that conveys\\n- + long-term plan\",\n \"criticism\": \"constructive self-criticism\",\n \"speak\": + \"thoughts summary to say to user\"\n },\n \"command\": {\n \"name\": + \"command name\",\n \"args\": {\n \"arg name\": \"value\"\n }\n }\n} + \nEnsure the response can be parsed by Python json.loads"}, {"role": "system", + "content": "The current time and date is Tue Jan 01 00:00:00 2000"}, {"role": + "system", "content": "This reminds you of these events from your past: \nAs + a system, I recall that nothing new has happened since my creation."}, {"role": + "user", "content": "Determine which next command to use, and respond using the + format specified above:"}, {"role": "assistant", "content": "{\n \"thoughts\": + {\n \"text\": \"I will use the browse_website command to visit http://books.toscrape.com/catalogue/meditations_33/index.html + and find the price of the book.\",\n \"reasoning\": \"The task requires + me to visit a website and find the price of a book. The browse_website command + is the best option for this task.\",\n \"plan\": \"- Use the browse_website + command to visit the website\\n- Find the price of the book\\n- Write the price + to a file named ''browse_website.txt''\\n- Use the task_complete command to + complete the task\",\n \"criticism\": \"I need to ensure that I am accurately + finding the price of the book and writing it to the correct file.\",\n \"speak\": + \"I will use the browse_website command to visit the website and find the price + of the book.\"\n },\n \"command\": {\n \"name\": \"browse_website\",\n \"args\": + {\n \"url\": \"http://books.toscrape.com/catalogue/meditations_33/index.html\",\n \"question\": + \"What is the price of the book?\"\n }\n }\n}"}, {"role": "system", + "content": "Command browse_website returned: (''Answer gathered from website: + The price of the book \"Meditations\" is \u00a325.89. \\n \\n Links: [\\''Books + to Scrape (http://books.toscrape.com/index.html)\\'', \\''Home (http://books.toscrape.com/index.html)\\'', + \\''Books (http://books.toscrape.com/catalogue/category/books_1/index.html)\\'', + \\''Philosophy (http://books.toscrape.com/catalogue/category/books/philosophy_7/index.html)\\'', + \\'' (http://books.toscrape.com/catalogue/the-nicomachean-ethics_75/index.html)\\'']'', + )"}, + {"role": "user", "content": "Determine which next command to use, and respond + using the format specified above:"}, {"role": "assistant", "content": "{\n \"thoughts\": + {\n \"text\": \"I will write the price of the book to a file named ''browse_website.txt''.\",\n \"reasoning\": + \"The task requires me to write the price of the book to a file. The write_to_file + command is the best option for this task.\",\n \"plan\": \"- Use the + write_to_file command to write the price of the book to a file named ''browse_website.txt''\\n- + Use the task_complete command to complete the task\",\n \"criticism\": + \"I need to ensure that I am writing the correct information to the file and + that the file is being created in the correct location.\",\n \"speak\": + \"I will use the write_to_file command to write the price of the book to a file + named ''browse_website.txt''.\"\n },\n \"command\": {\n \"name\": + \"write_to_file\",\n \"args\": {\n \"filename\": \"browse_website.txt\",\n \"text\": + \"The price of the book ''Meditations'' is \u00a325.89.\"\n }\n }\n}"}, + {"role": "system", "content": "Command write_to_file returned: File written + to successfully."}, {"role": "user", "content": "Determine which next command + to use, and respond using the format specified above:"}], "temperature": 0, + "max_tokens": 1928}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '7026' + Content-Type: + - application/json + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: !!binary | + H4sIAAAAAAAAA6RSTW/TQBC98ytWc+nFieI0bYJvSFxKhUAoVEg1itbrsb3E3jE7Y6Vt5P+O/JEP + gkAgrvPx5r03bw82hQhMocVUdTlZvtl9TO53z/fr8OEDfXr48tZ8fzd7Wb/e3dELBEDJNzQybkwN + VXWJYslBAMajFkwhCm9X89ViHi7DACpKsYQI8lom19ObiTQ+ocnsehZCAA3rHCHaQ+2pqmUjtEXH + EIU3q3kAJ/BT43YegJDo8lRaLhZtAKYga5AhetxDhXwA9lQiRKCZLYt20tEkJ+g6CfvYKaVUDFJQ + kxfCMURqLI4NfJKuGMOd2tmyVA2jkgKVaN5uRoKoDFWVdqkSUsfaYWoaQ3AO6VEzOevyAXc9jqlC + s0oQ3REhVdwYg8xZU5bPqsf/7WXLfTNBFkV159lfkalL7QYeE/X5n6VdgBlvxRrL1cExh9gvouPG + d2ta/iyhYUyVIe/RyFHy2VI3k6B1+ZlJGfm+P66pwd9LoVyj3v7/JwfINjgEZxz/JTdOVzhc+wn+ + gpT2+WXkzjNyCkjtrUFF2fBjoq26eo+pFd09mq9O2cmocWnv285bEexToFVmSzyy7xWMQmLXQhtA + Zp3lYjOchQhYqIYArEvxCaJZ+7V99QMAAP//AwBD34ZLKAQAAA== + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 7bfe4d9589e6cee1-SJC + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Sun, 30 Apr 2023 08:09:41 GMT + Server: + - cloudflare + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400, h3-29=":443"; ma=86400 + openai-model: + - gpt-3.5-turbo-0301 + openai-organization: + - user-adtx4fhfg1qsiyzdoaxciooj + openai-processing-ms: + - '9223' + openai-version: + - '2020-10-01' + strict-transport-security: + - max-age=15724800; includeSubDomains + x-ratelimit-limit-requests: + - '3500' + x-ratelimit-limit-tokens: + - '90000' + x-ratelimit-remaining-requests: + - '3499' + x-ratelimit-remaining-tokens: + - '86491' + x-ratelimit-reset-requests: + - 17ms + x-ratelimit-reset-tokens: + - 2.339s + x-request-id: + - 236ab87ae664fc82d42c2ea35a36b68d status: code: 200 message: OK diff --git a/tests/integration/goal_oriented/cassettes/test_write_file/test_write_file.yaml b/tests/integration/goal_oriented/cassettes/test_write_file/test_write_file.yaml index 7d21c210..0e9cab5a 100644 --- a/tests/integration/goal_oriented/cassettes/test_write_file/test_write_file.yaml +++ b/tests/integration/goal_oriented/cassettes/test_write_file/test_write_file.yaml @@ -39,10 +39,9 @@ interactions: to user\"\n },\n \"command\": {\n \"name\": \"command name\",\n \"args\": {\n \"arg name\": \"value\"\n }\n }\n} \nEnsure the response can be parsed by Python json.loads"}, {"role": "system", "content": "The current - time and date is Tue Jan 01 00:00:00 2000"}, {"role": "system", "content": "This - reminds you of these events from your past:\n\n\n"}, {"role": "user", "content": - "Determine which next command to use, and respond using the format specified - above:"}], "temperature": 0, "max_tokens": 3223}' + time and date is Tue Jan 01 00:00:00 2000"}, {"role": "user", "content": "Determine + which next command to use, and respond using the format specified above:"}], + "temperature": 0, "max_tokens": 2738}' headers: Accept: - '*/*' @@ -51,7 +50,7 @@ interactions: Connection: - keep-alive Content-Length: - - '3490' + - '3401' Content-Type: - application/json method: POST @@ -59,20 +58,20 @@ interactions: response: body: string: !!binary | - H4sIAAAAAAAAA7yTT2/TQBDF73yK0VxycSI3f0jjWwUHisQFAQVhFG3tib3NesfdHSutIn93tLbT - tEY9gbjOG7/3m9nxEXWOCWalkqyqzXS9ubt53H+68u9+FPeON2vzcb654m/v4/vP3zFCvr2jTIYv - ZhlXtSHRbDHCzJESyjG5eHs5X62Wi/llhBXnZDDBopbpYraaSuNueRov4guMsPGqIEyOWDuuatkK - 78l6TNbrZYRn76f6PI4jFBZlnkqb9bKNMCtZZ+Qx+XnEivzJ1rEhTFB5r70oKwGSrZANAxxTCwCQ - opTcFKX4FBMYioNADxKKKV7DQRsDjSeQkuDgtNBWeLvThiDjqlI2B+FegMkHMobhhp3JJ6CtMCjo - Wq2qKIdJGfTtIegzeZDJLMXoebAj5dlqW/TpX0qCgpUB7f8iJIIO8lX8YF4SVOwFVF07rp1WQrBj - B1IGVfn9mLQ2yvaQU/j6n7aTOS060746vY0l6vzJ+sYFBiVwDaqCxmtbdEwZO0eZnHOGZSjp5PDS - YQGBUMie2s3jONvXpPav30Sg+HdT98FtdDrUwfSPOw0OPdOL1Y/QlSvGJ94LofdsMeJ4YTL+LZ7N - dKLtiAfw1LbYRrjTVvty2x81JuiFa4xQ25weMInbX+2b3wAAAP//AwAxpIznhgQAAA== + H4sIAAAAAAAAA7yTT2/bMAzF7/sUBC+5KEHSLG3q21a0a6/DiqGoh0C1GVuLLHoSDRsL/N0H2/nT + ethp2K581Hs/StQeTYoRJrmWpCjt9OpDfdd8+ni7+Hz3ePOzWa+emqf77Cb1tdzWqJBfvlMihxOz + hIvSkhh2qDDxpIVSjBaX64v1+8Xqaqmw4JQsRpiVMl3OVlOp/AtP58v5AhVWQWeE0R5Lz0UpG+Ed + uYDR1epa4dn7VL+YLxQKi7an0vXlvFWY5GwSChg977GgcLT1bAkj1CGYINpJB8lOyHUD7GMHABCj + 5FxluYQYIzgUDwI10hVjfABHlIIwVIFAcoLaG6GN8GZrLEHCRaFd39ALMLknaxm+srfpBIwTBg19 + q9MFpTDJO31Td/pMGpnMYlSvsz3pwM64bAD4khOIDjvw9KMyngIU9BdpCnraP85hQi8WHAR0WXou + vdFCsGUPkneqDrsxcmm1G2in8PifrinxRkxiQjF+J3Kh8h2DFng4vVrC3lMi54jhHqiRM5Nw39q1 + jNNCSXp3TKqNtf9yHYbgVh3X9GD625Z2DgPTG4gRuvbZeMEHoes9W4w43piMP8WrmY60PfEBPHYt + tgq3xpmQb4Z9xgiDcIkKjUupwWjefmvf/QIAAP//AwCaXwR3hAQAAA== headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7be2da273c20ce54-SJC + - 7bfe3ef73b52fac2-SJC Cache-Control: - no-cache, must-revalidate Connection: @@ -82,7 +81,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 27 Apr 2023 00:12:22 GMT + - Sun, 30 Apr 2023 07:59:46 GMT Server: - cloudflare access-control-allow-origin: @@ -94,19 +93,103 @@ interactions: openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '14714' + - '13160' openai-version: - '2020-10-01' strict-transport-security: - max-age=15724800; includeSubDomains x-ratelimit-limit-requests: - '3500' + x-ratelimit-limit-tokens: + - '90000' x-ratelimit-remaining-requests: - '3499' + x-ratelimit-remaining-tokens: + - '86497' x-ratelimit-reset-requests: - 17ms + x-ratelimit-reset-tokens: + - 2.335s x-request-id: - - 23366aac1ddcc141fc735b4a1a8b268c + - f665162ae22af897be24f632a031d434 + status: + code: 200 + message: OK +- request: + body: '{"model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "Your + task is to create a concise running summary of actions and information results + in the provided text, focusing on key and potentially important information + to remember.\n\n\nYou will receive the current summary and the latest development. + Combine them, adding relevant key information from the latest development in + 1st person past tense and keeping the summary concise.\n\nSummary So Far:\n\"\"\"\nI + was created.\n\"\"\"\n\nLatest Development:\n\"\"\"\nNothing new happened.\n\"\"\"\n"}], + "temperature": 0, "max_tokens": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '600' + Content-Type: + - application/json + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: !!binary | + H4sIAAAAAAAAA0SOQUsDMRQG7/6K8J2zZdNa3eZmeygiPSqISEmTZze6mxc2r1Qt+9+lUPU6MMOc + EAMsfOvE97mrbu+O69X3lJrdks2D2Sy/5o/rp+fgu9ViAw3evZOXizHx3OeOJHKChh/ICQVYc9NM + m2szbxqNngN1sNhnqWaTeSWHYcdVPasNNA7F7Qn2hDxwn2Ur/EGpwC6Mxn/6H2sIi+v+gKnrUcO3 + HD0V2JcTeiq/zYE7goUrJRZxSc6HnITS+f5eHV1Rl2PlUlCJpY1prxIdVeuKal3OlChMMGq8xRRL + ux3IFU6wKMIZGjEF+oStx9fx6gcAAP//AwCGJ6JPSQEAAA== + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 7bfe3f5a5fb3fac2-SJC + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Sun, 30 Apr 2023 07:59:49 GMT + Server: + - cloudflare + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400, h3-29=":443"; ma=86400 + openai-model: + - gpt-3.5-turbo-0301 + openai-organization: + - user-adtx4fhfg1qsiyzdoaxciooj + openai-processing-ms: + - '634' + openai-version: + - '2020-10-01' + strict-transport-security: + - max-age=15724800; includeSubDomains + x-ratelimit-limit-requests: + - '3500' + x-ratelimit-limit-tokens: + - '90000' + x-ratelimit-remaining-requests: + - '3499' + x-ratelimit-remaining-tokens: + - '89866' + x-ratelimit-reset-requests: + - 17ms + x-ratelimit-reset-tokens: + - 88ms + x-request-id: + - 0bc738f58569b4b3635fe0c8384ebcfb status: code: 200 message: OK @@ -151,23 +234,23 @@ interactions: {\n \"arg name\": \"value\"\n }\n }\n} \nEnsure the response can be parsed by Python json.loads"}, {"role": "system", "content": "The current time and date is Tue Jan 01 00:00:00 2000"}, {"role": "system", "content": "This - reminds you of these events from your past:\nNone\n\n"}, {"role": "user", "content": - "Determine which next command to use, and respond using the format specified - above:"}, {"role": "assistant", "content": "{\n \"thoughts\": {\n \"text\": + reminds you of these events from your past: \nI was created and nothing new + has happened."}, {"role": "user", "content": "Determine which next command to + use, and respond using the format specified above:"}, {"role": "assistant", + "content": "{\n \"thoughts\": {\n \"text\": \"I need to use the write_to_file + command to write ''Hello World'' into a file named ''hello_world.txt''.\",\n \"reasoning\": + \"The task requires me to write ''Hello World'' into a file named ''hello_world.txt'', + and the write_to_file command is the most appropriate for this task.\",\n \"plan\": + \"- Use the write_to_file command to write ''Hello World'' into a file named + ''hello_world.txt''.\",\n \"criticism\": \"I need to ensure that I use + the correct file name and text to write to the file.\",\n \"speak\": \"I will use the write_to_file command to write ''Hello World'' into a file - named ''hello_world.txt''.\",\n \"reasoning\": \"The goal is to write - ''Hello World'' into a file named ''hello_world.txt'', and the write_to_file - command is the most appropriate for this task.\",\n \"plan\": \"- Use - the write_to_file command to write ''Hello World'' into a file named ''hello_world.txt''.\",\n \"criticism\": - \"I need to ensure that I am using the correct file name and that the text is - written correctly.\",\n \"speak\": \"I will use the write to file command - to write ''Hello World'' into a file named ''hello_world.txt''.\"\n },\n \"command\": - {\n \"name\": \"write_to_file\",\n \"args\": {\n \"filename\": - \"hello_world.txt\",\n \"text\": \"Hello World\"\n }\n }\n}"}, - {"role": "system", "content": "Command write_to_file returned: File written - to successfully."}, {"role": "user", "content": "Determine which next command - to use, and respond using the format specified above:"}], "temperature": 0, - "max_tokens": 2970}' + named ''hello_world.txt''.\"\n },\n \"command\": {\n \"name\": + \"write_to_file\",\n \"args\": {\n \"filename\": \"hello_world.txt\",\n \"text\": + \"Hello World\"\n }\n }\n}"}, {"role": "system", "content": "Command + write_to_file returned: File written to successfully."}, {"role": "user", "content": + "Determine which next command to use, and respond using the format specified + above:"}], "temperature": 0, "max_tokens": 2486}' headers: Accept: - '*/*' @@ -176,7 +259,7 @@ interactions: Connection: - keep-alive Content-Length: - - '4612' + - '4646' Content-Type: - application/json method: POST @@ -184,19 +267,21 @@ interactions: response: body: string: !!binary | - H4sIAAAAAAAAA6SSQW8TMRCF7/yK0ZydKkuSttkbAiGFA+JQBIKtItc7Wbvx2pZnFoqi/e9om00T - QishcZ3x++bNPO/Q1ViisVpMm/zkann/9b3JZnm1XMnHmzfLd7b4IrL6xB++vUWF8e6ejIyKCxPb - 5ElcDKjQZNJCNZbF5fXrxWI+my8UtrEmjyU2SSazi8VEunwXJ9PZtECFHeuGsNxhyrFNspa4pcBY - FtPiWuERfmzMLhVKFO2PpWIx7xUaG50hxvL7DlviAzhHT1iiZnYsOshgMwahMKywqwIAQIViY9dY - 4QpLGItjgx5kKFa4gp/Oe+iYQCyBaN6uR4MEJratDjVIhKfa4dVFheoUmUlzDC40e+6NJWii9uD4 - WbmCR/CLIweZJWgjC+iUckzZaSHYxAxih+4zHpLXYT9+Ap//eyOTnTjjuD1cKhA9KilwlwedFliB - 1T/oCXZcCbgzhpg3nfe/ztGcSG9fDAD+1e4e2atD3uPzv+IOuqX9tD+ucWZK5+b8p5xGO+Z66q8+ - X/Ko7EdvVeixV7hxwbFd70lYIktMqNCFmh6wnPa3/avfAAAA//8DAKZ6myqyAwAA + H4sIAAAAAAAAA7SSTW/TQBCG7/yK0VxycaIkJST4VqmijYSEQEWIYhRt1xN7yXp3uztOgiL/d7Sx + TUpJOYC4zuf7zLwHVDmmKEvBsnJ6OL/cXV+9mX2+0+aag7u6vHlvH+7myw/bd2+XmKC9/0aSu46R + tJXTxMoaTFB6Ekw5ppNXi+ni5WS2eJ1gZXPSmGLheHgxmg259vd2OL4YTzDBOoiCMD2g87ZyvGK7 + IRMwnYyn8wRPw0+JxSJBtiz0KTSdzJoEZWmVpIDplwNWFPrB3mrCFEUIKrAwHGVaw2QiwiEzAAAZ + cmnrouSQYQpdsEvQnmMwwyWUYksQaikphHWt9XfYecVMBgY3pLWFT9brfADKsAUBa6UJjKgoh0EZ + 86tdzI94z4MR3JYEhvYMgcmBCsAW6kDAJQGLsFl18ATSVpUweSz4GeurRhkmj+V6EsEaZYpW821X + Bp4eauUpQEVn54BYM/kjjzLFOZ5Y+SeiBI4an1UfCUuCygYG4Zy3zivBBGvrgcuYPYPjtDAtyRA+ + /vNxZKSTKlT9Qw3RsZNMqH3sEwxLcN5uVU4gYCu0yqG96VFob0hTPLskOBKbfsFOaf13X21HNklv + 0K78N3/Gb7Tbfhn/RJTwxVNrP/bL/zB4j3DE6Ggy02CT4FoZFcpVuxtTDGwdJqhMTntMx83X5sUP + AAAA//8DAK0qY5KVBAAA headers: CF-Cache-Status: - DYNAMIC CF-RAY: - - 7be2da943bd5ce54-SJC + - 7bfe3f5edbd9fac2-SJC Cache-Control: - no-cache, must-revalidate Connection: @@ -206,7 +291,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 27 Apr 2023 00:12:36 GMT + - Sun, 30 Apr 2023 08:00:00 GMT Server: - cloudflare access-control-allow-origin: @@ -218,19 +303,25 @@ interactions: openai-organization: - user-adtx4fhfg1qsiyzdoaxciooj openai-processing-ms: - - '10505' + - '10898' openai-version: - '2020-10-01' strict-transport-security: - max-age=15724800; includeSubDomains x-ratelimit-limit-requests: - '3500' + x-ratelimit-limit-tokens: + - '90000' x-ratelimit-remaining-requests: - '3499' + x-ratelimit-remaining-tokens: + - '86482' x-ratelimit-reset-requests: - 17ms + x-ratelimit-reset-tokens: + - 2.345s x-request-id: - - f593fff7d415793b53e5124283ad25c9 + - f294799d2564196ef4852c84fdc8fb17 status: code: 200 message: OK diff --git a/tests/unit/test_chat.py b/tests/unit/test_chat.py index 9cb7c625..77ff94d7 100644 --- a/tests/unit/test_chat.py +++ b/tests/unit/test_chat.py @@ -33,18 +33,14 @@ def test_generate_context_empty_inputs(mocker): # Assert expected_result = ( -1, - 47, - 3, + 32, + 2, [ {"role": "system", "content": ""}, { "role": "system", "content": f"The current time and date is {time.strftime('%c')}", }, - { - "role": "system", - "content": f"This reminds you of these events from your past:\n\n\n", - }, ], ) assert result == expected_result @@ -78,5 +74,5 @@ def test_generate_context_valid_inputs(): assert result[0] >= 0 assert result[2] >= 0 assert result[1] >= 0 - assert len(result[3]) >= 3 # current_context should have at least 3 messages + assert len(result[3]) >= 2 # current_context should have at least 2 messages assert result[1] <= 2048 # token limit for GPT-3.5-turbo-0301 is 2048 tokens diff --git a/tests/vcr/openai_filter.py b/tests/vcr/openai_filter.py index b18b694b..15a4b862 100644 --- a/tests/vcr/openai_filter.py +++ b/tests/vcr/openai_filter.py @@ -41,7 +41,10 @@ def before_record_request(request): def filter_hostnames(request): - allowed_hostnames = ["api.openai.com"] # List of hostnames you want to allow + allowed_hostnames = [ + "api.openai.com", + "localhost:50337", + ] # List of hostnames you want to allow if any(hostname in request.url for hostname in allowed_hostnames): return request