Module endpoint

Source
Expand description

API endpoint definitions

§OpenAI’s API endpoints

Note that for Audios and Images, an extended endpoint variant will be needed.

Enums§

AudioEndpointVariant
Endpoint variants for Audios
Endpoint
API endpoint definition enum
EndpointVariant
Enum for endpoints that have several variants.
ImageEndpointVariant
Endpoint variants for Images

Functions§

endpoint_filter
Check if selected model is available to certain API endpoint
request_endpoint
Send request to remote endpoint using JSON.
request_endpoint_form_data
Send request to remote endpoint using Form data.
request_endpoint_stream
Send request to remote endpoint using JSON but response will be streamed.