Credentials are stored online, and keys are encrypted.
Literal AI supports all major LLM providers:
OpenAI
Mistral
Anthropic
Google
Azure OpenAI
Amazon Bedrock
Groq
Adding a credential is as simple as providing an API key:
Add a credential
Literal AI comes with a set of pre-configured models for each provider, but you can add your own. Custom Models should be the list of models you fine-tuned on specific providers.
All credentials can be used by any Admin or AI Engineer on your team.
Once added, credentials are not visible anymore. Admins may edit or delete credentials.
Azure OpenAI and Amazon Bedrock have additional fields to configure.For Azure OpenAI, you need to map the Azure OpenAI endpoint to the following format:https://YOUR_RESOURCE_NAME.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT_NAME/chat/completions?api-version=2024-06-01For instance,
https://my_instance.openai.azure.com/openai/deployments/gpt-4o/chat/completions?api-version=2024-06-01would map to the following Literal AI provider:
If your LLM provider does not fall into one of the above, you may define your own, custom.In addition to the API key, you provide a base URL and the available models.
The chat completions endpoint should follow OpenAI’s API format.
Custom provider
Make sure your endpoint is reachable from the Internet!
Especially if using LM Studio with http://localhost:1234/v1 😉