Using Xalora API with Eliza
Learn how to integrate and configure Xalora API with Eliza for enhanced AI capabilities
Eliza enables developers to build autonomous AI agents. With Xalora API integration, you can access powerful AI models for both language processing and embedding generation.
Prerequisites
Before you begin, make sure you have:
Completed the Eliza quickstart
Obtained your api key immediately with referral code
agent
when fill out this form Xalora API key
Environment Configuration
Add these environment variables to your .env
file:
Copy
# Required Xalora API settings
XALORA_API_KEY="<XALORA_API_KEY>" # API key for Xalora
XALORA_MODEL=FLUX.1-dev # Default model for image generation
XALORA_EMBEDDING_MODEL=BAAI/bge-large-en-v1.5 # Default embedding model
USE_XALORA_EMBEDDING=true # Enable Xalora embeddings
# Optional: Task-specific model configuration
SMALL_XALORA_MODEL=your_small_model
MEDIUM_XALORA_MODEL=your_medium_model
LARGE_XALORA_MODEL=your_large_model
Character Configuration
Configure your character file in JSON format to use Xalora as the model provider:
Copy
{
"modelProvider": "Xalora"
}
Supported Models
Language Models
For available language models, refer to the Xalora LLM documentation.
Image Models
For available image generation models, refer to the Xalora Image Models documentation.
Embedding Model
Currently, Xalora supports the following embedding model:
BAAI/bge-large-en-v1.5 (Default model for all embedding operations)
Last updated