Converting OpenAI function calls to HTTP Requests for any service in OpenAPI format

Hey all, is there an OpenAI python library or a module to convert OpenAI function invocation format (with operation id, parameters, etc.) into HTTP requests for OpenAPI services invocation? It should parse the OpenAI function JSON format and construct requests using an OpenAPI schema. Hoping to find an existing solution to avoid writing it myself :slight_smile:

I’ve not heard of anything off-hand or researched… If you figure it out, though, let us know. Sounds interesting!

1 Like

Hey Paul, a module should already exist in the OpenAI tools stack for GPTs. But I can’t find it; perhaps it is private and used only internally.