Client SDK for OpenAI generated from their OpenAPI specification.
If available in Hex, the package can be installed
by adding oapi_oai
to your list of dependencies in mix.exs
:
def deps do
[
{:oapi_oai, "~> 0.1"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/oapi_oai.
To regenerate the API
mix api.gen default ./resources/openai-openapi/openapi.yaml