Open maxiao124 opened 1 year ago
@maxiao124 we have work-in-progress on an autogpt implementation to work as an autonomous agent. We have not targeted it for openapi/swagger, but we can do it.
is that what you are looking for ? if you can give me an example of a usecase, it will help me understand better.
P.S. you can also join our discord if you want to chat in realtime. link in Readme.
thank you for you time,there is a link which is useful: https://python.langchain.com/en/latest/modules/agents/toolkits/examples/openapi.html
langchain is achieve this,but I want this in Java @sandys
Hey @maxiao124 do you want to work with the Spotify api or do you have any other api documentation in mind. We will need at least the api documentation for our AutoGPT implementation to interact with it.
A sample task and apis it interacts with will do for an initial idea of the agent we want to achieve.
OpenAPI is just a scenario, and I am more focused on importing JSON or YAML format files (Swagger specification) and combining them with LLM to achieve parsing natural language, using formatted prompt words, and calling corresponding APIs through proxies to connect business systems
@Saatvik-droid
Just as a clarification @maxiao124
Correct me if I am wrong. You want to have users write a query in natural language and provide a Swagger JSON/YAML with the API spec and get our agent to generate relevant API requests?
yep
do you consider construct agents to consume arbitrary APIs, here APIs conformant to the OpenAPI/Swagger specification.