OpenAI Compatible API
Function is backwards compatible with OpenAI (OAI), allowing you to seamlessly leverage our backend and existing SDKs without any new dependencies.
The following API services are OAI compliant:
Chat Completion:
https://api-gateway.function.network/v1/chat/completions
Embeddings:
https://api-gateway.function.network/v1/chat/completions
Image Generation:
https://api-gateway.function.network/v1/images/generation
Python Example
Last updated