*****NEXT TASK*****
33: Develop a system to enable the agent to enhance itself with its own integrations to access these APIs.
> Entering new AgentExecutor chain…
Thought: I need to find out what APIs are available and how to integrate them.
Action: Search
Action Input: APIs for self-modificationAPI call has been prohibited Error – Oracle Forums
Process Self-Modification Detection – Technique D3-PSMD | MITRE …
Runtime API usage required for get function — oracle-tech
Identity Service Self APIs
Proxies: Design Principles for Robust Object-oriented Intercession …
PingDirectory REST API Reference
POST request body modification | Layer7 API Management
Self-modifying code – Wikipedia
self modifying code – CUDA Programming and Performance …
ES6 – Reflect API
Observation: None
Thought: I need to find out how to integrate APIs with the agent.
Action: Search
Action Input: How to integrate APIs with an autonomous agentOracle Cloud Infrastructure API Reference and Endpoints
FAQ – SentinelOne
REST API for Oracle Integration – About the REST APIs
What is an Application Programming Interface (API)? | IBM
From ChatGPT to Auto-GPT: Discover the Next Evolution of …
Build More Engaging Games with ML Agents | Unity
Task-driven Autonomous Agent Utilizing GPT-4, Pinecone, and …
Autonomous cognitive agents with natural language abilities.
Access Oracle Autonomous Database (ADB) resides in Private …
Multimodal localization for autonomous agents
Observation: None
Thought: I need to find out how to use GitHub integration for self-modification.
Action: Search
Action Input: How to use GitHub integration for self-modificationAn error occurred: <HttpError 429 when requesting https://customsearch.googleapis.com/customsearch/v1?q=How+to+use+GitHub+integration+for+self-modification&cx=c5d28274c61e2412c&key=AIzaSyDo5iAVCrxwtpvelUF9VZ1nUJT4ubMG0nE&alt=json returned “Quota exceeded for quota metric ‘Queries’ and limit ‘Queries per day’ of service ‘customsearch.googleapis.com’ for consumer ‘project_number:543109850588’.”. Details: “[{‘message’: “Quota exceeded for quota metric ‘Queries’ and limit ‘Queries per day’ of service ‘customsearch.googleapis.com’ for consumer ‘project_number:543109850588’.”, ‘domain’: ‘global’, ‘reason’: ‘rateLimitExceeded’}]”>
—————————————————————————
TypeError Traceback (most recent call last)
<ipython-input-219-b5a7585b5beb> in <cell line: 1>()
—-> 1 baby_agi({“objective”: OBJECTIVE})
12 frames
/usr/local/lib/python3.9/dist-packages/langchain/chains/base.py in __call__(self, inputs, return_only_outputs)
114 except (KeyboardInterrupt, Exception) as e:
115 self.callback_manager.on_chain_error(e, verbose=self.verbose)
–> 116 raise e
117 self.callback_manager.on_chain_end(outputs, verbose=self.verbose)
118 return self.prep_outputs(inputs, outputs, return_only_outputs)
/usr/local/lib/python3.9/dist-packages/langchain/chains/base.py in __call__(self, inputs, return_only_outputs)
111 )
112 try:
–> 113 outputs = self._call(inputs)
114 except (KeyboardInterrupt, Exception) as e:
115 self.callback_manager.on_chain_error(e, verbose=self.verbose)
<ipython-input-215-d770d929b0dd> in _call(self, inputs)
53
54 # Step 2: Execute the task
—> 55 result = execute_task(
56 self.vectorstore, self.execution_chain, objective, task[“task_name”]
57 )
<ipython-input-208-73e984a8b243> in execute_task(vectorstore, execution_chain, objective, task, k)
16 return “No results found.”
17 else:
—> 18 return execution_chain.run(objective=objective, context=context, task=task)
/usr/local/lib/python3.9/dist-packages/langchain/chains/base.py in run(self, *args, **kwargs)
214
215 if kwargs and not args:
–> 216 return self(kwargs)[self.output_keys[0]]
217
218 raise ValueError(
/usr/local/lib/python3.9/dist-packages/langchain/chains/base.py in __call__(self, inputs, return_only_outputs)
114 except (KeyboardInterrupt, Exception) as e:
115 self.callback_manager.on_chain_error(e, verbose=self.verbose)
–> 116 raise e
117 self.callback_manager.on_chain_end(outputs, verbose=self.verbose)
118 return self.prep_outputs(inputs, outputs, return_only_outputs)
/usr/local/lib/python3.9/dist-packages/langchain/chains/base.py in __call__(self, inputs, return_only_outputs)
111 )
112 try:
–> 113 outputs = self._call(inputs)
114 except (KeyboardInterrupt, Exception) as e:
115 self.callback_manager.on_chain_error(e, verbose=self.verbose)
/usr/local/lib/python3.9/dist-packages/langchain/agents/agent.py in _call(self, inputs)
820 # We now enter the agent loop (until it returns something).
821 while self._should_continue(iterations, time_elapsed):
–> 822 next_step_output = self._take_next_step(
823 name_to_tool_map, color_mapping, inputs, intermediate_steps
824 )
/usr/local/lib/python3.9/dist-packages/langchain/agents/agent.py in _take_next_step(self, name_to_tool_map, color_mapping, inputs, intermediate_steps)
723 tool_run_kwargs[“llm_prefix”] = “”
724 # We then call the tool on the tool input to get an observation
–> 725 observation = tool.run(
726 agent_action.tool_input,
727 verbose=self.verbose,
/usr/local/lib/python3.9/dist-packages/langchain/tools/base.py in run(self, tool_input, verbose, start_color, color, **kwargs)
71 except (Exception, KeyboardInterrupt) as e:
72 self.callback_manager.on_tool_error(e, verbose=verbose_)
—> 73 raise e
74 self.callback_manager.on_tool_end(
75 observation, verbose=verbose_, color=color, name=self.name, **kwargs
/usr/local/lib/python3.9/dist-packages/langchain/tools/base.py in run(self, tool_input, verbose, start_color, color, **kwargs)
68 )
69 try:
—> 70 observation = self._run(tool_input)
71 except (Exception, KeyboardInterrupt) as e:
72 self.callback_manager.on_tool_error(e, verbose=verbose_)
/usr/local/lib/python3.9/dist-packages/langchain/agents/tools.py in _run(self, tool_input)
15 def _run(self, tool_input: str) -> str:
16 “””Use the tool.”””
—> 17 return self.func(tool_input)
18
19 async def _arun(self, tool_input: str) -> str:
<ipython-input-209-40384fe33d8e> in search_internet(query)
13
14 # Extract the titles and URLs of the top search results
—> 15 results = [{‘title’: r[‘title’], ‘url’: r[‘link’]} for r in results]
16
17 # Print the results
TypeError: ‘NoneType’ object is not iterable
Leave a Reply