The Provider tab controls which AI model your assistant uses and how responses are formatted. These settings directly impact assistant performance, cost, and capabilities.Documentation Index
Fetch the complete documentation index at: https://docs.quiva.ai/llms.txt
Use this file to discover all available pages before exploring further.
Default Model: Claude Haiku 4.5
All assistants use Claude Haiku 4.5 by default. It’s included in every QuivaWorks plan — no API key or additional setup required. Your plan’s credits are consumed per interaction. Claude Haiku 4.5 is fast, cost-effective, and excellent for the vast majority of business workflows: customer service, research, content generation, data extraction, and analysis. It’s the right choice for most assistants.Bring Your Own Keys
On Team and Enterprise plans, you can connect your own Anthropic API key to use specific Claude models directly. When using your own keys:- You’re billed directly by the provider, not through QuivaWorks credits
- You have full control over which model version to use
- You can access models that aren’t available on the default plan
Bring Your Own Keys is available on Team and Enterprise plans only. See plans →
Available Models
Anthropic’s Claude models — excellent instruction-following, long context, and strong reasoning. Best for:- Long document processing (200K+ token context)
- Complex, nuanced instructions
- High-accuracy analysis and research
- Safety-critical applications
claude-haiku-4-5— Fast and cost-effective (same as default)claude-sonnet-4-5— Balanced performance and capabilityclaude-opus-4-5— Most capable, highest cost
Get your Anthropic API key at console.anthropic.com
Setting Up Your API Key
Once you have an API key from a provider, add it to your assistant:Select Provider and Model
Choose your provider from the dropdown, then select the specific model version.
Enter Your API Key
Paste your API key into the API Key field. The key is encrypted and securely stored. It will be masked immediately after entry.
Getting an Anthropic API Key
Create an Account
Visit console.anthropic.com and sign up. New accounts receive free credits to get started.
Set Up Billing
In the Anthropic Console, go to Billing and add a payment method. Set a monthly budget to avoid unexpected charges.
Create Your API Key
- Navigate to API Keys in the left sidebar, or go to console.anthropic.com/settings/keys
- Click Create Key and give it a descriptive name (e.g., “QuivaWorks Production”)
- Copy the key immediately — it starts with
sk-ant-and cannot be retrieved after you close the dialog - Store it securely in a password manager
Output Schema
Define the exact structure your assistant must return. When configured, the assistant validates its output against the schema and retries automatically if it doesn’t match.When to Use Output Schemas
- Use a Schema
- Skip a Schema
When you need:
- Structured data extraction from documents or conversations
- Consistent field names and types for downstream processing
- Integration with other systems or flow steps
- Automated validation of assistant responses
- Lead qualification (return structured lead data)
- Invoice processing (extract specific fields)
- Customer service triage (categorise and route issues)
- API responses (return JSON for webhooks)
Defining an Output Schema
Use natural language JSON Schema format — describe fields and their types in the description: Simple example:Schema Field Guide
Field Types
Field Types
Specify the type in the description string:
Optional Fields
Optional Fields
Use “or null” to mark fields as optional:
Enum Values
Enum Values
Specify allowed values using “one of”:
Arrays of Objects
Arrays of Objects
For arrays of structured objects:
Schema Examples
Lead Qualification
Lead Qualification
Invoice Processing
Invoice Processing
Customer Service Triage
Customer Service Triage
Validation and Auto-Correction
When an output schema is defined:- The assistant generates a response
- QuivaWorks validates it against the schema
- If invalid: the assistant retries automatically with correction instructions
- If valid: the response is returned
- After 3 failed attempts: the step is marked as an error
Validation and auto-correction happen automatically. No additional logic is needed in your flow.
Best Practices
Start with the default model
Start with the default model
Claude Haiku 4.5 handles most business workflows extremely well and uses your included plan credits. Start here and only switch if you have a specific reason — like needing a 200K token context window or a particular model’s behaviour on complex tasks.
Use output schemas for structured data
Use output schemas for structured data
Always use a schema when extracting specific fields, passing data between flow steps, or integrating with other systems. Skip schemas for natural language responses and conversational outputs.
Write descriptive schema field names
Write descriptive schema field names
Don’t just name fields — guide the assistant on what to extract:❌ Vague:✅ Descriptive:
Secure your API keys
Secure your API keys
- Never commit keys to code repositories
- Use separate keys for development and production environments
- Set spending limits on provider platforms
- Monitor usage regularly for unexpected spikes
- Revoke and rotate keys if you suspect any exposure
Troubleshooting
API key not working
API key not working
- Verify the full key was copied (no extra spaces)
- Confirm the key is active on the provider’s platform
- Ensure billing is set up on the provider account
- Check that you haven’t exceeded rate limits or quota
- Try generating a new key if issues persist
Output doesn't match schema
Output doesn't match schema
- Simplify the schema — start with fewer fields
- Add clearer, more specific field descriptions
- Make optional fields nullable (
string or null) - Ensure the input data actually contains the information you’re asking for
- Check that assistant instructions don’t conflict with the schema
Inconsistent responses
Inconsistent responses
- Make instructions more specific
- Add an output schema to enforce structure
- Include examples in the instructions
- Provide more context in the prompt
Next Steps
Context Settings
Configure memory, token limits, and reasoning depth
Knowledge
Add documentation and context sources
Tools & Connectors
Connect your systems via MCP
Best Practices
Optimise assistant performance and cost