Documentation Index
Fetch the complete documentation index at: https://docs.elementum.io/llms.txt
Use this file to discover all available pages before exploring further.
What Are AI Services?
AI Services are specific AI model instances that you configure for use in your workflows. While AI Providers establish connections to external AI platforms, AI Services define the actual models, settings, and configurations that power your AI features.Prerequisites: You must have at least one AI Provider configured before creating AI Services. See the AI Overview for setup instructions.
Required Permission:
Types of AI Services
Elementum supports two types of AI Services:- LLM Services — Language models for text generation, conversation, and analysis. Used for agents, automation actions, and content generation.
- Embedding Services — Embedding models for semantic search and similarity analysis. Used in AI Search to convert data into vector representations for semantic querying.
Prerequisites
Before creating services, you need at least one configured AI provider. Provider setup is covered on its own page per provider; once your provider is saved in Organization Settings → Providers, return here to create services.OpenAI
Connect OpenAI as a provider
Anthropic
Connect Anthropic for direct Claude access
Snowflake Cortex
Connect Snowflake Cortex for LLM and embedding services
Google Gemini
Connect Vertex AI Gemini
Amazon Bedrock
Connect Bedrock-hosted models
Custom Provider
Connect any OpenAI-compatible endpoint (configured below)
Configure a Custom Provider
Use the Custom provider type to connect any OpenAI-compatible endpoint, including LLM gateways, proxies, and self-hosted models. Once configured, a custom provider can be used across agents and automations just like any built-in provider.- In AI Services, click + Connect Provider and choose Custom
- Enter a Name to identify the provider in Elementum
- Enter the URL of the OpenAI-compatible endpoint
- Select the connection type from the dropdown:
- API Key — Provide a static API key issued by your endpoint
- OAuth Credentials — Provide the OAuth Client Credentials (client ID, client secret, and token URL) used to obtain a bearer token
- Enter the required credentials for the connection type you selected
- Click Save
The endpoint must implement the OpenAI Chat Completions API contract. Capabilities available to a custom-provider model (such as structured output, multimodal input, or reasoning) depend on what the underlying endpoint supports.
Manage Providers
Once a provider is connected, click on it in the Providers tab to:- View connection details and status
- Edit the provider configuration or credentials
- Delete the provider
- Click + Add Models to make additional models from this provider available to your services
Configure Provider Failover
Configure one or more backup providers so traffic automatically reroutes if the primary provider is unreachable. No user action is required during an outage. Prerequisites:- At least two configured AI Providers of compatible model families.
- Each provider must have active, tested credentials.
- On the Providers tab, open the dropdown for the desired provider and click the
Provider Details icon. - Click the
Edit icon next to Backup Providers. - Select a provider to use in case of failover. Choose multiple to ensure several options are available.
- Click Save.
- Failover is automatic — no user action is required during an outage.
- Only providers whose status is Active are eligible targets.
- Failover applies to all features consuming the primary provider (agents, search, summarization, and so on).
- When the primary provider recovers, new requests resume routing to it.
Migrate a Model Across the Organization
Replace any AI model with a different model in a single action. Every automation action and agent that references the source model switches over automatically, so you don’t need to update each one individually. Configuration steps:- On the Providers tab, click the dropdown next to the service whose model you want to replace.
-
Click the
Replace Model icon.
-
Select the new model from the dropdown.
The popup lists every automation that uses the current model so you can review the impact before confirming.
- Click Replace.
- The migration runs in the background and can take time when many automations reference the source model. Track progress under Background tasks.
- Agents and automation actions referencing the source model are updated in place — you don’t need to reopen and republish each one.
Create AI Services
To create a service:- Navigate to the AI Services page and open the Services tab.
- Click + Service and choose the service type—LLM for language models or Embedding for AI Search.
- Configure the fields described below for the service type you selected.
- Click Save. New services appear in the Services tab and can be tested before assignment.
Create an LLM Service
LLM Services power conversational AI, text generation, and intelligent automation.- Service Configuration
- Advanced Settings
Service Name: Give your service a descriptive name (e.g., “Customer Support Bot”)Provider: Select your configured AI ProviderModel: Choose from available models for your provider. See AI Models for a detailed comparison of capabilities, use cases, and pricing considerations across all providers.Cost Per Million Tokens: Optional cost tracking (varies by provider)
Create an Embedding Service
Embedding Services enable AI Search and semantic understanding.- Service Configuration
- Configuration Options
Service Name: Descriptive name (e.g., “Document Search Embeddings”)Provider: Select your configured AI ProviderModel: Choose from available embedding models:
- Snowflake Arctic L V2.0 — Latest high-quality embeddings
- Snowflake Arctic L V1.5 — Reliable embeddings for production use
Assign to Features
Assign AI models to Elementum features at the organization level so those features have a default model available across your workflows.- Navigate to the AI Services page and click the Features tab
- Click + Assign Model next to a feature and select a model from the dropdown
- Click Save
Test Services
Before using AI Services in production, test them from the Services list:- Click on a service name to open the testing interface
- For LLM Services: enter sample prompts, review AI-generated responses, adjust parameters, and monitor response times
- For Embedding Services: enter sample text, review generated embedding vectors, and test similarity calculations between texts
Manage and Optimize
Once your services are created and tested, keep the following in mind:- Model selection — The right model depends on your use case. For recommendations by task type (agents, classification, content generation, semantic search) and guidance on balancing cost and performance, see the Model Selection Guide.
- Cost optimization — Right-size your model choices, write concise prompts, and set appropriate token limits to control spending. See Cost Optimization for detailed strategies.
- Multiple providers — You can configure services across different providers for redundancy or to use different model strengths for different tasks. See AI Providers for setup details.
- Feature-specific guidance — For details on how AI Services integrate with specific capabilities, see AI in Automations for automation actions, Building Agents for conversational agents, and AI Search for embedding-powered search.
Troubleshooting
Service Creation Failures
Service Creation Failures
Symptoms: Cannot create new AI servicesCommon Causes:
- AI Provider not configured
- Invalid model selection
- Insufficient permissions
- Verify AI Provider is properly configured
- Check model availability for your provider
- Ensure proper permissions are granted
- Try creating with different model options
Poor Performance
Poor Performance
Symptoms: Slow response times or quality issuesCommon Causes:
- Inappropriate model selection
- Suboptimal configuration
- Network or provider issues
- Review model selection for your use case
- Optimize service configuration settings
- Check provider status and network connectivity
- Consider switching to different models
High Costs
High Costs
Symptoms: Unexpected high token usage or costsCommon Causes:
- Inefficient prompts or queries
- Inappropriate model selection
- Excessive API calls
- Review and optimize prompts
- Use more cost-effective models where appropriate
- Implement caching and batching
- Monitor and analyze usage patterns
Next Steps
AI Models
Compare models across providers to choose the right one for your use case
Enable AI Search
Use embedding services to power semantic search across your data
Build Agents
Create conversational AI assistants using your LLM services
AI in Automations
Add AI-driven actions to your automation workflows