News for hackers. Stuff that matters.
Re:Show HN: OpenAPI DevTools – Chrome ext. that generates an... by ushakov on Wednesday October 25, 2023 @11:00AM (#38013554)
How is this different from what LangChain already offers with their OpenAPI chain?

https://python.langchain.com/docs/use_cases/apis

Re:Show HN: OpenAPI DevTools – Chrome ext. that generates an... by quan on Wednesday October 25, 2023 @11:51PM (#38021411)
afaik, the langchain solution loads entire openAPI spec which consumes a lot of token and won't work for many large API. For efficient token usage, api2ai divides the task into two steps: api planning and params parsing. First step takes a summarization of all the endpoints. Once the endpoint is known, we parse params using the schema of the selected endpoint.