Skip to main content

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

Create an XFerence AI Model

Navigate to Generative AI → AI Models and click New Model → XFerence.

XFerence AI Model configuration form

Configuration options

FieldDescription
AI Model nameA unique name to identify this AI Model.
Check as defaultMarks this AI Model as the default one for the tenant.
Fast recognitionEnables fast recognition mode for this model.
XFerence Api KeyThe API key for your XFerence instance. Masked once saved.
XFerence EndpointThe URL of your XFerence instance.
Intent thresholdMinimum confidence score for an intent to be considered valid.

Advanced parameters

ParameterDefaultDescription
Prompt versionv3System 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 modelBAAI/bge-m3The embedding model exposed by XFerence, used during Knowledge Base indexing and retrieval.
Max token completion1000Maximum number of tokens in the generated response.
Temperature0.7Controls response creativity. Lower values (0.0–0.3) produce more deterministic outputs; higher values (0.7–1.0) produce more varied responses.
Top P1Nucleus sampling parameter. Limits token selection to the top probability mass.
Frequency penalty0.0Reduces repetition of tokens that have already appeared in the output.
Presence penalty0.0Encourages the model to introduce new topics by penalizing tokens that have already appeared.
Number of extracted chunks3How 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-m3 embedding 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.