Multimodal Capabilities
Function Calling
Obiguard’s AI Gateway enables function calling, allowing you to define functions in API requests. Supported models can respond with either plain text or a function name and its parameters.
Using Functions
Obiguard allows you to define functions in API requests using the OpenAI function signature.
The tools
parameter can include functions and is supported by models that enable function or tool calling.
Managing Functions and Tools in Prompts
With Obiguard’s Prompt Library, you can create prompt templates that include function or tool definitions and specify the tool choice parameter. Obiguard also validates your tool definitions in real time to help prevent syntax errors.
Supported Providers and Models
Function calling is supported by the following providers, with more being added regularly.
Provider | Supported Models |
---|---|
OpenAI | gpt-4 series, gpt-3.5-turbo series |
Azure OpenAI | gpt-4 series, gpt-3.5-turbo series |
Anyscale | mistralai/Mistral-7B-Instruct-v0.1, mistralai/Mixtral-8x7B-Instruct-v0.1 |
Together AI | mistralai/Mixtral-8x7B-Instruct-v0.1, mistralai/Mistral-7B-Instruct-v0.1, togethercomputer/CodeLlama-34b-Instruct |
Fireworks AI | firefunction-v1, fw-function-call-34b-v0 |
Google Gemini / Vertex AI | gemini-1.0-pro, gemini-1.0-pro-001, gemini-1.5-pro-latest |