XFerence AI Model Configuration in ConvyAI
Overview
XFerence brings LLM inference to dedicated Italian infrastructure, letting you adopt generative capabilities without conversation data ever leaving Italian territory. It's built for contexts where data localization is a requirement, not an option.
Prerequisites
- An XFerence endpoint URL and API key.
- Credentials configured in Generative AI Settings.
Create an XFerence AI Model
Navigate to Generative AI → AI Models and click New Model → XFerence.

Configuration options
| Field | Description |
|---|---|
| AI Model name | A unique name to identify this AI Model. |
| Check as default | Marks this AI Model as the default one for the tenant. |
| Fast recognition | Enables fast recognition mode for this model. |
| XFerence Api Key | The API key for your XFerence instance. Masked once saved. |
| XFerence Endpoint | The URL of your XFerence instance. |
| Intent threshold | Minimum confidence score for an intent to be considered valid. |
Advanced parameters
| Parameter | Default | Description |
|---|---|---|
| Prompt version | v3 | System prompt version applied when using the model in Knowledge Base nodes. |
| Completion model | - | The completion model to invoke. Enter one of the models currently exposed by XFerence (Qwen 3.6, Gemma 4 3B, Gemma 4 12B) or any other model name, as a free-text field. |
| Embedding model | BAAI/bge-m3 | The embedding model exposed by XFerence, used during Knowledge Base indexing and retrieval. |
| Max token completion | 1000 | Maximum number of tokens in the generated response. |
| Temperature | 0.7 | Controls response creativity. Lower values (0.0–0.3) produce more deterministic outputs; higher values (0.7–1.0) produce more varied responses. |
| Top P | 1 | Nucleus sampling parameter. Limits token selection to the top probability mass. |
| Frequency penalty | 0.0 | Reduces repetition of tokens that have already appeared in the output. |
| Presence penalty | 0.0 | Encourages the model to introduce new topics by penalizing tokens that have already appeared. |
| Number of extracted chunks | 3 | How many Knowledge Base chunks are retrieved and passed to the model as context during RAG. |
Using an XFerence AI Model
Once configured, an XFerence AI Model can be used wherever a generative AI Model is selected:
- In the AI Agent node of the FlowDesigner, and in the AI Agent node of the Agentic Designer - including MCP Server tools, JavaScript functions, and image analysis.
- In the Knowledge Base node, for intent classification and RAG-grounded responses.
Intents, entities, and testing
Configuring intents and entities and testing the model are features shared across all AI Model providers. See Intents, Entities & Testing for full documentation.
Notes and limitations
- An index built with the
BAAI/bge-m3embedding model is not compatible with indexes built with a different embedding model. Adopting XFerence on an existing Knowledge Base requires creating a new index and fully reindexing the content. See Indexing.