Platform Guides
Custom Providers
How to add and use custom LLM providers in Asserto AI
Introduction
Asserto AI supports custom LLM providers, it uses Ollama-style chat completions API.
Chat Completions Endpoint
Example request sent by Asserto AI
Request Body:
Adding a Custom Provider
- Navigate to Providers: Select Providers from the sidebar.
- Add New Provider: Click Add New Provider.
- Configure Details:
- Model: i.e.
llama3.2:1b
- Base URL: Your API endpoint (e.g.,
https://api.yourprovider.com/api/chat
) - Config: You can add custom headers and query parameters to be included in all requests.
Usage
Once configured, custom providers appear in the model selection dropdown. It can be used both in the playground and on test-runner.
Both JSON and plain text responses are supported.
As of today, streaming and tools are not supported.