# mulesoft MuleSoft Inference Connector - Full Documentation --- product: MuleSoft Inference Connector version: 1.0 --- # Configuring Image Generation Operations > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Configure the **\[Image\] Generate (only Base64)** operation. ## Configure the Image Generate (only Base64) Operation The **\[Image\] Generate (only Base64)** operation creates images from text descriptions using AI-powered image generation models. Apply the **\[Image\] Generate (only Base64)** operation in various scenarios, such as for: - **Content Generation** Generate images for blog posts, articles, social media, research, or design projects. To configure the **\[Image\] Generate (only Base64)** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Prompt** Enter the text description of the image you want to generate. This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the generated image data and metadata about the generation process. This is an example response: ```json { "payload": { "response": "" } } ``` The operation also returns attributes that aren’t within the main JSON payload, for example: ```json { "model": "Model name used", "promptUsed": "Revised prompt from LLM" } ``` ## See Also - [MuleSoft Inference Connector Overview](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.1 --- # Configuring Image Generation Operations > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Configure the **\[Image\] Generate (only Base64)** operation. ## Configure the Image Generate (only Base64) Operation The **\[Image\] Generate (only Base64)** operation creates images from text descriptions using AI-powered image generation models. Apply the **\[Image\] Generate (only Base64)** operation in various scenarios, such as for: - **Content Generation** Generate images for blog posts, articles, social media, research, or design projects. To configure the **\[Image\] Generate (only Base64)** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Prompt** Enter the text description of the image you want to generate. This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the generated image data and metadata about the generation process. This is an example response: ```json { "payload": { "response": "" } } ``` The operation also returns attributes that aren’t within the main JSON payload, for example: ```json { "model": "Model name used", "promptUsed": "Revised prompt from LLM" } ``` ## See Also - [MuleSoft Inference Connector Overview](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.2 is-latest-version: true --- # Configuring Image Generation Operations > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Configure the **\[Image\] Generate (only Base64)** operation. ## Configure the Image Generate (only Base64) Operation The **\[Image\] Generate (only Base64)** operation creates images from text descriptions using AI-powered image generation models. Apply the **\[Image\] Generate (only Base64)** operation in various scenarios, such as for: - **Content Generation** Generate images for blog posts, articles, social media, research, or design projects. To configure the **\[Image\] Generate (only Base64)** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Prompt** Enter the text description of the image you want to generate. 3. In the **Additional Request Attributes** (optional) field, you can pass any additional request attributes in the request payload to generate more relevant and precise LLM outputs. This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the generated image data and metadata about the generation process. This is an example response: ```json { "payload": { "response": "" } } ``` The operation also returns attributes that aren’t within the main JSON payload, for example: ```json { "model": "Model name used", "promptUsed": "Revised prompt from LLM" } ``` ## See Also - [MuleSoft Inference Connector Overview](https://docs.mulesoft.com/mulesoft-inference-connector/latest/) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.0 --- # Configuring Moderation Operations > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Configure the **\[Toxicity\] Detection by Text** operation. ## Configure the Toxicity Detection by Text Operation The **\[Toxicity\] Detection by Text** operation classifies and scores any harmful content by the user or the LLM. Apply the **\[Toxicity\] Detection by Text** operation in various scenarios, such as for: - **Toxic Inputs Detection** Detect and block toxic input by the user to prevent sending it to the LLM. - **Harmful Responses Detection** Filter out LLM responses that could be considered toxic or offensive by users. To configure the **\[Toxicity\] Detection by Text** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Text** Text to check for harmful content. This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the toxicity detection and rating. This is an example response: ```json { "payload": { "flagged": true, "categories": [ { "illicit/violent": 0.0000025466403947055455, "self-harm/instructions": 0.00023480495744356635, "harassment": 0.9798945372458964, "violence/graphic": 0.000005920916517463734, "illicit": 0.000013552078562406772, "self-harm/intent": 0.0002233150331012493, "hate/threatening": 0.0000012029639084557005, "sexual/minors": 0.0000024300240743279605, "harassment/threatening": 0.0007499928075102617, "hate": 0.00720390551996062, "self-harm": 0.0004822186797755494, "sexual": 0.00012644219446392274, "violence": 0.0004960569708019355 } ] } } ``` ## See Also - [MuleSoft Inference Connector Overview](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.1 --- # Configuring Moderation Operations > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Configure the **\[Toxicity\] Detection by Text** operation. ## Configure the Toxicity Detection by Text Operation The **\[Toxicity\] Detection by Text** operation classifies and scores any harmful content by the user or the LLM. Apply the **\[Toxicity\] Detection by Text** operation in various scenarios, such as for: - **Toxic Inputs Detection** Detect and block toxic input by the user to prevent sending it to the LLM. - **Harmful Responses Detection** Filter out LLM responses that could be considered toxic or offensive by users. To configure the **\[Toxicity\] Detection by Text** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Text** Text to check for harmful content. This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the toxicity detection and rating. This is an example response: ```json { "payload": { "flagged": true, "categories": [ { "illicit/violent": 0.0000025466403947055455, "self-harm/instructions": 0.00023480495744356635, "harassment": 0.9798945372458964, "violence/graphic": 0.000005920916517463734, "illicit": 0.000013552078562406772, "self-harm/intent": 0.0002233150331012493, "hate/threatening": 0.0000012029639084557005, "sexual/minors": 0.0000024300240743279605, "harassment/threatening": 0.0007499928075102617, "hate": 0.00720390551996062, "self-harm": 0.0004822186797755494, "sexual": 0.00012644219446392274, "violence": 0.0004960569708019355 } ] } } ``` ## See Also - [MuleSoft Inference Connector Overview](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.2 is-latest-version: true --- # Configuring Moderation Operations > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Configure the **\[Toxicity\] Detection by Text** operation. ## Configure the Toxicity Detection by Text Operation The **\[Toxicity\] Detection by Text** operation classifies and scores any harmful content by the user or the LLM. Apply the **\[Toxicity\] Detection by Text** operation in various scenarios, such as for: - **Toxic Inputs Detection** Detect and block toxic input by the user to prevent sending it to the LLM. - **Harmful Responses Detection** Filter out LLM responses that could be considered toxic or offensive by users. To configure the **\[Toxicity\] Detection by Text** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Text** Text to check for harmful content. 3. In the **Additional Request Attributes** (optional) field, you can pass any additional request attributes in the request payload to generate more relevant and precise LLM outputs. This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the toxicity detection and rating. This is an example response: ```json { "payload": { "flagged": true, "categories": [ { "illicit/violent": 0.0000025466403947055455, "self-harm/instructions": 0.00023480495744356635, "harassment": 0.9798945372458964, "violence/graphic": 0.000005920916517463734, "illicit": 0.000013552078562406772, "self-harm/intent": 0.0002233150331012493, "hate/threatening": 0.0000012029639084557005, "sexual/minors": 0.0000024300240743279605, "harassment/threatening": 0.0007499928075102617, "hate": 0.00720390551996062, "self-harm": 0.0004822186797755494, "sexual": 0.00012644219446392274, "violence": 0.0004960569708019355 } ] } } ``` ## See Also - [MuleSoft Inference Connector Overview](https://docs.mulesoft.com/mulesoft-inference-connector/latest/) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.0 --- # Configuring Text Generation Operations > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Configure the **\[Agent\] Define Prompt Template**, **\[Chat\] Answer Prompt**, **\[Chat\] Completions**, and **\[Tools\] Native Template (Reasoning only)** operations. ## Configure the Agent Define Prompt Template Operation The **\[Agent\] Define Prompt Template** operation is essential for configuring specific prompt templates with the LLM of your choice. This operation allows you to define and compose AI functions using plain text, enabling the creation of natural language prompts, generating responses, extracting information, invoking other prompts, or performing any text-based task. Apply the **\[Agent\] Define Prompt Template** operation in various scenarios, such as for: - **Customer Service Agents** Enhance customer service by providing case summaries, case classifications, summarizing large datasets, and more. - **Sales Operation Agents** Assist sales teams in writing sales emails, summarizing cases for specific accounts, assessing the probability of closing deals, and more. - **Marketing Agents** Support marketing teams in generating product descriptions, creating newsletters, planning social media campaigns, and more. To configure the **\[Agent\] Define Prompt Template** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Template** Enter the prompt template for the operation. - **Instructions** Provide the instructions for the inference provider, outlining the goals of the task. - **Data** Specify the data for the inference provider to evaluate using the provided template and instructions. This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the main LLM response. This is an example response: ```json { "response": "{\n \"type\": \"positive\",\n \"response\": \"Thank you for your positive feedback on the training last week. We are glad to hear that you had a great experience. Have a nice day!\"\n}" } ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage, for example: ```json { "tokenUsage": { "inputCount": 9 "outputCount": 9, "totalCount": 18, }, "additionalAttributes": { "finish_reason": "stop", "model": "openai/gpt-4o-mini", "id": "agentcmpl-fc4137f6-0b40-4018-936f-f0df6c0b5da1" } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request ## Configure the Chat Answer Prompt Operation The **\[Chat\] Answer Prompt** operation is a simple prompt request operation to the configured LLM. It uses a plain text prompt as input and responds with a plain text answer. Apply the **\[Chat\] Answer Prompt** operation in various scenarios, such as for: - **Basic Chatbots** Answer simple user prompts. - **Customer Service Queries** Provide direct answers to frequently asked questions. To configure the **\[Chat\] Answer Prompt** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Prompt** Enter the prompt as plain text for the operation. This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the main LLM response. This is an example response: ```json { "response": "The capital of Switzerland is Bern. It's known for its well-preserved medieval old town, which is a UNESCO World Heritage site. Bern became the capital of Switzerland in 1848. The Swiss parliament, the Federal Assembly, is located in Bern." } ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage, for example: ```json { "attributes": { "tokenUsage": { "inputCount": 9, "outputCount": 9, "totalCount": 18 }, "additionalAttributes": { "finish_reason": "stop", "model": "gpt-4o-mini", "id": "chatanswer-gc2425f6-0b70-4018-936f-f0df6c0b5da1" } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request ## Configure the Chat Completions Operation The **\[Chat\] Completions** operation is useful when you want to retain conversation history for a multi-user chat operation. MuleSoft Object Store or any database can hold previous user conversation, which can be provided as messages into the **\[Chat\] Completions** operation. Apply the **\[Chat\] Completions** operation in various scenarios, such as for: - **Customer Support Chats** Retaining the context of ongoing support conversations. - **Multi-user Chat Applications** Maintaining conversation history for different users. - **Personal Assistants** Keeping track of user interactions to provide more relevant responses. To configure the **\[Chat\] Completions** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Messages** Specify the conversation history as a JSON array. This is the XML for this operation: ```xml ``` > [!NOTE] You can declare the `payload.data` variable separately or you can inline it with the > messages tag. ### Output Configuration This operation responds with a JSON payload containing the main LLM response. This is an example response: ```json { "response": "The capital of Switzerland is **Bern**. 🇨🇭 \n" } ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage and additional metadata, for example: ```json { "attributes": { "tokenUsage": { "inputCount": 22, "outputCount": 15, "totalCount": 37 }, "additionalAttributes": { "finish_reason": "stop", "model": "gpt-4o-mini", "id": "chatcmpl-fc2425f6-0b70-4018-936f-f0df6c0b5da1" } } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request ## Configure the Tools Native Template (Reasoning only) Operation The **\[Tools\] Native Template (Reasoning only)** operation is useful if you want to create autonomous agents that can use external tools whenever a prompt can’t be answered directly by the AI model. This operation selects which tools should be used for execution. Apply the **\[Tools\] Native Template (Reasoning only)** operation in various scenarios, such as for: - **Automating Routine Tasks** Create autonomous agents that handle routine tasks by calling appropriate APIs. - **Customer Support** Automate responses to common queries by integrating tools that provide necessary information. - **Inventory Management** Use tools to check inventory levels or order status based on user prompts. - **Employee Management** Retrieve employee information or manage employee-related tasks through API calls. - **Sales and Marketing** Access CRM data or manage leads and accounts efficiently using predefined tools. To configure the **\[Tools\] Native Template (Reasoning only)** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Template** Enter the template for the operation. - **Instructions** Enter the instructions for the operation. - **Data** Enter the prompt to send to the LLM, along the tools array. The result suggests a chaining of the tool as a request to fulfill the users request. - **Tools** Enter the tools for the operation. This is an example of the tools array in the payload: ```json { "tools": [ { "type": "function", "function": { "name": "get_current_temperature", "description": "Get the current temperature for a specific location", "parameters": { "type": "object", "properties": { "location": { "type": "string", "description": "The city and state, e.g., San Francisco, CA" }, "unit": { "type": "string", "enum": ["Celsius", "Fahrenheit"], "description": "The temperature unit to use. Infer this from the user's location." } }, "required": ["location", "unit"] } } }, { "type": "function", "function": { "name": "get_rain_probability", "description": "Get the probability of rain for a specific location", "parameters": { "type": "object", "properties": { "location": { "type": "string", "description": "The city and state, e.g., San Francisco, CA" } }, "required": ["location"] } } }, { "type": "function", "function": { "name": "get_delivery_date", "description": "Get the delivery date for a customer's order. Call this whenever you need to know the delivery date, for example when a customer asks 'Where is my package'", "parameters": { "type": "object", "properties": { "order_id": { "type": "string", "description": "The customer's order ID." } }, "required": ["order_id"] } } } ] } ``` This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the main LLM response. #### Example Response Payload (Tools not used) If the prompt is a general question that can be answered with public knowledge, such as `What is the capital of Switzerland?`, the response is: ```json { "response": "The capital of Switzerland is Bern." } ``` #### Example Response Payload (Tools used) If the prompt requires accessing external data through a tool, such as `When will my order (ID = 220) be delivered?`, the AI model uses the configured tool to fetch the information, and the response is: ```json { "response": { "tools": [ { "function": { "name": "get_delivery_date", "arguments": "{\"order_id\":\"220\"}" }, "id": "call_ylw95cO0kxCt7NELy91cF7bX", "type": "function" } ] } } ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage, for example: ```json { "attributes": { "tokenUsage": { "inputCount": 204, "outputCount": 16, "totalCount": 220 }, "additionalAttributes": { "finish_reason": "tool_calls", "model": "gpt-4o-mini", "id": "chatcmpl-AQwXGmrzcO7XG5Ic1Hp0PKIrRoL4O" } } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request ## See Also - [MuleSoft Inference Connector Overview](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.1 --- # Configuring Text Generation Operations > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Configure the **\[Agent\] Define Prompt Template**, **\[Chat\] Answer Prompt**, **\[Chat\] Completions**, and **\[Tools\] Native Template (Reasoning only)** operations. ## Configure the Agent Define Prompt Template Operation The **\[Agent\] Define Prompt Template** operation is essential for configuring specific prompt templates with the LLM of your choice. This operation allows you to define and compose AI functions using plain text, enabling the creation of natural language prompts, generating responses, extracting information, invoking other prompts, or performing any text-based task. Apply the **\[Agent\] Define Prompt Template** operation in various scenarios, such as for: - **Customer Service Agents** Enhance customer service by providing case summaries, case classifications, summarizing large datasets, and more. - **Sales Operation Agents** Assist sales teams in writing sales emails, summarizing cases for specific accounts, assessing the probability of closing deals, and more. - **Marketing Agents** Support marketing teams in generating product descriptions, creating newsletters, planning social media campaigns, and more. To configure the **\[Agent\] Define Prompt Template** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Template** Enter the prompt template for the operation. - **Instructions** Provide the instructions for the inference provider, outlining the goals of the task. - **Data** Specify the data for the inference provider to evaluate using the provided template and instructions. This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the main LLM response. This is an example response: ```json { "response": "{\n \"type\": \"positive\",\n \"response\": \"Thank you for your positive feedback on the training last week. We are glad to hear that you had a great experience. Have a nice day!\"\n}" } ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage, for example: ```json { "attributes": { "tokenUsage": { "inputCount": 12, "outputCount": 350, "totalCount": 362 }, "additionalAttributes": { "finishReason": "stop", "model": "openai/gpt-4o-mini", "id": "agentcmpl-fc4137f6-0b40-4018-936f-f0df6c0b5da1", "promptFilterResults": [ { "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "jailbreak": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } }, "promptIndex": 0 } ], "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "protected_material_code": { "severity": null, "filtered": false, "detected": false }, "protected_material_text": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } } } } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request - `promptFilterResults`: Flags if the user’s input contains potentially harmful content - `contentFilterResults`: Flags if the generated response contains potentially harmful content ## Configure the Chat Answer Prompt Operation The **\[Chat\] Answer Prompt** operation is a simple prompt request operation to the configured LLM. It uses a plain text prompt as input and responds with a plain text answer. Apply the **\[Chat\] Answer Prompt** operation in various scenarios, such as for: - **Basic Chatbots** Answer simple user prompts. - **Customer Service Queries** Provide direct answers to frequently asked questions. To configure the **\[Chat\] Answer Prompt** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Prompt** Enter the prompt as plain text for the operation. This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the main LLM response. This is an example response: ```json { "response": "The capital of Switzerland is Bern. It's known for its well-preserved medieval old town, which is a UNESCO World Heritage site. Bern became the capital of Switzerland in 1848. The Swiss parliament, the Federal Assembly, is located in Bern." } ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage, for example: ```json { "attributes": { "tokenUsage": { "inputCount": 12, "outputCount": 350, "totalCount": 362 }, "additionalAttributes": { "finishReason": "stop", "model": "gpt-4o-mini", "id": "chatanswer-gc2425f6-0b70-4018-936f-f0df6c0b5da1", "promptFilterResults": [ { "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "jailbreak": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } }, "promptIndex": 0 } ], "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "protected_material_code": { "severity": null, "filtered": false, "detected": false }, "protected_material_text": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } } } } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request - `promptFilterResults`: Flags if the user’s input contains potentially harmful content - `contentFilterResults`: Flags if the generated response contains potentially harmful content ## Configure the Chat Completions Operation The **\[Chat\] Completions** operation is useful when you want to retain conversation history for a multi-user chat operation. MuleSoft Object Store or any database can hold previous user conversation, which can be provided as messages into the **\[Chat\] Completions** operation. Apply the **\[Chat\] Completions** operation in various scenarios, such as for: - **Customer Support Chats** Retaining the context of ongoing support conversations. - **Multi-user Chat Applications** Maintaining conversation history for different users. - **Personal Assistants** Keeping track of user interactions to provide more relevant responses. To configure the **\[Chat\] Completions** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Messages** Specify the conversation history as a JSON array. This field supports DataSense, which provides schema support. This is the XML for this operation: ```xml ``` > [!NOTE] You can declare the `payload.data` variable separately or you can inline it with the > messages tag. ### Output Configuration This operation responds with a JSON payload containing the main LLM response. This is an example response: ```json { "response": "The capital of Switzerland is **Bern**. 🇨🇭 \n" } ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage and additional metadata, for example: ```json { "attributes": { "tokenUsage": { "inputCount": 12, "outputCount": 350, "totalCount": 362 }, "additionalAttributes": { "finishReason": "stop", "model": "gpt-4o-mini", "id": "chatcmpl-fc2425f6-0b70-4018-936f-f0df6c0b5da1" "promptFilterResults": [ { "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "jailbreak": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } }, "promptIndex": 0 } ], "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "protected_material_code": { "severity": null, "filtered": false, "detected": false }, "protected_material_text": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } } } } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request - `promptFilterResults`: Flags if the user’s input contains potentially harmful content - `contentFilterResults`: Flags if the generated response contains potentially harmful content ## Configure the Tools Native Template (Reasoning only) Operation The **\[Tools\] Native Template (Reasoning only)** operation is useful if you want to create autonomous agents that can use external tools whenever a prompt can’t be answered directly by the AI model. This operation selects which tools should be used for execution. Apply the **\[Tools\] Native Template (Reasoning only)** operation in various scenarios, such as for: - **Automating Routine Tasks** Create autonomous agents that handle routine tasks by calling appropriate APIs. - **Customer Support** Automate responses to common queries by integrating tools that provide necessary information. - **Inventory Management** Use tools to check inventory levels or order status based on user prompts. - **Employee Management** Retrieve employee information or manage employee-related tasks through API calls. - **Sales and Marketing** Access CRM data or manage leads and accounts efficiently using predefined tools. To configure the **\[Tools\] Native Template (Reasoning only)** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Template** Enter the template for the operation. - **Instructions** Enter the instructions for the operation. - **Data** Enter the prompt to send to the LLM, along the tools array. The result suggests a chaining of the tool as a request to fulfill the users request. - **Tools** Enter the tools for the operation. This field supports DataSense, which provides schema support. This is an example of the tools array in the payload: ```json { "tools": [ { "type": "function", "function": { "name": "get_current_temperature", "description": "Get the current temperature for a specific location", "parameters": { "type": "object", "properties": { "location": { "type": "string", "description": "The city and state, e.g., San Francisco, CA" }, "unit": { "type": "string", "enum": ["Celsius", "Fahrenheit"], "description": "The temperature unit to use. Infer this from the user's location." } }, "required": ["location", "unit"] } } }, { "type": "function", "function": { "name": "get_rain_probability", "description": "Get the probability of rain for a specific location", "parameters": { "type": "object", "properties": { "location": { "type": "string", "description": "The city and state, e.g., San Francisco, CA" } }, "required": ["location"] } } }, { "type": "function", "function": { "name": "get_delivery_date", "description": "Get the delivery date for a customer's order. Call this whenever you need to know the delivery date, for example when a customer asks 'Where is my package'", "parameters": { "type": "object", "properties": { "order_id": { "type": "string", "description": "The customer's order ID." } }, "required": ["order_id"] } } } ] } ``` This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the main LLM response. #### Example Response Payload (Tools not used) If the prompt is a general question that can be answered with public knowledge, such as `What is the capital of Switzerland?`, the response is: ```json { "response": "The capital of Switzerland is Bern." } ``` #### Example Response Payload (Tools used) If the prompt requires accessing external data through a tool, such as `When will my order (ID = 220) be delivered?`, the AI model uses the configured tool to fetch the information, and the response is: ```json { "response": { "tools": [ { "function": { "name": "get_delivery_date", "arguments": "{\"order_id\":\"220\"}" }, "id": "call_ylw95cO0kxCt7NELy91cF7bX", "type": "function" } ] } } ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage, for example: ```json { "attributes": { "tokenUsage": { "inputCount": 204, "outputCount": 16, "totalCount": 220 }, "additionalAttributes": { "finishReason": "tool_calls", "model": "gpt-4o-mini", "id": "chatcmpl-AQwXGmrzcO7XG5Ic1Hp0PKIrRoL4O" "promptFilterResults": [ { "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "jailbreak": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } }, "promptIndex": 0 } ], "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "protected_material_code": { "severity": null, "filtered": false, "detected": false }, "protected_material_text": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } } } } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request - `promptFilterResults`: Flags if the user’s input contains potentially harmful content - `contentFilterResults`: Flags if the generated response contains potentially harmful content ## See Also - [MuleSoft Inference Connector Overview](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.2 is-latest-version: true --- # Configuring Text Generation Operations > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Configure the **\[Agent\] Define Prompt Template**, **\[Chat\] Answer Prompt**, **\[Chat\] Completions**, **\[Tools\] Native Template (Reasoning only)**, and **\[MCP\] Tooling** operations. ## Configure the Agent Define Prompt Template Operation The **\[Agent\] Define Prompt Template** operation is essential for configuring specific prompt templates with the LLM of your choice. This operation allows you to define and compose AI functions using plain text, enabling the creation of natural language prompts, generating responses, extracting information, invoking other prompts, or performing any text-based task. Apply the **\[Agent\] Define Prompt Template** operation in various scenarios, such as for: - **Customer Service Agents** Enhance customer service by providing case summaries, case classifications, summarizing large datasets, and more. - **Sales Operation Agents** Assist sales teams in writing sales emails, summarizing cases for specific accounts, assessing the probability of closing deals, and more. - **Marketing Agents** Support marketing teams in generating product descriptions, creating newsletters, planning social media campaigns, and more. To configure the **\[Agent\] Define Prompt Template** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Template** Enter the prompt template for the operation. - **Instructions** Provide the instructions for the inference provider, outlining the goals of the task. - **Data** Specify the data for the inference provider to evaluate using the provided template and instructions. 3. In the **Additional Request Attributes** (optional) field, you can pass any additional request attributes in the request payload to generate more relevant and precise LLM outputs. The corresponding XML DSL tag for this operation is ``. This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the main LLM response. This is an example response: ```json { "response": "{\n \"type\": \"positive\",\n \"response\": \"Thank you for your positive feedback on the training last week. We are glad to hear that you had a great experience. Have a nice day!\"\n}" } ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage, for example: ```json { "attributes": { "tokenUsage": { "inputCount": 12, "outputCount": 350, "totalCount": 362 }, "additionalAttributes": { "finishReason": "stop", "model": "openai/gpt-4o-mini", "id": "agentcmpl-fc4137f6-0b40-4018-936f-f0df6c0b5da1", "promptFilterResults": [ { "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "jailbreak": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } }, "promptIndex": 0 } ], "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "protected_material_code": { "severity": null, "filtered": false, "detected": false }, "protected_material_text": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } } } } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request - `promptFilterResults`: Flags if the user’s input contains potentially harmful content - `contentFilterResults`: Flags if the generated response contains potentially harmful content ## Configure the Chat Answer Prompt Operation The **\[Chat\] Answer Prompt** operation is a simple prompt request operation to the configured LLM. It uses a plain text prompt as input and responds with a plain text answer. Apply the **\[Chat\] Answer Prompt** operation in various scenarios, such as for: - **Basic Chatbots** Answer simple user prompts. - **Customer Service Queries** Provide direct answers to frequently asked questions. To configure the **\[Chat\] Answer Prompt** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Prompt** Enter the prompt as plain text for the operation. 3. In the **Additional Request Attributes** (optional) field, you can pass any additional request attributes in the request payload to generate more relevant and precise LLM outputs. The corresponding XML DSL tag for this operation is ``. This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the main LLM response. This is an example response: ```json { "response": "The capital of Switzerland is Bern. It's known for its well-preserved medieval old town, which is a UNESCO World Heritage site. Bern became the capital of Switzerland in 1848. The Swiss parliament, the Federal Assembly, is located in Bern." } ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage, for example: ```json { "attributes": { "tokenUsage": { "inputCount": 12, "outputCount": 350, "totalCount": 362 }, "additionalAttributes": { "finishReason": "stop", "model": "gpt-4o-mini", "id": "chatanswer-gc2425f6-0b70-4018-936f-f0df6c0b5da1", "promptFilterResults": [ { "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "jailbreak": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } }, "promptIndex": 0 } ], "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "protected_material_code": { "severity": null, "filtered": false, "detected": false }, "protected_material_text": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } } } } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request - `promptFilterResults`: Flags if the user’s input contains potentially harmful content - `contentFilterResults`: Flags if the generated response contains potentially harmful content ## Configure the Chat Completions Operation The **\[Chat\] Completions** operation is useful when you want to retain conversation history for a multi-user chat operation. MuleSoft Object Store or any database can hold previous user conversation, which can be provided as messages into the **\[Chat\] Completions** operation. Apply the **\[Chat\] Completions** operation in various scenarios, such as for: - **Customer Support Chats** Retaining the context of ongoing support conversations. - **Multi-user Chat Applications** Maintaining conversation history for different users. - **Personal Assistants** Keeping track of user interactions to provide more relevant responses. To configure the **\[Chat\] Completions** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Messages** Specify the conversation history as a JSON array. This field supports DataSense, which provides schema support. 3. In the **Additional Request Attributes** (optional) field, you can pass any additional request attributes in the request payload to generate more relevant and precise LLM outputs. The corresponding XML DSL tag for this operation is ``. This is the XML for this operation: ```xml ``` > [!NOTE] You can declare the `payload.data` variable separately or you can inline it with the > messages tag. ### Output Configuration This operation responds with a JSON payload containing the main LLM response. This is an example response: ```json { "response": "The capital of Switzerland is **Bern**. 🇨🇭 \n" } ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage and additional metadata, for example: ```json { "attributes": { "tokenUsage": { "inputCount": 12, "outputCount": 350, "totalCount": 362 }, "additionalAttributes": { "finishReason": "stop", "model": "gpt-4o-mini", "id": "chatcmpl-fc2425f6-0b70-4018-936f-f0df6c0b5da1" "promptFilterResults": [ { "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "jailbreak": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } }, "promptIndex": 0 } ], "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "protected_material_code": { "severity": null, "filtered": false, "detected": false }, "protected_material_text": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } } } } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request - `promptFilterResults`: Flags if the user’s input contains potentially harmful content - `contentFilterResults`: Flags if the generated response contains potentially harmful content ## Configure the Tools Native Template (Reasoning only) Operation The **\[Tools\] Native Template (Reasoning only)** operation is useful if you want to create autonomous agents that can use external tools whenever a prompt can’t be answered directly by the AI model. This operation selects which tools should be used for execution. Apply the **\[Tools\] Native Template (Reasoning only)** operation in various scenarios, such as for: - **Automating Routine Tasks** Create autonomous agents that handle routine tasks by calling appropriate APIs. - **Customer Support** Automate responses to common queries by integrating tools that provide necessary information. - **Inventory Management** Use tools to check inventory levels or order status based on user prompts. - **Employee Management** Retrieve employee information or manage employee-related tasks through API calls. - **Sales and Marketing** Access CRM data or manage leads and accounts efficiently using predefined tools. To configure the **\[Tools\] Native Template (Reasoning only)** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Template** Enter the template for the operation. - **Instructions** Enter the instructions for the operation. - **Data** Enter the prompt to send to the LLM, along the tools array. The result suggests a chaining of the tool as a request to fulfill the users request. - **Tools** Enter the tools for the operation. This field supports DataSense, which provides schema support. 3. In the **Additional Request Attributes** (optional) field, you can pass any additional request attributes in the request payload to generate more relevant and precise LLM outputs. The corresponding XML DSL tag for this operation is ``. This is an example of the tools array in the payload: ```json { "tools": [ { "type": "function", "function": { "name": "get_current_temperature", "description": "Get the current temperature for a specific location", "parameters": { "type": "object", "properties": { "location": { "type": "string", "description": "The city and state, e.g., San Francisco, CA" }, "unit": { "type": "string", "enum": ["Celsius", "Fahrenheit"], "description": "The temperature unit to use. Infer this from the user's location." } }, "required": ["location", "unit"] } } }, { "type": "function", "function": { "name": "get_rain_probability", "description": "Get the probability of rain for a specific location", "parameters": { "type": "object", "properties": { "location": { "type": "string", "description": "The city and state, e.g., San Francisco, CA" } }, "required": ["location"] } } }, { "type": "function", "function": { "name": "get_delivery_date", "description": "Get the delivery date for a customer's order. Call this whenever you need to know the delivery date, for example when a customer asks 'Where is my package'", "parameters": { "type": "object", "properties": { "order_id": { "type": "string", "description": "The customer's order ID." } }, "required": ["order_id"] } } } ] } ``` This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the main LLM response. #### Example Response Payload (Tools not used) If the prompt is a general question that can be answered with public knowledge, such as `What is the capital of Switzerland?`, the response is: ```json { "response": "The capital of Switzerland is Bern." } ``` #### Example Response Payload (Tools used) If the prompt requires accessing external data through a tool, such as `When will my order (ID = 220) be delivered?`, the AI model uses the configured tool to fetch the information, and the response is: ```json { "response": { "tools": [ { "function": { "name": "get_delivery_date", "arguments": "{\"order_id\":\"220\"}" }, "id": "call_ylw95cO0kxCt7NELy91cF7bX", "type": "function" } ] } } ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage, for example: ```json { "attributes": { "tokenUsage": { "inputCount": 204, "outputCount": 16, "totalCount": 220 }, "additionalAttributes": { "finishReason": "tool_calls", "model": "gpt-4o-mini", "id": "chatcmpl-AQwXGmrzcO7XG5Ic1Hp0PKIrRoL4O" "promptFilterResults": [ { "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "jailbreak": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } }, "promptIndex": 0 } ], "contentFilterResults": { "hate": { "severity": "safe", "filtered": false, "detected": null }, "protected_material_code": { "severity": null, "filtered": false, "detected": false }, "protected_material_text": { "severity": null, "filtered": false, "detected": false }, "self_harm": { "severity": "safe", "filtered": false, "detected": null }, "sexual": { "severity": "safe", "filtered": false, "detected": null }, "violence": { "severity": "safe", "filtered": false, "detected": null } } } } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request - `promptFilterResults`: Flags if the user’s input contains potentially harmful content - `contentFilterResults`: Flags if the generated response contains potentially harmful content ## Configure the MCP Tooling Operation The **\[MCP\] Tooling** operation allows you to execute tools hosted on an MCP server directly through user-defined instructions. Instead of manually managing multiple connectors or workflows, you can simply state what you want to achieve, and the LLM intelligently selects and runs the most relevant tools. This selective execution model improves accuracy, reduces operational overhead, and ensures users or agents interact only with the capabilities that matter — resulting in faster execution, streamlined operations, and more predictable outcomes. Apply the **\[MCP\] Tooling** operation in various scenarios, such as for: - **IT Automation Agents** Automate routine IT tasks by executing MCP tools to trigger system diagnostics, restart services, fetch configuration data, and more. - **Data Analysis Agents** Leverage MCP tools to extract metrics from databases, run statistical models, generate visual summaries, and more. - **DevOps Agents** Streamline deployment workflows by invoking MCP tools to monitor CI/CD pipelines, retrieve logs, manage environment variables, and more. - **Procurement Agents** Use MCP-based actions to check vendor pricing, generate purchase requests, validate contract statuses, and more. - **SHR & Recruitment Agents** Automate candidate screening with MCP-enabled resume parsing, skill extraction, interview scheduling, and more. As a prerequisite, ensure you download MCP Connector from Anypoint Exchange. Note that MuleSoft Inference Connector now supports MCP Connector 1.2. To configure the **\[MCP\] Tooling** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Mcp config references** Enter the list of MCP client configuration references. - **Mcp Client Config Ref** Enter the reference to the MCP client configuration defined as part of configuration from the MCP connector. - **Template** Enter the prompt template for the operation. - **Instructions** Provide the instructions for the inference provider, outlining the goals of the task. - **Data** Enter the prompt to send to the LLM, along the tools array. The result suggests a chaining of the tool as a request to fulfill the users request. 3. In the **Additional Request Attributes** (optional) field, you can pass any additional request attributes in the request payload to generate more relevant and precise LLM outputs. The corresponding XML DSL tag for this operation is ``. For more information about MCP Connector, see [MCP Connector Reference](https://docs.mulesoft.com/mcp-connector/latest/mcp-connector-reference). This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the main LLM response. This is an example response: ```json { "payload": { "response": "The item MULETEST0 has 50 units in stock in the primary warehouse. Is there anything else I can help you with?", "tool_used": "CheckInventory" }, ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage, for example: ```json "attributes": { "tokenUsage": { "outputCount": 27, "totalCount": 1973, "inputCount": 1879 }, "additionalAttributes": { "promptFilterResults": null, "contentFilterResults": null, "finishReason": "STOP", "model": "gemini-2.5-flash", "id": "Em3aaPrJOceBmtkPvp3DuQo" } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request > [!NOTE] For the Gemini connection type, additional parameters must be included within the > `GenerationConfig` property of the request payload. ## See Also - [MuleSoft Inference Connector Overview](https://docs.mulesoft.com/mulesoft-inference-connector/latest/) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.0 --- # Configuring Vision Operations > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Configure the **\[Image\] Read by (Url or Base64)** operation. ## Configure the Image Read by (Url or Base64) Operation The **\[Image\] Read by (Url or Base64)** operation reads and interprets an image based on a prompt. Apply the **\[Image\] Read by (Url or Base64)** operation in various scenarios, such as for: - **Image Analysis** Analyze images in business reports, presentations, or customer service scenarios. - **Content Generation** Describe images for blog posts, articles, or social media. - **Visual Insights** Extract insights from images in research or design projects. To configure the **\[Image\] Read by (Url or Base64)** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Prompt** Enter the prompt for the operation. - **Image** Enter the URL or Base64 String of the image file that is to be read. This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the main LLM response. This is an example response: ```json { "payload": { "response": "The image depicts the Eiffel Tower in Paris during a snowy day. The tower is partially covered in snow, and the surrounding trees and ground are also blanketed in snow. There is a pathway leading towards the Eiffel Tower, with a lamppost and some fencing along the sides. The overall scene has a serene and picturesque winter atmosphere." } } ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage, for example: ```json { "attributes": { "tokenUsage": { "inputCount": 267, "outputCount": 68, "totalCount": 335 }, "additionalAttributes": { "finish_reason": "stop", "model": "gpt-4o-mini", "id": "604ae573-8265-4dc0-b06e-457422f2fbd8" } } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request ## See Also - [MuleSoft Inference Connector Overview](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.1 --- # Configuring Vision Operations > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Configure the **\[Image\] Read by (Url or Base64)** operation. ## Configure the Image Read by (Url or Base64) Operation The **\[Image\] Read by (Url or Base64)** operation reads and interprets an image based on a prompt. Apply the **\[Image\] Read by (Url or Base64)** operation in various scenarios, such as for: - **Image Analysis** Analyze images in business reports, presentations, or customer service scenarios. - **Content Generation** Describe images for blog posts, articles, or social media. - **Visual Insights** Extract insights from images in research or design projects. To configure the **\[Image\] Read by (Url or Base64)** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Prompt** Enter the prompt for the operation. - **Image** Enter the URL or Base64 String of the image file that is to be read. This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the main LLM response. This is an example response: ```json { "payload": { "response": "The image depicts the Eiffel Tower in Paris during a snowy day. The tower is partially covered in snow, and the surrounding trees and ground are also blanketed in snow. There is a pathway leading towards the Eiffel Tower, with a lamppost and some fencing along the sides. The overall scene has a serene and picturesque winter atmosphere." } } ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage, for example: ```json { "attributes": { "tokenUsage": { "inputCount": 267, "outputCount": 68, "totalCount": 335 }, "additionalAttributes": { "finish_reason": "stop", "model": "gpt-4o-mini", "id": "604ae573-8265-4dc0-b06e-457422f2fbd8" } } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request ## See Also - [MuleSoft Inference Connector Overview](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.2 is-latest-version: true --- # Configuring Vision Operations > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Configure the **\[Image\] Read by (Url or Base64)** operation. ## Configure the Image Read by (Url or Base64) Operation The **\[Image\] Read by (Url or Base64)** operation reads and interprets an image based on a prompt. Apply the **\[Image\] Read by (Url or Base64)** operation in various scenarios, such as for: - **Image Analysis** Analyze images in business reports, presentations, or customer service scenarios. - **Content Generation** Describe images for blog posts, articles, or social media. - **Visual Insights** Extract insights from images in research or design projects. To configure the **\[Image\] Read by (Url or Base64)** operation: 1. Select the operation on the Anypoint Code Builder or Studio canvas. 2. In the **General** properties tab for the operation, enter these values: - **Prompt** Enter the prompt for the operation. - **Image** Enter the URL or Base64 String of the image file that is to be read. 3. In the **Additional Request Attributes** (optional) field, you can pass any additional request attributes in the request payload to generate more relevant and precise LLM outputs. This is the XML for this operation: ```xml ``` ### Output Configuration This operation responds with a JSON payload containing the main LLM response. This is an example response: ```json { "payload": { "response": "The image depicts the Eiffel Tower in Paris during a snowy day. The tower is partially covered in snow, and the surrounding trees and ground are also blanketed in snow. There is a pathway leading towards the Eiffel Tower, with a lamppost and some fencing along the sides. The overall scene has a serene and picturesque winter atmosphere." } } ``` The operation also returns attributes that aren’t within the main JSON payload, that include information about token usage, for example: ```json { "attributes": { "tokenUsage": { "inputCount": 267, "outputCount": 68, "totalCount": 335 }, "additionalAttributes": { "finish_reason": "stop", "model": "gpt-4o-mini", "id": "604ae573-8265-4dc0-b06e-457422f2fbd8" } } } ``` - `tokenUsage`: Token usage metadata returned as attributes - `inputCount`: Number of tokens used to process the input - `outputCount`: Number of tokens used to generate the output - `totalCount`: Total number of tokens used for input and output - `additionalAttributes`: Additional metadata from the LLM provider - `finish_reason`: The finish reason for the LLM response - `model`: The ID of the model used - `id`: The ID of the request > [!NOTE] For Gemini Inference, additional parameters must be included within the `GenerationConfig` > property of the request payload. ## See Also - [MuleSoft Inference Connector Overview](https://docs.mulesoft.com/mulesoft-inference-connector/latest/) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.0 --- # MuleSoft Inference Connector - Additional Configuration Information > For the full documentation index, see: https://docs.mulesoft.com/llms.txt MuleSoft Inference Connector provides detailed configuration information for each operation type. Select the operation you want to configure. - [Configure Image Generation Operations](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/configuring-image-generation-operations) - [Configure Moderation Operations](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/configuring-moderation-operations) - [Configure Text Generation Operations](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/configuring-text-generation-operations) - [Configure Vision Operations](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/configuring-vision-operations) --- product: MuleSoft Inference Connector version: 1.1 --- # MuleSoft Inference Connector - Additional Configuration Information > For the full documentation index, see: https://docs.mulesoft.com/llms.txt MuleSoft Inference Connector provides detailed configuration information for each operation type. Select the operation you want to configure. - [Configure Image Generation Operations](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/configuring-image-generation-operations) - [Configure Moderation Operations](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/configuring-moderation-operations) - [Configure Text Generation Operations](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/configuring-text-generation-operations) - [Configure Vision Operations](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/configuring-vision-operations) --- product: MuleSoft Inference Connector version: 1.2 is-latest-version: true --- # MuleSoft Inference Connector - Additional Configuration Information > For the full documentation index, see: https://docs.mulesoft.com/llms.txt MuleSoft Inference Connector provides detailed configuration information for each operation type. Select the operation you want to configure. - [Configure Image Generation Operations](https://docs.mulesoft.com/mulesoft-inference-connector/latest/configuring-image-generation-operations) - [Configure Moderation Operations](https://docs.mulesoft.com/mulesoft-inference-connector/latest/configuring-moderation-operations) - [Configure Text Generation Operations](https://docs.mulesoft.com/mulesoft-inference-connector/latest/configuring-text-generation-operations) - [Configure Vision Operations](https://docs.mulesoft.com/mulesoft-inference-connector/latest/configuring-vision-operations) --- product: MuleSoft Inference Connector version: 1.0 --- # MuleSoft Inference Connector 1.0 > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Anypoint Connector for MuleSoft Inference (MuleSoft Inference Connector) provides access to inference offerings for large language models (LLMs) from multiple providers including OpenAI, OpenAI Compatible Endpoints, OpenRouter, Heroku AI, Azure AI Foundry, Azure OpenAI, and many others. This connector provides operations to interface directly with the API of various inference providers, enabling seamless integration of AI capabilities into your Mule applications. For information about compatibility and fixed issues, see the MuleSoft Inference Connector release notes. ## Before You Begin To use this connector, you must be familiar with: - Anypoint Connectors - Mule runtime engine (Mule) - Elements and global elements in a Mule flow - How to create a Mule app using Anypoint Code Builder or Anypoint Studio Before creating an app, you must have: - Java 17 (required for compilation and runtime) - Apache Maven - Credentials to access the MuleSoft Inference Connector target resource - Anypoint Platform - The latest versions of Anypoint Code Builder or Anypoint Studio ## Key Features MuleSoft Inference Connector simplifies AI integration into Mule applications with: - **Seamless Interaction with Inferenced LLMs** Integrate and utilize large language models (LLMs) effortlessly for tasks such as natural language processing, text generation, and more, including advanced features such as image analysis or generation, and toxicity detection in both user-provided and LLM-generated text. - **Optimized Performance** Deliver high efficiency and performance in enterprise-grade Mule apps, ensuring smooth handling of AI operations. - **Secure Integration** Connect corporate applications and data with innovative new AI offerings without damaging security posture. Provide full [TLS](https://docs.mulesoft.com/mule-runtime/latest/tls-configuration) support for secure Mule apps. ## Supported Inference Providers - AI21Labs (beta) - Anthropic (beta) - Azure AI Foundry - Azure OpenAI - Cerebras (beta) - Cohere (beta) - Databricks (beta) - DeepInfra (beta) - DeepSeek (beta) - Docker Models (beta) - Fireworks (beta) - GitHub Models (beta) - GPT4ALL (beta) - Groq AI (beta) - Heroku AI - Hugging Face (beta) (`hf-inference` only) - LM Studio (beta) - Mistral AI (beta) - NVIDIA NIM (beta) - Ollama (beta) - OpenAI - OpenAI Compatible Endpoints - OpenRouter - Perplexity (beta) - Portkey (beta) - Together.ai (beta) - Vertex AI Express (beta) - XAI (beta) - Xinference (beta) - ZHIPU AI (beta) ## Supported Moderation Providers - Mistral AI (beta) - OpenAI ## Supported Vision Model Providers - Anthropic (beta) - Azure AI Foundry - GitHub Models (beta) - Groq AI (beta) - Hugging Face (beta) (`hf-inference` only) - Mistral AI (beta) - Ollama (beta) - OpenAI - OpenRouter - Portkey (beta) - Vertex AI Express (beta) - XAI (beta) ## Supported Image Generation Providers - Heroku AI - Hugging Face (beta) (`hf-inference` only) - OpenAI - Stability AI (beta) - XAI (beta) > [!NOTE] To keep pace with the rapidly evolving AI landscape, certain LLMs are marked as beta. > These are early-stage integrations that may change based on stability, demand, or provider > updates. You can explore them but should do so with awareness that support might be limited and > subject to change. ## Supported Operations by Offering Not all operations are supported by each provider. This table provides a detailed view of operation support across all providers.
LLM Provider[Chat] Answer Prompt[Chat] Completions[Agent] Define Prompt Template[Tools] Native Template (Reasoning only)*[Image] Read by (Url or Base64)*[Image] Generate (only Base64)*[Toxicity] Detection by Text*

AI21Labs

Yes

Yes

Yes

Yes

No

No

No

Anthropic

Yes

Yes

Yes

Yes

Yes

No

No

Azure AI Foundry

Yes

Yes

Yes

Yes

Yes

No

No

Azure OpenAI

Yes

Yes

Yes

Yes

No

No

No

Cerebras

Yes

Yes

Yes

Yes

No

No

No

Cohere

Yes

Yes

Yes

Yes

No

No

No

Databricks

Yes

Yes

Yes

Yes

No

No

No

DeepInfra

Yes

Yes

Yes

Yes

No

No

No

DeepSeek

Yes

Yes

Yes

Yes

No

No

No

Docker Models

Yes

Yes

Yes

Yes

No

No

No

Fireworks

Yes

Yes

Yes

Yes

No

No

No

GitHub Models

Yes

Yes

Yes

Yes

Yes

No

No

GPT4ALL

Yes

Yes

Yes

Yes

No

No

No

Groq AI

Yes

Yes

Yes

Yes

Yes

No

No

Heroku AI

Yes

Yes

Yes

Yes

No

Yes

No

Hugging Face

Yes

Yes

Yes

Yes

Yes

Yes

No

LM Studio

Yes

Yes

Yes

Yes

No

No

No

Mistral AI

Yes

Yes

Yes

Yes

Yes

No

Yes

NVIDIA NIM

Yes

Yes

Yes

Yes

No

No

No

Ollama

Yes

Yes

Yes

Yes

No

No

No

OpenAI

Yes

Yes

Yes

Yes

Yes

Yes

Yes

OpenAI Compatible Endpoints

Yes

Yes

Yes

Yes

No

No

No

OpenRouter

Yes

Yes

Yes

Yes

Yes

No

No

Perplexity

Yes

Yes

Yes

No

No

No

No

Portkey

Yes

Yes

Yes

Yes

Yes

No

No

Stability AI

No

No

No

No

No

Yes

No

Together.ai

Yes

Yes

Yes

Yes

No

No

No

Vertex AI Express

Yes

Yes

Yes

No

Yes

No

No

XAI

Yes

Yes

Yes

Yes

Yes

Yes

No

Xinference

Yes

Yes

Yes

Yes

No

No

No

Zhipu

Yes

Yes

Yes

Yes

No

No

No

> [!NOTE] `*` indicates that support depends on the specific model used. ## Next Step After you complete the prerequisites, you are ready to create an app and configure the connector using [Anypoint Studio](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-connector-studio) or [Anypoint Code Builder](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-connector-config-acb). ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Using Anypoint Code Builder to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-acb) - [Using Studio to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-studio) - [MuleSoft Inference - Additional Configuration Information](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-additional-config) - [MuleSoft Inference Connector Examples](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-connector-examples) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.0 --- # MuleSoft Inference Connector 1.0 Reference > For the full documentation index, see: https://docs.mulesoft.com/llms.txt MuleSoft Inference Connector provides operations to interface directly with the API of various inference providers, enabling seamless integration of AI capabilities into your Mule applications. ## Configurations --- ### Image Generation Config #### Parameters
NameTypeDescriptionDefault ValueRequired

Name

String

Name for this configuration. Connectors reference the configuration with this name.

x

Connection

Connection types for this configuration.

x

Name

String

ID used to reference this configuration.

x

Expiration Policy

Configures an expiration policy for the configuration.

#### Connection Types ##### Heroku AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Heroku Inference Model

String

Model name.

x

Heroku Diffusion URL

String

Heroku diffusion URL.

https://us.inference.heroku.com

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Hugging Face ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Hugging Face Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Stability AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Stability AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### xAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

X Ai Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

## Supported Operations - [\[Image\] Generate (only Base64)](#GenerateImage) --- ### Moderation Config #### Parameters
NameTypeDescriptionDefault ValueRequired

Name

String

Name for this configuration. Connectors reference the configuration with this name.

x

Connection

Connection types for this configuration.

x

Name

String

ID used to reference this configuration.

x

Expiration Policy

Configures an expiration policy for the configuration.

#### Connection Types ##### Mistral AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Mistral AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

## Supported Operations - [\[Toxicity\] Detection by Text](#ToxicityDetectionText) --- ### Text Generation Config #### Parameters
NameTypeDescriptionDefault ValueRequired

Name

String

Name for this configuration. Connectors reference the configuration with this name.

x

Connection

Connection types for this configuration.

x

Name

String

ID used to reference this configuration.

x

Expiration Policy

Configures an expiration policy for the configuration.

#### Connection Types ##### AI21Labs ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Ai21 Labs Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Anthropic ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Anthropic Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Azure AI Foundry ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Azure Model Name

String

Model name.

x

[Azure AI Foundry] Resource Name

String

Azure AI Foundry resource name.

[Azure AI Foundry] API Version

String

Azure AI Foundry API version.

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Azure OpenAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Azure Model Name

String

Model name.

x

[Azure OpenAI] Resource Name

String

Azure OpenAI resource name.

[Azure OpenAI] Deployment ID

String

Azure OpenAI deployment ID.

[Azure OpenAI] User

String

Unique identifier representing your end-user, which can help to monitor and detect abuse.

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Cerebras ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Cerebras Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Cohere ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Cohere Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Databricks ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

[Databricks] Serving Endpoint Name

String

Databricks serving endpoint name.

x

[Databricks] Serving Endpoint URL host

String

Databricks serving endpoint URL host.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### DeepInfra ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Deep Infra Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Deepseek ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Deepseek Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Docker ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Docker Model Name

String

Model name.

x

[Docker Models] Base URL

String

Docker models base URL.

http://localhost:12434

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Fireworks ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Fireworks Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### GitHub ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Git Hub Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### GPT4All ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Gpt4all Model Name

String

Model name.

x

[GPT4ALL] Base URL

String

GPT4ALL base URL.

http://localhost:4891/v1

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Groq ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Groq Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Heroku AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Heroku Inference Model

String

Model name.

claude-3-7-sonnet

Heroku Inference URL

String

Inference URL.

https://us.inference.heroku.com

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Hugging Face ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Hugging Face Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### LM Studio ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Lm Studio Model Name

String

Model name.

x

[LM Studio] Base URL

String

LM Studio base URL.

http://localhost:1234/v1

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Mistral AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Mistral AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Nvidia ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Nvidia Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Ollama ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Ollama Model Name

String

Model name.

x

[Ollama] Base URL

String

Ollama base URL.

http://localhost:11434/api

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open AI Model Name

String

OpenAI model name.

gpt-4o-mini

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenAI Compatible Endpoint ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open AI Compatible Model Name

String

OpenAI compatible model name.

gpt-4o-mini

[OpenAI Compatible] Base URL

String

OpenAI compatible base URL.

https://server.endpoint.com

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenRouter ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open Router Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Perplexity ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Perplexity Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Portkey ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Portkey Model Name

String

Model name.

x

[Portkey] Virtual Key

String

Portkey virtual key.

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Together ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Together Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Vertex AI Express ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Vertex AI Express Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### xAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

X Ai Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### XInference ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

X Inference Model Name

String

Model name.

x

[Xinference] Base URL

String

Xinference base URL.

https://inference.top/api/v1

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### ZHIPU\_AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Zhipu AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

## Supported Operations - [\[Agent\] Define Prompt Template](#AgentDefinePromptTemplate) - [\[Chat\] Answer Prompt](#ChatAnswerPrompt) - [\[Chat\] Completions](#ChatCompletions) - [\[Tools\] Native Template (Reasoning only)](#ToolsNativeTemplate) --- ### Vision Config #### Parameters
NameTypeDescriptionDefault ValueRequired

Name

String

Name for this configuration. Connectors reference the configuration with this name.

x

Connection

Connection types for this configuration.

x

Name

String

ID used to reference this configuration.

x

Expiration Policy

Configures an expiration policy for the configuration.

#### Connection Types ##### Anthropic ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Anthropic Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Azure AI Foundry ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Azure AI Foundry Model Name

String

Model name.

x

[Azure AI Foundry] Resource Name

String

Azure AI Foundry resource name.

[Azure AI Foundry] API Version

String

Azure AI Foundry API version.

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### GitHub ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Git Hub Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Groq ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Groq Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Hugging Face ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Hugging Face Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Mistral AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Mistral AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Ollama ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Ollama Model Name

String

Model name.

x

[Ollama] Base URL

String

Ollama base URL.

http://localhost:11434/api

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenRouter ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open Router Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Portkey ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Portkey Model Name

String

Model name.

x

[Portkey] Virtual Key

String

Portkey virtual key.

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Vertex AI Express ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Vertex AI Express Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### xAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

X Ai Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

## Supported Operations - [\[Image\] Read by (Url or Base64)](#ReadImage) ## Operations ## \[Image\] Generate (only Base64) `` This operation generates an image based on a prompt. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Prompt

String

User’s prompt.

#[payload]

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Image Generation Config](#ImageGenerationConfig) ### Throws - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:IMAGE\_GENERATION\_FAILURE - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED ## \[Toxicity\] Detection by Text `` This operation detects harmful content in a text. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Text

Any

Text to moderate. Can be a single string or an array of strings.

#[payload]

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

### For Configurations - [Moderation Config](#ModerationConfig) ### Throws - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOXICITY\_DETECTION\_OPERATION\_FAILURE ## \[Agent\] Define Prompt Template `` This operation defines a prompt template with instructions and data. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Template

String

Template string.

x

Instructions

String

Instructions for the LLM.

x

Data

String

Primary data content.

#[payload]

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Text Generation Config](#TextGenerationConfig) ### Throws - MS-INFERENCE:CHAT\_OPERATION\_FAILURE - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOOLS\_OPERATION\_FAILURE ## \[Chat\] Answer Prompt `` This operation provides a simple chat answer for a single prompt. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Prompt

String

User’s prompt.

#[payload]

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Text Generation Config](#TextGenerationConfig) ### Throws - MS-INFERENCE:CHAT\_OPERATION\_FAILURE - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOOLS\_OPERATION\_FAILURE ## \[Chat\] Completions `` This operation provides chat completions by a messages array, including system or user messages (conversation history). ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Messages

Any

Conversation history as a JSON array.

#[payload]

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Text Generation Config](#TextGenerationConfig) ### Throws - MS-INFERENCE:CHAT\_OPERATION\_FAILURE - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOOLS\_OPERATION\_FAILURE ## \[Tools\] Native Template (Reasoning only) `` This operation defines a tools template with instructions and data. This operation is useful if you want to create autonomous agents that can use external tools whenever a prompt can’t be answered directly by the AI model. This operation selects which tools can be used for execution. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Template

String

Template string.

x

Instructions

String

Instructions for the LLM.

x

Data

String

Primary data content.

#[payload]

Tools

Any

Tools configuration as a JSON array.

x

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Text Generation Config](#TextGenerationConfig) ### Throws - MS-INFERENCE:CHAT\_OPERATION\_FAILURE - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOOLS\_OPERATION\_FAILURE ## \[Image\] Read by (Url or Base64) `` This operation reads an image from a URL or Base64 string. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Prompt

String

User’s prompt.

x

Image

String

Image URL or Base64 string to send to the Vision Model.

#[payload]

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Vision Config](#VisionConfig) ### Throws - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:READ\_IMAGE\_OPERATION\_FAILURE - MS-INFERENCE:RETRY\_EXHAUSTED ## Types ### TLS Configures TLS to provide secure communications for the Mule app.
FieldTypeDescriptionDefault ValueRequired

Enabled Protocols

String

Comma-separated list of protocols enabled for this context.

Enabled Cipher Suites

String

Comma-separated list of cipher suites enabled for this context.

Trust Store

Configures the TLS truststore.

Key Store

Configures the TLS keystore.

Revocation Check

Configures a revocation checking mechanism.

### Truststore Configures the truststore for TLS.
FieldTypeDescriptionDefault ValueRequired

Path

String

Path to the truststore. Mule resolves the path relative to the current classpath and file system.

Password

String

Password used to protect the truststore.

Type

String

Type of truststore.

Algorithm

String

Encryption algorithm that the truststore uses.

Insecure

Boolean

If true, Mule stops performing certificate validations. Setting this to true can make connections vulnerable to attacks.

### Keystore Configures the keystore for the TLS protocol. The keystore you generate contains a private key and a public certificate.
FieldTypeDescriptionDefault ValueRequired

Path

String

Path to the keystore. Mule resolves the path relative to the current classpath and file system.

Type

String

Type of keystore.

Alias

String

Alias of the key to use when the keystore contains multiple private keys. By default, Mule uses the first key in the file.

Key Password

String

Password used to protect the private key.

Password

String

Password used to protect the keystore.

Algorithm

String

Encryption algorithm that the keystore uses.

### Standard Revocation Check Configures standard revocation checks for TLS certificates.
FieldTypeDescriptionDefault ValueRequired

Only End Entities

Boolean

Which elements to verify in the certificate chain:

  • true

    Verify only the last element in the certificate chain.

  • false

    Verify all elements in the certificate chain.

Prefer Crls

Boolean

How to check certificate validity:

  • true

    Check the Certification Revocation List (CRL) for certificate validity.

  • false

    Use the Online Certificate Status Protocol (OCSP) to check certificate validity.

No Fallback

Boolean

Whether to use the secondary method to check certificate validity:

  • true

    Use the method that wasn’t specified in the Prefer Crls field (the secondary method) to check certificate validity.

  • false

    Do not use the secondary method to check certificate validity.

Soft Fail

Boolean

What to do if the revocation server can’t be reached or is busy:

  • true

    Avoid verification failure.

  • false

    Allow the verification to fail.

### Custom OCSP Responder Configures a custom OCSP responder for certification revocation checks.
FieldTypeDescriptionDefault ValueRequired

Url

String

URL of the OCSP responder.

Cert Alias

String

Alias of the signing certificate for the OCSP response. If specified, the alias must be in the truststore.

### CRL File Specifies the location of the certification revocation list (CRL) file.
FieldTypeDescriptionDefault ValueRequired

Path

String

Path to the CRL file.

### Reconnection Configures a reconnection strategy for an operation.
FieldTypeDescriptionDefault ValueRequired

Fails Deployment

Boolean

Configures a reconnection strategy to use when a connector operation fails to connect to an external server.

Reconnection Strategy

Reconnection strategy to use.

### Reconnect Configures a standard reconnection strategy, which specifies how often to reconnect and how many reconnection attempts the connector source or operation can make.
FieldTypeDescriptionDefault ValueRequired

Frequency

Number

How often to attempt to reconnect, in milliseconds.

Blocking

Boolean

If false, the reconnection strategy runs in a separate, non-blocking thread.

Count

Number

How many reconnection attempts the Mule app can make.

### Reconnect Forever Configures a forever reconnection strategy by which the connector source or operation attempts to reconnect at a specified frequency for as long as the Mule app runs.
FieldTypeDescriptionDefault ValueRequired

Frequency

Number

How often to attempt to reconnect, in milliseconds.

Blocking

Boolean

If false, the reconnection strategy runs in a separate, non-blocking thread.

### Expiration Policy Configures an expiration policy strategy.
FieldTypeDescriptionDefault ValueRequired

Max Idle Time

Number

Configures the maximum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration.

Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Max Idle Time field.

### Image Response Attributes Configures image response attributes.
FieldTypeDescriptionDefault ValueRequired

Model

String

Model.

Prompt Used

String

Prompt used.

### Repeatable In Memory Stream Configures the in-memory streaming strategy by which the request fails if the data exceeds the MAX buffer size. Always run performance tests to find the optimal buffer size for your specific use case.
FieldTypeDescriptionDefault ValueRequired

Initial Buffer Size

Number

Initial amount of memory to allocate to the data stream. If the streamed data exceeds this value, the buffer expands by Buffer Size Increment, with an upper limit of Max Buffer Size.

Buffer Size Increment

Number

This is by how much the buffer size expands if it exceeds its initial size. Setting a value of zero or lower means that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised when the buffer gets full.

Max Buffer Size

Number

Maximum size of the buffer. If the buffer size exceeds this value, Mule raises a STREAM_MAXIMUM_SIZE_EXCEEDED error. A value of less than or equal to 0 means no limit.

Buffer Unit

Enumeration, one of:

  • BYTE

  • KB

  • MB

  • GB

Unit for the Initial Buffer Size, Buffer Size Increment, and Max Buffer Size fields.

### Repeatable File Store Stream Configures the repeatable file-store streaming strategy by which Mule keeps a portion of the stream content in memory. If the stream content is larger than the configured buffer size, Mule backs up the buffer’s content to disk and then clears the memory.
FieldTypeDescriptionDefault ValueRequired

In Memory Size

Number

Maximum amount of memory that the stream can use for data. If the amount of memory exceeds this value, Mule buffers the content to disk. To optimize performance:

  • Configure a larger buffer size to avoid the number of times Mule needs to write the buffer on disk. This increases performance, but it also limits the number of concurrent requests your application can process, because it requires additional memory.

  • Configure a smaller buffer size to decrease memory load at the expense of response time.

Buffer Unit

Enumeration, one of:

  • BYTE

  • KB

  • MB

  • GB

Unit for the In Memory Size field.

### Error Mapping Configures error mapping.
FieldTypeDescriptionDefault ValueRequired

Source

Enumeration, one of:

  • ANY

  • REDELIVERY_EXHAUSTED

  • TRANSFORMATION

  • EXPRESSION

  • SECURITY

  • CLIENT_SECURITY

  • SERVER_SECURITY

  • ROUTING

  • CONNECTIVITY

  • RETRY_EXHAUSTED

  • TIMEOUT

Source of the error.

Target

String

Target of the error.

x

### LLM Response Attributes Configures LLM response attributes.
FieldTypeDescriptionDefault ValueRequired

Additional Attributes

Additional attributes.

Token Usage

Token usage.

### Additional Attributes Configures additional attributes.
FieldTypeDescriptionDefault ValueRequired

Finish Reason

String

Finish reason for the LLM response.

Id

String

ID of the request.

Model

String

ID of the model used.

### Token Usage Configures token usage metadata returned as attributes.
FieldTypeDescriptionDefault ValueRequired

Input Count

Number

Number of tokens used to process the input.

Output Count

Number

Number of tokens used to generate the output.

Total Count

Number

Total number of tokens used for input and output.

### Proxy Configures a proxy for outbound connections.
FieldTypeDescriptionDefault ValueRequired

Host

String

Host in which the proxy requests are sent.

x

Port

Number

Port in which the proxy requests are sent.

x

Username

String

Username to authenticate against the proxy.

Password

String

Password to authenticate against the proxy.

Non Proxy Hosts

String

Non-proxy hosts.

### NTLM Proxy Configures an NTLM proxy for outbound connections.
FieldTypeDescriptionDefault ValueRequired

Ntlm Domain

String

NTLM domain.

x

Host

String

Host in which the proxy requests are sent.

x

Port

Number

Port in which the proxy requests are sent.

x

Username

String

Username to authenticate against the proxy.

Password

String

Password to authenticate against the proxy.

Non Proxy Hosts

String

Non-proxy hosts.

## See Also - [MuleSoft Inference Connector Overview](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/) - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.0 --- # MuleSoft Inference Connector 1.0.0 XML and Maven Support > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Although you can manually code a Mule app in XML, it is more efficient to use Anypoint Code Builder or Studio: - If you manually code a Mule runtime engine (Mule) app in XML, either from the Anypoint Code Builder or Studio XML editor, or from a text editor, you can access the connector from your app by adding reference statements to both your XML Mule flow and the Apache Maven `pom.xml` file. - If you add the connector in Anypoint Code Builder or Studio, the XML is automatically populated the code with the connector’s namespace and schema location and it also adds a dependency to the `pom.xml` file. ## Add a Namespace for the Connector Paste the following code inside the `mule` tag of the header of your configuration XML: ```xml http://www.mulesoft.org/schema/mule/mulesoft-inference http://www.mulesoft.org/schema/mule/mulesoft-inference/current/mule-mulesoft-inference.xsd ``` This example shows how the namespace statements are placed in the `` XML block: ```xml ``` ## Add a POM File Dependency The Apache Maven `pom.xml` file generated by Anypoint Studio contains dependencies for a Mule app. If you code a Mule app manually, include this XML snippet in your `pom.xml` file to enable access to this connector: ```xml com.mulesoft.connectors mule4-inference-connector x.x.x mule-plugin ``` Replace `x.x.x` with the version that corresponds to the connector you are using. To obtain the most up-to-date `pom.xml` file information: 1. Go to [Anypoint Exchange](https://www.mulesoft.com/exchange/). 2. In Exchange, click **Login** and supply your Anypoint Platform username and password. 3. In Exchange, search for `inference`. 4. Select the connector. 5. Click **Dependency Snippets** near the upper right of the screen. ## Next Step After completing your namespace and pom.xml file, you can try the [Examples](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-connector-examples). ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.1 --- # MuleSoft Inference Connector 1.1 > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Anypoint Connector for MuleSoft Inference (MuleSoft Inference Connector) provides access to inference offerings for large language models (LLMs) from multiple providers including OpenAI, OpenAI Compatible Endpoints, OpenRouter, Heroku AI, Azure AI Foundry, Azure OpenAI, and many others. This connector provides operations to interface directly with the API of various inference providers, enabling seamless integration of AI capabilities into your Mule applications. For information about compatibility and fixed issues, see the MuleSoft Inference Connector release notes. ## Before You Begin To use this connector, you must be familiar with: - Anypoint Connectors - Mule runtime engine (Mule) - Elements and global elements in a Mule flow - How to create a Mule app using Anypoint Code Builder or Anypoint Studio Before creating an app, you must have: - Java 17 (required for compilation and runtime) - Apache Maven - Credentials to access the MuleSoft Inference Connector target resource - Anypoint Platform - The latest versions of Anypoint Code Builder or Anypoint Studio ## Key Features MuleSoft Inference Connector simplifies AI integration into Mule applications with: - **Seamless Interaction with Inferenced LLMs** Integrate and utilize large language models (LLMs) effortlessly for tasks such as natural language processing, text generation, and more, including advanced features such as image analysis or generation, and toxicity detection in both user-provided and LLM-generated text. - **Optimized Performance** Deliver high efficiency and performance in enterprise-grade Mule apps, ensuring smooth handling of AI operations. - **Secure Integration** Connect corporate applications and data with innovative new AI offerings without damaging security posture. Provide full [TLS](https://docs.mulesoft.com/mule-runtime/latest/tls-configuration) support for secure Mule apps. ## Supported Inference Providers - AI21Labs (beta) - Anthropic (beta) - Azure AI Foundry - Azure OpenAI - Cerebras (beta) - Cohere (beta) - Databricks (beta) - DeepInfra (beta) - DeepSeek (beta) - Docker Models (beta) - Fireworks (beta) - Gemini (beta) - GitHub Models (beta) - GPT4ALL (beta) - Groq AI (beta) - Heroku AI - Hugging Face (beta) (`hf-inference` only) - LM Studio (beta) - Mistral AI (beta) - NVIDIA NIM (beta) - Ollama (beta) - OpenAI - OpenAI Compatible Endpoints - OpenRouter - Perplexity (beta) - Portkey (beta) - Together.ai (beta) - Vertex AI Express (beta) - XAI (beta) - Xinference (beta) - ZHIPU AI (beta) ## Supported Moderation Providers - Mistral AI (beta) - OpenAI ## Supported Vision Model Providers - Anthropic (beta) - Azure AI Foundry - Gemini (beta) (`Base64` only) - GitHub Models (beta) - Groq AI (beta) - Hugging Face (beta) (`hf-inference` only) - Mistral AI (beta) - Ollama (beta) - OpenAI - OpenRouter - Portkey (beta) - Vertex AI Express (beta) - XAI (beta) ## Supported Image Generation Providers - Heroku AI - Hugging Face (beta) (`hf-inference` only) - OpenAI - Stability AI (beta) - XAI (beta) > [!NOTE] To keep pace with the rapidly evolving AI landscape, certain LLMs are marked as beta. > These are early-stage integrations that may change based on stability, demand, or provider > updates. You can explore them but should do so with awareness that support might be limited and > subject to change. ## Supported Operations by Offering Not all operations are supported by each provider. This table provides a detailed view of operation support across all providers.
LLM Provider[Chat] Answer Prompt[Chat] Completions[Agent] Define Prompt Template[Tools] Native Template (Reasoning only)*[Image] Read by (Url or Base64)*[Image] Generate (only Base64)*[Toxicity] Detection by Text*

AI21Labs

Yes

Yes

Yes

Yes

No

No

No

Anthropic

Yes

Yes

Yes

Yes

Yes

No

No

Azure AI Foundry

Yes

Yes

Yes

Yes

Yes

No

No

Azure OpenAI

Yes

Yes

Yes

Yes

No

No

No

Cerebras

Yes

Yes

Yes

Yes

No

No

No

Cohere

Yes

Yes

Yes

Yes

No

No

No

Databricks

Yes

Yes

Yes

Yes

No

No

No

DeepInfra

Yes

Yes

Yes

Yes

No

No

No

DeepSeek

Yes

Yes

Yes

Yes

No

No

No

Docker Models

Yes

Yes

Yes

Yes

No

No

No

Fireworks

Yes

Yes

Yes

Yes

No

No

No

Gemini

Yes

Yes

Yes

Yes

Base64 only

No

No

GitHub Models

Yes

Yes

Yes

Yes

Yes

No

No

GPT4ALL

Yes

Yes

Yes

Yes

No

No

No

Groq AI

Yes

Yes

Yes

Yes

Yes

No

No

Heroku AI

Yes

Yes

Yes

Yes

No

Yes

No

Hugging Face

Yes

Yes

Yes

Yes

Yes

Yes

No

LM Studio

Yes

Yes

Yes

Yes

No

No

No

Mistral AI

Yes

Yes

Yes

Yes

Yes

No

Yes

NVIDIA NIM

Yes

Yes

Yes

Yes

No

No

No

Ollama

Yes

Yes

Yes

Yes

No

No

No

OpenAI

Yes

Yes

Yes

Yes

Yes

Yes

Yes

OpenAI Compatible Endpoints

Yes

Yes

Yes

Yes

No

No

No

OpenRouter

Yes

Yes

Yes

Yes

Yes

No

No

Perplexity

Yes

Yes

Yes

No

No

No

No

Portkey

Yes

Yes

Yes

Yes

Yes

No

No

Stability AI

No

No

No

No

No

Yes

No

Together.ai

Yes

Yes

Yes

Yes

No

No

No

Vertex AI Express

Yes

Yes

Yes

No

Yes

No

No

XAI

Yes

Yes

Yes

Yes

Yes

Yes

No

Xinference

Yes

Yes

Yes

Yes

No

No

No

Zhipu

Yes

Yes

Yes

Yes

No

No

No

> [!NOTE] `*` indicates that support depends on the specific model used. ## Next Step After you complete the prerequisites, you are ready to create an app and configure the connector using [Anypoint Studio](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-connector-studio) or [Anypoint Code Builder](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-connector-config-acb). ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Using Anypoint Code Builder to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-acb) - [Using Studio to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-studio) - [MuleSoft Inference - Additional Configuration Information](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-additional-config) - [MuleSoft Inference Connector Examples](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-connector-examples) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.1 --- # MuleSoft Inference Connector 1.1 Reference > For the full documentation index, see: https://docs.mulesoft.com/llms.txt MuleSoft Inference Connector provides operations to interface directly with the API of various inference providers, enabling seamless integration of AI capabilities into your Mule applications. ## Configurations --- ### Image Generation Config #### Parameters
NameTypeDescriptionDefault ValueRequired

Name

String

Name for this configuration. Connectors reference the configuration with this name.

x

Connection

Connection types for this configuration.

x

Name

String

ID used to reference this configuration.

x

Expiration Policy

Configures an expiration policy for the configuration.

#### Connection Types ##### Heroku AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Heroku Inference Model

String

Model name.

x

Heroku Diffusion URL

String

Heroku diffusion URL.

https://us.inference.heroku.com

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Hugging Face ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Hugging Face Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Stability AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Stability AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### xAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

X Ai Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

## Supported Operations - [\[Image\] Generate (only Base64)](#GenerateImage) --- ### Moderation Config #### Parameters
NameTypeDescriptionDefault ValueRequired

Name

String

Name for this configuration. Connectors reference the configuration with this name.

x

Connection

Connection types for this configuration.

x

Name

String

ID used to reference this configuration.

x

Expiration Policy

Configures an expiration policy for the configuration.

#### Connection Types ##### Mistral AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Mistral AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

## Supported Operations - [\[Toxicity\] Detection by Text](#ToxicityDetectionText) --- ### Text Generation Config #### Parameters
NameTypeDescriptionDefault ValueRequired

Name

String

Name for this configuration. Connectors reference the configuration with this name.

x

Connection

Connection types for this configuration.

x

Name

String

ID used to reference this configuration.

x

Expiration Policy

Configures an expiration policy for the configuration.

#### Connection Types ##### AI21Labs ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Ai21 Labs Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Anthropic ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Anthropic Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Azure AI Foundry ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Azure Model Name

String

Model name.

x

[Azure AI Foundry] Resource Name

String

Azure AI Foundry resource name.

[Azure AI Foundry] API Version

String

Azure AI Foundry API version.

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Azure OpenAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Azure Model Name

String

Model name.

x

[Azure OpenAI] API Version

String

Azure OpenAI API version.

2024-10-21

[Azure OpenAI] User

String

Unique identifier representing your end-user, which can help to monitor and detect abuse.

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

[Azure OpenAI] Endpoint

String

The complete endpoint for the Azure OpenAI service. You can either provide the default or a custom endpoint URL (which is used directly and overrides any parameter values), or provide the resource name and deployment ID (which are used to construct the base URL).

x

[Azure OpenAI] Resource Name

String

The resource name of the Azure OpenAI service used to construct the endpoint. This parameter is used if you do not provide a custom endpoint URL.

[Azure OpenAI] Deployment ID

String

The Deployment ID of the Azure OpenAI service used to construct the endpoint. This parameter is used if you do not provide a custom endpoint URL.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Cerebras ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Cerebras Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Cohere ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Cohere Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Databricks ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

[Databricks] Serving Endpoint Name

String

Databricks serving endpoint name.

x

[Databricks] Serving Endpoint URL host

String

Databricks serving endpoint URL host.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### DeepInfra ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Deep Infra Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Deepseek ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Deepseek Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Docker ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Docker Model Name

String

Model name.

x

[Docker Models] Base URL

String

Docker models base URL.

http://localhost:12434

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Fireworks ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Fireworks Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Gemini ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Gemini Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### GitHub ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Git Hub Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### GPT4All ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Gpt4all Model Name

String

Model name.

x

[GPT4ALL] Base URL

String

GPT4ALL base URL.

http://localhost:4891/v1

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Groq ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Groq Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Heroku AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Heroku Inference Model

String

Model name.

claude-3-7-sonnet

Heroku Inference URL

String

Inference URL.

https://us.inference.heroku.com

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Hugging Face ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Hugging Face Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### LM Studio ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Lm Studio Model Name

String

Model name.

x

[LM Studio] Base URL

String

LM Studio base URL.

http://localhost:1234/v1

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Mistral AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Mistral AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Nvidia ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Nvidia Model Name

String

Model Name.

x

[Nvidia] Base URL

String

Nvidia base URL.

https://integrate.api.nvidia.com

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Ollama ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Ollama Model Name

String

Model name.

x

[Ollama] Base URL

String

Ollama base URL.

http://localhost:11434/api

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open AI Model Name

String

OpenAI model name.

gpt-4o-mini

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenAI Compatible Endpoint ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open AI Compatible Model Name

String

OpenAI compatible model name.

gpt-4o-mini

[OpenAI Compatible] Base URL

String

OpenAI compatible base URL.

https://server.endpoint.com

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenRouter ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open Router Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Perplexity ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Perplexity Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Portkey ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Portkey Model Name

String

Model name.

x

[Portkey] Virtual Key

String

Portkey virtual key.

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Together ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Together Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Vertex AI Express ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Vertex AI Express Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### xAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

X Ai Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### XInference ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

X Inference Model Name

String

Model name.

x

[Xinference] Base URL

String

Xinference base URL.

https://inference.top/api/v1

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### ZHIPU\_AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Zhipu AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

## Supported Operations - [\[Agent\] Define Prompt Template](#AgentDefinePromptTemplate) - [\[Chat\] Answer Prompt](#ChatAnswerPrompt) - [\[Chat\] Completions](#ChatCompletions) - [\[Tools\] Native Template (Reasoning only)](#ToolsNativeTemplate) --- ### Vision Config #### Parameters
NameTypeDescriptionDefault ValueRequired

Name

String

Name for this configuration. Connectors reference the configuration with this name.

x

Connection

Connection types for this configuration.

x

Name

String

ID used to reference this configuration.

x

Expiration Policy

Configures an expiration policy for the configuration.

#### Connection Types ##### Anthropic ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Anthropic Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Azure AI Foundry ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Azure AI Foundry Model Name

String

Model name.

x

[Azure AI Foundry] Resource Name

String

Azure AI Foundry resource name.

[Azure AI Foundry] API Version

String

Azure AI Foundry API version.

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Gemini ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Gemini Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### GitHub ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Git Hub Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Groq ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Groq Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Hugging Face ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Hugging Face Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Mistral AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Mistral AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Ollama ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Ollama Model Name

String

Model name.

x

[Ollama] Base URL

String

Ollama base URL.

http://localhost:11434/api

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenRouter ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open Router Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Portkey ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Portkey Model Name

String

Model name.

x

[Portkey] Virtual Key

String

Portkey virtual key.

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Vertex AI Express ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Vertex AI Express Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### xAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

X Ai Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

V

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

## Supported Operations - [\[Image\] Read by (Url or Base64)](#ReadImage) ## Operations ## \[Image\] Generate (only Base64) `` This operation generates an image based on a prompt. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Prompt

String

User’s prompt.

#[payload]

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Image Generation Config](#ImageGenerationConfig) ### Throws - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:IMAGE\_GENERATION\_FAILURE - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED ## \[Toxicity\] Detection by Text `` This operation detects harmful content in a text. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Text

Any

Text to moderate. Can be a single string or an array of strings.

#[payload]

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

### For Configurations - [Moderation Config](#ModerationConfig) ### Throws - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOXICITY\_DETECTION\_OPERATION\_FAILURE ## \[Agent\] Define Prompt Template `` This operation defines a prompt template with instructions and data. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Template

String

Template string.

x

Instructions

String

Instructions for the LLM.

x

Data

String

Primary data content.

#[payload]

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Text Generation Config](#TextGenerationConfig) ### Throws - MS-INFERENCE:CHAT\_OPERATION\_FAILURE - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOOLS\_OPERATION\_FAILURE ## \[Chat\] Answer Prompt `` This operation provides a simple chat answer for a single prompt. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Prompt

String

User’s prompt.

#[payload]

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Text Generation Config](#TextGenerationConfig) ### Throws - MS-INFERENCE:CHAT\_OPERATION\_FAILURE - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOOLS\_OPERATION\_FAILURE ## \[Chat\] Completions `` This operation provides chat completions by a messages array, including system or user messages (conversation history). ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Messages

Array of Any

Conversation history as a JSON array.

#[payload]

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Text Generation Config](#TextGenerationConfig) ### Throws - MS-INFERENCE:CHAT\_OPERATION\_FAILURE - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOOLS\_OPERATION\_FAILURE ## \[Tools\] Native Template (Reasoning only) `` This operation defines a tools template with instructions and data. This operation is useful if you want to create autonomous agents that can use external tools whenever a prompt can’t be answered directly by the AI model. This operation selects which tools can be used for execution. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Template

String

Template string.

x

Instructions

String

Instructions for the LLM.

x

Data

String

Primary data content.

#[payload]

Tools

Array of Any

Tools configuration as a JSON array.

x

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Text Generation Config](#TextGenerationConfig) ### Throws - MS-INFERENCE:CHAT\_OPERATION\_FAILURE - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOOLS\_OPERATION\_FAILURE ## \[Image\] Read by (Url or Base64) `` This operation reads an image from a URL or Base64 string. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Prompt

String

User’s prompt.

x

Image

String

Image URL or Base64 string to send to the Vision Model.

#[payload]

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Vision Config](#VisionConfig) ### Throws - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:READ\_IMAGE\_OPERATION\_FAILURE - MS-INFERENCE:RETRY\_EXHAUSTED ## Types ### TLS Configures TLS to provide secure communications for the Mule app.
FieldTypeDescriptionDefault ValueRequired

Enabled Protocols

String

Comma-separated list of protocols enabled for this context.

Enabled Cipher Suites

String

Comma-separated list of cipher suites enabled for this context.

Trust Store

Configures the TLS truststore.

Key Store

Configures the TLS keystore.

Revocation Check

Configures a revocation checking mechanism.

### Truststore Configures the truststore for TLS.
FieldTypeDescriptionDefault ValueRequired

Path

String

Path to the truststore. Mule resolves the path relative to the current classpath and file system.

Password

String

Password used to protect the truststore.

Type

String

Type of truststore.

Algorithm

String

Encryption algorithm that the truststore uses.

Insecure

Boolean

If true, Mule stops performing certificate validations. Setting this to true can make connections vulnerable to attacks.

### Keystore Configures the keystore for the TLS protocol. The keystore you generate contains a private key and a public certificate.
FieldTypeDescriptionDefault ValueRequired

Path

String

Path to the keystore. Mule resolves the path relative to the current classpath and file system.

Type

String

Type of keystore.

Alias

String

Alias of the key to use when the keystore contains multiple private keys. By default, Mule uses the first key in the file.

Key Password

String

Password used to protect the private key.

Password

String

Password used to protect the keystore.

Algorithm

String

Encryption algorithm that the keystore uses.

### Standard Revocation Check Configures standard revocation checks for TLS certificates.
FieldTypeDescriptionDefault ValueRequired

Only End Entities

Boolean

Which elements to verify in the certificate chain:

  • true

    Verify only the last element in the certificate chain.

  • false

    Verify all elements in the certificate chain.

Prefer Crls

Boolean

How to check certificate validity:

  • true

    Check the Certification Revocation List (CRL) for certificate validity.

  • false

    Use the Online Certificate Status Protocol (OCSP) to check certificate validity.

No Fallback

Boolean

Whether to use the secondary method to check certificate validity:

  • true

    Use the method that wasn’t specified in the Prefer Crls field (the secondary method) to check certificate validity.

  • false

    Do not use the secondary method to check certificate validity.

Soft Fail

Boolean

What to do if the revocation server can’t be reached or is busy:

  • true

    Avoid verification failure.

  • false

    Allow the verification to fail.

### Custom OCSP Responder Configures a custom OCSP responder for certification revocation checks.
FieldTypeDescriptionDefault ValueRequired

Url

String

URL of the OCSP responder.

Cert Alias

String

Alias of the signing certificate for the OCSP response. If specified, the alias must be in the truststore.

### CRL File Specifies the location of the certification revocation list (CRL) file.
FieldTypeDescriptionDefault ValueRequired

Path

String

Path to the CRL file.

### Header
FieldTypeDescriptionDefault ValueRequired

Key

String

Header name.

x

Value

String

Header value.

x

### Reconnection Configures a reconnection strategy for an operation.
FieldTypeDescriptionDefault ValueRequired

Fails Deployment

Boolean

Configures a reconnection strategy to use when a connector operation fails to connect to an external server.

Reconnection Strategy

Reconnection strategy to use.

### Reconnect Configures a standard reconnection strategy, which specifies how often to reconnect and how many reconnection attempts the connector source or operation can make.
FieldTypeDescriptionDefault ValueRequired

Frequency

Number

How often to attempt to reconnect, in milliseconds.

Blocking

Boolean

If false, the reconnection strategy runs in a separate, non-blocking thread.

Count

Number

How many reconnection attempts the Mule app can make.

### Reconnect Forever Configures a forever reconnection strategy by which the connector source or operation attempts to reconnect at a specified frequency for as long as the Mule app runs.
FieldTypeDescriptionDefault ValueRequired

Frequency

Number

How often to attempt to reconnect, in milliseconds.

Blocking

Boolean

If false, the reconnection strategy runs in a separate, non-blocking thread.

### Expiration Policy Configures an expiration policy strategy.
FieldTypeDescriptionDefault ValueRequired

Max Idle Time

Number

Configures the maximum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration.

Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Max Idle Time field.

### Image Response Attributes Configures image response attributes.
FieldTypeDescriptionDefault ValueRequired

Model

String

Model.

Prompt Used

String

Prompt used.

### Repeatable In Memory Stream Configures the in-memory streaming strategy by which the request fails if the data exceeds the MAX buffer size. Always run performance tests to find the optimal buffer size for your specific use case.
FieldTypeDescriptionDefault ValueRequired

Initial Buffer Size

Number

Initial amount of memory to allocate to the data stream. If the streamed data exceeds this value, the buffer expands by Buffer Size Increment, with an upper limit of Max Buffer Size.

Buffer Size Increment

Number

This is by how much the buffer size expands if it exceeds its initial size. Setting a value of zero or lower means that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised when the buffer gets full.

Max Buffer Size

Number

Maximum size of the buffer. If the buffer size exceeds this value, Mule raises a STREAM_MAXIMUM_SIZE_EXCEEDED error. A value of less than or equal to 0 means no limit.

Buffer Unit

Enumeration, one of:

  • BYTE

  • KB

  • MB

  • GB

Unit for the Initial Buffer Size, Buffer Size Increment, and Max Buffer Size fields.

### Repeatable File Store Stream Configures the repeatable file-store streaming strategy by which Mule keeps a portion of the stream content in memory. If the stream content is larger than the configured buffer size, Mule backs up the buffer’s content to disk and then clears the memory.
FieldTypeDescriptionDefault ValueRequired

In Memory Size

Number

Maximum amount of memory that the stream can use for data. If the amount of memory exceeds this value, Mule buffers the content to disk. To optimize performance:

  • Configure a larger buffer size to avoid the number of times Mule needs to write the buffer on disk. This increases performance, but it also limits the number of concurrent requests your application can process, because it requires additional memory.

  • Configure a smaller buffer size to decrease memory load at the expense of response time.

Buffer Unit

Enumeration, one of:

  • BYTE

  • KB

  • MB

  • GB

Unit for the In Memory Size field.

### Error Mapping Configures error mapping.
FieldTypeDescriptionDefault ValueRequired

Source

Enumeration, one of:

  • ANY

  • REDELIVERY_EXHAUSTED

  • TRANSFORMATION

  • EXPRESSION

  • SECURITY

  • CLIENT_SECURITY

  • SERVER_SECURITY

  • ROUTING

  • CONNECTIVITY

  • RETRY_EXHAUSTED

  • TIMEOUT

Source of the error.

Target

String

Target of the error.

x

### LLM Response Attributes Configures LLM response attributes.
FieldTypeDescriptionDefault ValueRequired

Additional Attributes

Additional attributes.

Token Usage

Token usage.

### Additional Attributes Configures additional attributes.
FieldTypeDescriptionDefault ValueRequired

Content Filter Results

Object

Flags if the generated response contains potentially harmful content.

Finish Reason

String

Finish reason for the LLM response.

Id

String

ID of the request.

Model

String

ID of the model used.

Prompt Filter Results

Array of PromptFilterResult

Flags if the user’s input contains potentially harmful content.

### Token Usage Configures token usage metadata returned as attributes.
FieldTypeDescriptionDefault ValueRequired

Input Count

Number

Number of tokens used to process the input.

Output Count

Number

Number of tokens used to generate the output.

Total Count

Number

Total number of tokens used for input and output.

### Proxy Configures a proxy for outbound connections.
FieldTypeDescriptionDefault ValueRequired

Host

String

Host in which the proxy requests are sent.

x

Port

Number

Port in which the proxy requests are sent.

x

Username

String

Username to authenticate against the proxy.

Password

String

Password to authenticate against the proxy.

Non Proxy Hosts

String

Non-proxy hosts.

### NTLM Proxy Configures an NTLM proxy for outbound connections.
FieldTypeDescriptionDefault ValueRequired

Ntlm Domain

String

NTLM domain.

x

Host

String

Host in which the proxy requests are sent.

x

Port

Number

Port in which the proxy requests are sent.

x

Username

String

Username to authenticate against the proxy.

Password

String

Password to authenticate against the proxy.

Non Proxy Hosts

String

Non-proxy hosts.

## See Also - [MuleSoft Inference Connector Overview](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/) - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.1 --- # MuleSoft Inference Connector 1.1.0 XML and Maven Support > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Although you can manually code a Mule app in XML, it is more efficient to use Anypoint Code Builder or Studio: - If you manually code a Mule runtime engine (Mule) app in XML, either from the Anypoint Code Builder or Studio XML editor, or from a text editor, you can access the connector from your app by adding reference statements to both your XML Mule flow and the Apache Maven `pom.xml` file. - If you add the connector in Anypoint Code Builder or Studio, the XML is automatically populated the code with the connector’s namespace and schema location and it also adds a dependency to the `pom.xml` file. ## Add a Namespace for the Connector Paste the following code inside the `mule` tag of the header of your configuration XML: ```xml http://www.mulesoft.org/schema/mule/mulesoft-inference http://www.mulesoft.org/schema/mule/mulesoft-inference/current/mule-mulesoft-inference.xsd ``` This example shows how the namespace statements are placed in the `` XML block: ```xml ``` ## Add a POM File Dependency The Apache Maven `pom.xml` file generated by Anypoint Studio contains dependencies for a Mule app. If you code a Mule app manually, include this XML snippet in your `pom.xml` file to enable access to this connector: ```xml com.mulesoft.connectors mule4-inference-connector x.x.x mule-plugin ``` Replace `x.x.x` with the version that corresponds to the connector you are using. To obtain the most up-to-date `pom.xml` file information: 1. Go to [Anypoint Exchange](https://www.mulesoft.com/exchange/). 2. In Exchange, click **Login** and supply your Anypoint Platform username and password. 3. In Exchange, search for `inference`. 4. Select the connector. 5. Click **Dependency Snippets** near the upper right of the screen. ## Next Step After completing your namespace and pom.xml file, you can try the [Examples](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-connector-examples). ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.2 is-latest-version: true --- # MuleSoft Inference Connector 1.2 > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Anypoint Connector for MuleSoft Inference (MuleSoft Inference Connector) provides access to inference offerings for large language models (LLMs) from multiple providers including OpenAI, OpenAI Compatible Endpoints, OpenRouter, Heroku AI, Azure AI Foundry, Azure OpenAI, and many others. This connector provides operations to interface directly with the API of various inference providers, enabling seamless integration of AI capabilities into your Mule applications. For information about compatibility and fixed issues, see the MuleSoft Inference Connector release notes. ## Before You Begin To use this connector, you must be familiar with: - Anypoint Connectors - Mule runtime engine (Mule) - Elements and global elements in a Mule flow - How to create a Mule app using Anypoint Code Builder or Anypoint Studio Before creating an app, you must have: - Java 17 (required for compilation and runtime) - Apache Maven - Credentials to access the MuleSoft Inference Connector target resource - Anypoint Platform - The latest versions of Anypoint Code Builder or Anypoint Studio ## Key Features MuleSoft Inference Connector simplifies AI integration into Mule applications with: - **Seamless Interaction with Inferenced LLMs** Integrate and utilize large language models (LLMs) effortlessly for tasks such as natural language processing, text generation, and more, including advanced features such as image analysis or generation, and toxicity detection in both user-provided and LLM-generated text. - **Optimized Performance** Deliver high efficiency and performance in enterprise-grade Mule apps, ensuring smooth handling of AI operations. - **Secure Integration** Connect corporate applications and data with innovative new AI offerings without damaging security posture. Provide full [TLS](https://docs.mulesoft.com/mule-runtime/latest/tls-configuration) support for secure Mule apps. ## Supported Inference Providers - AI21Labs (beta) - Anthropic (beta) - Azure AI Foundry - Azure OpenAI - Cerebras (beta) - Cohere (beta) - Databricks (beta) - DeepInfra (beta) - DeepSeek (beta) - Docker Models (beta) - Fireworks (beta) - Gemini (beta) - GitHub Models (beta) - GPT4ALL (beta) - Groq AI (beta) - Heroku AI - Hugging Face (beta) (`hf-inference` only) - LM Studio (beta) - Mistral AI (beta) - NVIDIA NIM (beta) - Ollama (beta) - OpenAI - OpenAI Compatible Endpoints - OpenRouter - Perplexity (beta) - Portkey (beta) - Swisscom (beta) - Together.ai (beta) - Vertex AI Express (beta) - XAI (beta) - Xinference (beta) - ZHIPU AI (beta) ## Supported Moderation Providers - Mistral AI (beta) - OpenAI ## Supported Vision Model Providers - Anthropic (beta) - Azure AI Foundry - Gemini (beta) (`Base64` only) - GitHub Models (beta) - Groq AI (beta) - Hugging Face (beta) (`hf-inference` only) - Mistral AI (beta) - Ollama (beta) - OpenAI - OpenRouter - Portkey (beta) - Vertex AI Express (beta) - XAI (beta) ## Supported Image Generation Providers - Heroku AI - Hugging Face (beta) (`hf-inference` only) - OpenAI - Stability AI (beta) - XAI (beta) > [!NOTE] To keep pace with the rapidly evolving AI landscape, certain LLMs are marked as beta. > These are early-stage integrations that may change based on stability, demand, or provider > updates. You can explore them but should do so with awareness that support might be limited and > subject to change. ## Supported Operations by Offering Not all operations are supported by each provider. This table provides a detailed view of operation support across all providers.
LLM Provider[Chat] Answer Prompt[Chat] Completions[Agent] Define Prompt Template[Tools] Native Template (Reasoning only)*[Image] Read by (Url or Base64)*[Image] Generate (only Base64)*[Toxicity] Detection by Text*[MCP] Tooling

AI21Labs

Yes

Yes

Yes

Yes

No

No

No

Yes

Anthropic

Yes

Yes

Yes

Yes

Yes

No

No

Yes

Azure AI Foundry

Yes

Yes

Yes

Yes

Yes

No

No

Yes

Azure OpenAI

Yes

Yes

Yes

Yes

No

No

No

Yes

Cerebras

Yes

Yes

Yes

Yes

No

No

No

Yes

Cohere

Yes

Yes

Yes

Yes

No

No

No

Yes

Databricks

Yes

Yes

Yes

Yes

No

No

No

Yes

DeepInfra

Yes

Yes

Yes

Yes

No

No

No

Yes

DeepSeek

Yes

Yes

Yes

Yes

No

No

No

Yes

Docker Models

Yes

Yes

Yes

Yes

No

No

No

Yes

Fireworks

Yes

Yes

Yes

Yes

No

No

No

Yes

Gemini

Yes

Yes

Yes

Yes

Base64 only

No

No

Yes

GitHub Models

Yes

Yes

Yes

Yes

Yes

No

No

Yes

GPT4ALL

Yes

Yes

Yes

Yes

No

No

No

Yes

Groq AI

Yes

Yes

Yes

Yes

Yes

No

No

Yes

Heroku AI

Yes

Yes

Yes

Yes

No

Yes

No

Yes

Hugging Face

Yes

Yes

Yes

Yes

Yes

Yes

No

Yes

LM Studio

Yes

Yes

Yes

Yes

No

No

No

Yes

Mistral AI

Yes

Yes

Yes

Yes

Yes

No

Yes

Yes

NVIDIA NIM

Yes

Yes

Yes

Yes

No

No

No

Yes

Ollama

Yes

Yes

Yes

Yes

No

No

No

Yes

OpenAI

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

OpenAI Compatible Endpoints

Yes

Yes

Yes

Yes

No

No

No

Yes

OpenRouter

Yes

Yes

Yes

Yes

Yes

No

No

Yes

Perplexity

Yes

Yes

Yes

No

No

No

No

No

Portkey

Yes

Yes

Yes

Yes

Yes

No

No

Yes

Stability AI

No

No

No

No

No

Yes

No

No

Swisscom

Yes

Yes

Yes

Yes

No

No

No

Yes

Together.ai

Yes

Yes

Yes

Yes

No

No

No

Yes

Vertex AI Express

Yes

Yes

Yes

No

Yes

No

No

No

XAI

Yes

Yes

Yes

Yes

Yes

Yes

No

Yes

Xinference

Yes

Yes

Yes

Yes

No

No

No

Yes

Zhipu

Yes

Yes

Yes

Yes

No

No

No

Yes

> [!NOTE] `*` indicates that support depends on the specific model used. ## Next Step After you complete the prerequisites, you are ready to create an app and configure the connector using [Anypoint Studio](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-connector-studio) or [Anypoint Code Builder](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-connector-config-acb). ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Using Anypoint Code Builder to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-acb) - [Using Studio to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-studio) - [MuleSoft Inference - Additional Configuration Information](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-additional-config) - [MuleSoft Inference Connector Examples](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-connector-examples) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.2 is-latest-version: true --- # MuleSoft Inference Connector 1.2 Reference > For the full documentation index, see: https://docs.mulesoft.com/llms.txt MuleSoft Inference Connector provides operations to interface directly with the API of various inference providers, enabling seamless integration of AI capabilities into your Mule applications. ## Configurations --- ### Image Generation Config #### Parameters
NameTypeDescriptionDefault ValueRequired

Name

String

Name for this configuration. Connectors reference the configuration with this name.

x

Connection

Connection types for this configuration.

x

Name

String

ID used to reference this configuration.

x

Expiration Policy

Configures an expiration policy for the configuration.

#### Connection Types ##### Heroku AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Heroku Inference Model

String

Model name.

x

Heroku Diffusion URL

String

Heroku diffusion URL.

https://us.inference.heroku.com

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Hugging Face ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Hugging Face Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Stability AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Stability AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### xAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

X Ai Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

## Supported Operations - [\[Image\] Generate (only Base64)](#GenerateImage) --- ### Moderation Config #### Parameters
NameTypeDescriptionDefault ValueRequired

Name

String

Name for this configuration. Connectors reference the configuration with this name.

x

Connection

Connection types for this configuration.

x

Name

String

ID used to reference this configuration.

x

Expiration Policy

Configures an expiration policy for the configuration.

#### Connection Types ##### Mistral AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Mistral AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

## Supported Operations - [\[Toxicity\] Detection by Text](#ToxicityDetectionText) --- ### Text Generation Config #### Parameters
NameTypeDescriptionDefault ValueRequired

Name

String

Name for this configuration. Connectors reference the configuration with this name.

x

Connection

Connection types for this configuration.

x

Name

String

ID used to reference this configuration.

x

Expiration Policy

Configures an expiration policy for the configuration.

#### Connection Types ##### AI21Labs ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Ai21 Labs Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Anthropic ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Anthropic Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Azure AI Foundry ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Azure Model Name

String

Model name.

x

[Azure AI Foundry] Resource Name

String

Azure AI Foundry resource name.

[Azure AI Foundry] API Version

String

Azure AI Foundry API version.

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Azure OpenAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Azure Model Name

String

Model name.

x

[Azure OpenAI] API Version

String

Azure OpenAI API version.

2024-10-21

[Azure OpenAI] User

String

Unique identifier representing your end-user, which can help to monitor and detect abuse.

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

[Azure OpenAI] Endpoint

String

The complete endpoint for the Azure OpenAI service. You can either provide the default or a custom endpoint URL (which is used directly and overrides any parameter values), or provide the resource name and deployment ID (which are used to construct the base URL).

x

[Azure OpenAI] Resource Name

String

The resource name of the Azure OpenAI service used to construct the endpoint. This parameter is used if you do not provide a custom endpoint URL.

[Azure OpenAI] Deployment ID

String

The Deployment ID of the Azure OpenAI service used to construct the endpoint. This parameter is used if you do not provide a custom endpoint URL.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Cerebras ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Cerebras Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Cohere ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Cohere Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Databricks ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

[Databricks] Serving Endpoint Name

String

Databricks serving endpoint name.

x

[Databricks] Serving Endpoint URL host

String

Databricks serving endpoint URL host.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### DeepInfra ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Deep Infra Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Deepseek ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Deepseek Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Docker ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Docker Model Name

String

Model name.

x

[Docker Models] Base URL

String

Docker models base URL.

http://localhost:12434

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Fireworks ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Fireworks Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Gemini ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Gemini Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### GitHub ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Git Hub Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### GPT4All ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Gpt4all Model Name

String

Model name.

x

[GPT4ALL] Base URL

String

GPT4ALL base URL.

http://localhost:4891/v1

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Groq ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Groq Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Heroku AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Heroku Inference Model

String

Model name.

claude-3-7-sonnet

Heroku Inference URL

String

Inference URL.

https://us.inference.heroku.com

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Hugging Face ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Hugging Face Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### LM Studio ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Lm Studio Model Name

String

Model name.

x

[LM Studio] Base URL

String

LM Studio base URL.

http://localhost:1234/v1

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Mistral AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Mistral AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### NVIDIA ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

NVIDIA Model Name

String

Model Name.

x

NVIDIA Base URL

String

NVIDIA base URL.

https://integrate.api.nvidia.com

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Ollama ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Ollama Model Name

String

Model name.

x

[Ollama] Base URL

String

Ollama base URL.

http://localhost:11434/api

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open AI Model Name

String

OpenAI model name.

gpt-4o-mini

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenAI Compatible Endpoint ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open AI Compatible Model Name

String

OpenAI compatible model name.

gpt-4o-mini

[OpenAI Compatible] Base URL

String

OpenAI compatible base URL.

https://server.endpoint.com

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenRouter ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open Router Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Perplexity ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Perplexity Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Portkey ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Portkey Model Name

String

Model name.

x

[Portkey] Virtual Key

String

Portkey virtual key.

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Swisscom ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Swisscom Model Name

String

Model name.

meta/llama-3.3-70b-instruct

[Swisscom] Base URL

String

Swisscom base URL.

https://api.swisscom.com/layer/swiss-ai-platform/{modelName}/v1

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Together ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Together Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Vertex AI Express ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Vertex AI Express Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### xAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

X Ai Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### XInference ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

X Inference Model Name

String

Model name.

x

[Xinference] Base URL

String

Xinference base URL.

https://inference.top/api/v1

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### ZHIPU\_AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Zhipu AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

## Supported Operations - [\[Agent\] Define Prompt Template](#AgentDefinePromptTemplate) - [\[Chat\] Answer Prompt](#ChatAnswerPrompt) - [\[Chat\] Completions](#ChatCompletions) - [\[MCP\] Tooling](#McpToolsNativeTemplate) - [\[Tools\] Native Template (Reasoning only)](#ToolsNativeTemplate) --- ### Vision Config #### Parameters
NameTypeDescriptionDefault ValueRequired

Name

String

Name for this configuration. Connectors reference the configuration with this name.

x

Connection

Connection types for this configuration.

x

Name

String

ID used to reference this configuration.

x

Expiration Policy

Configures an expiration policy for the configuration.

#### Connection Types ##### Anthropic ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Anthropic Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Azure AI Foundry ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Azure AI Foundry Model Name

String

Model name.

x

[Azure AI Foundry] Resource Name

String

Azure AI Foundry resource name.

[Azure AI Foundry] API Version

String

Azure AI Foundry API version.

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Gemini ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Gemini Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### GitHub ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Git Hub Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Groq ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Groq Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Hugging Face ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Hugging Face Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Mistral AI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Mistral AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Ollama ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Ollama Model Name

String

Model name.

x

[Ollama] Base URL

String

Ollama base URL.

http://localhost:11434/api

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open AI Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### OpenRouter ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Open Router Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Portkey ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Portkey Model Name

String

Model name.

x

[Portkey] Virtual Key

String

Portkey virtual key.

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### Vertex AI Express ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

Vertex AI Express Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

##### xAI ###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy Configuration

Configures a proxy for outbound connections.

X Ai Model Name

String

Model name.

x

TLS Configuration

If HTTPS is configured as a protocol, then you must configure at least the keystore configuration.

API Key

String

API key as required by the inference provider.

x

Custom headers

Array of Header

Custom headers are additional HTTP headers to include with each request. For any existing header key, the custom value will take precedence and overwrite the existing one.

V

Timeout

Number

Response timeout value set for each inference HTTP request.

60

Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Response timeout unit for the Timeout field.

SECONDS

Max Tokens

Number

Defines the number of LLM tokens to use when generating a response. This field helps control the usage and costs when engaging with LLMs.

500

Temperature

Number

Number between 0 and 2. The temperature is used to control the randomness of the output. When you set it higher, you’ll get more random outputs. When you set it lower (towards 0), the values are more deterministic.

0.9

Top P

Number

Controls diversity by creating a nucleus of the most probable words to choose from for the next token. Specifies the cumulative probability score threshold that the tokens must reach.

0.9

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

## Supported Operations - [\[Image\] Read by (Url or Base64)](#ReadImage) ## Operations ## \[Image\] Generate (only Base64) `` This operation generates image based on the text prompt using AI image generation models. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Prompt

String

User’s text prompt describing the desired image.

#[payload]

Additional Request Attributes

Any

Additional attributes in the request payload to generate more relevant and precise LLM outputs.

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Image Generation Config](#ImageGenerationConfig) ### Throws - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:IMAGE\_GENERATION\_FAILURE - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED ## \[Toxicity\] Detection by Text `` This operation detects harmful content in a text. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Text

Any

Text to moderate. Can be a single string or an array of strings.

#[payload]

Additional Request Attributes

Any

Additional attributes in the request payload to generate more relevant and precise LLM outputs.

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

### For Configurations - [Moderation Config](#ModerationConfig) ### Throws - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOXICITY\_DETECTION\_OPERATION\_FAILURE ## \[Agent\] Define Prompt Template `` This operation defines a prompt template with instructions and data. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Template

String

Template string.

x

Instructions

String

Instructions for the LLM.

x

Data

String

Primary data content.

#[payload]

Additional Request Attributes

Any

Additional attributes in the request payload to generate more relevant and precise LLM outputs.

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Text Generation Config](#TextGenerationConfig) ### Throws - MS-INFERENCE:CHAT\_OPERATION\_FAILURE - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:MCP\_SERVER\_ERROR - MS-INFERENCE:MCP\_TOOLS\_OPERATION\_FAILURE - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOOLS\_OPERATION\_FAILURE ## \[Chat\] Answer Prompt `` This operation provides a simple chat answer for a single prompt. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Prompt

String

User’s prompt.

#[payload]

Additional Request Attributes

Any

Additional attributes in the request payload to generate more relevant and precise LLM outputs.

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Text Generation Config](#TextGenerationConfig) ### Throws - MS-INFERENCE:CHAT\_OPERATION\_FAILURE - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:MCP\_SERVER\_ERROR - MS-INFERENCE:MCP\_TOOLS\_OPERATION\_FAILURE - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOOLS\_OPERATION\_FAILURE ## \[Chat\] Completions `` This operation provides chat completions by a messages array, including system or user messages (conversation history). ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Messages

Array of Any

Conversation history as a JSON array.

#[payload]

Additional Request Attributes

Any

Additional attributes in the request payload to generate more relevant and precise LLM outputs.

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Text Generation Config](#TextGenerationConfig) ### Throws - MS-INFERENCE:CHAT\_OPERATION\_FAILURE - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:MCP\_SERVER\_ERROR - MS-INFERENCE:MCP\_TOOLS\_OPERATION\_FAILURE - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOOLS\_OPERATION\_FAILURE ## \[MCP\] Tooling `` This operation executes MCP tools using a defined template that includes instructions, data, and tools fetched directly from MCP servers. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Mcp Config References

Array of Mcp Config

List of MCP client configuration references.

x

Template

String

Template string.

x

Instructions

String

Instructions for the LLM.

x

Data

String

Primary data content.

#[payload]

Additional Request Attributes

Any

Additional attributes in the request payload to generate more relevant and precise LLM outputs.

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Text Generation Config](#TextGenerationConfig) ### Throws - MS-INFERENCE:CHAT\_OPERATION\_FAILURE - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:MCP\_SERVER\_ERROR - MS-INFERENCE:MCP\_TOOLS\_OPERATION\_FAILURE - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOOLS\_OPERATION\_FAILURE ## \[Tools\] Native Template (Reasoning only) `` This operation defines a tools template with instructions and data. This operation is useful if you want to create autonomous agents that can use external tools whenever a prompt can’t be answered directly by the AI model. This operation selects which tools can be used for execution. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Template

String

Template string.

x

Instructions

String

Instructions for the LLM.

x

Data

String

Primary data content.

#[payload]

Tools

Array of Any

Tools configuration as a JSON array.

x

Additional Request Attributes

Any

Additional attributes in the request payload to generate more relevant and precise LLM outputs.

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Text Generation Config](#TextGenerationConfig) ### Throws - MS-INFERENCE:CHAT\_OPERATION\_FAILURE - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:MCP\_SERVER\_ERROR - MS-INFERENCE:MCP\_TOOLS\_OPERATION\_FAILURE - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:RETRY\_EXHAUSTED - MS-INFERENCE:TOOLS\_OPERATION\_FAILURE ## \[Image\] Read by (Url or Base64) `` This operation reads an image from a URL or Base64 string. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Prompt

String

User’s prompt.

x

Image

String

Image URL or Base64 string to send to the Vision Model.

#[payload]

Additional Request Attributes

Any

Additional attributes in the request payload to generate more relevant and precise LLM outputs.

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration to use to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Error Mappings

Array of Error Mapping

Set of error mappings.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

### For Configurations - [Vision Config](#VisionConfig) ### Throws - MS-INFERENCE:CONNECTIVITY - MS-INFERENCE:INVALID\_CONNECTION - MS-INFERENCE:INVALID\_PROVIDER - MS-INFERENCE:RATE\_LIMIT\_EXCEEDED - MS-INFERENCE:READ\_IMAGE\_OPERATION\_FAILURE - MS-INFERENCE:RETRY\_EXHAUSTED ## Types ### TLS Configures TLS to provide secure communications for the Mule app.
FieldTypeDescriptionDefault ValueRequired

Enabled Protocols

String

Comma-separated list of protocols enabled for this context.

Enabled Cipher Suites

String

Comma-separated list of cipher suites enabled for this context.

Trust Store

Configures the TLS truststore.

Key Store

Configures the TLS keystore.

Revocation Check

Configures a revocation checking mechanism.

### Truststore Configures the truststore for TLS.
FieldTypeDescriptionDefault ValueRequired

Path

String

Path to the truststore. Mule resolves the path relative to the current classpath and file system.

Password

String

Password used to protect the truststore.

Type

String

Type of truststore.

Algorithm

String

Encryption algorithm that the truststore uses.

Insecure

Boolean

If true, Mule stops performing certificate validations. Setting this to true can make connections vulnerable to attacks.

### Keystore Configures the keystore for the TLS protocol. The keystore you generate contains a private key and a public certificate.
FieldTypeDescriptionDefault ValueRequired

Path

String

Path to the keystore. Mule resolves the path relative to the current classpath and file system.

Type

String

Type of keystore.

Alias

String

Alias of the key to use when the keystore contains multiple private keys. By default, Mule uses the first key in the file.

Key Password

String

Password used to protect the private key.

Password

String

Password used to protect the keystore.

Algorithm

String

Encryption algorithm that the keystore uses.

### Standard Revocation Check Configures standard revocation checks for TLS certificates.
FieldTypeDescriptionDefault ValueRequired

Only End Entities

Boolean

Which elements to verify in the certificate chain:

  • true

    Verify only the last element in the certificate chain.

  • false

    Verify all elements in the certificate chain.

Prefer Crls

Boolean

How to check certificate validity:

  • true

    Check the Certification Revocation List (CRL) for certificate validity.

  • false

    Use the Online Certificate Status Protocol (OCSP) to check certificate validity.

No Fallback

Boolean

Whether to use the secondary method to check certificate validity:

  • true

    Use the method that wasn’t specified in the Prefer Crls field (the secondary method) to check certificate validity.

  • false

    Do not use the secondary method to check certificate validity.

Soft Fail

Boolean

What to do if the revocation server can’t be reached or is busy:

  • true

    Avoid verification failure.

  • false

    Allow the verification to fail.

### Custom OCSP Responder Configures a custom OCSP responder for certification revocation checks.
FieldTypeDescriptionDefault ValueRequired

Url

String

URL of the OCSP responder.

Cert Alias

String

Alias of the signing certificate for the OCSP response. If specified, the alias must be in the truststore.

### CRL File Specifies the location of the certification revocation list (CRL) file.
FieldTypeDescriptionDefault ValueRequired

Path

String

Path to the CRL file.

### Header Represents an HTTP header.
FieldTypeDescriptionDefault ValueRequired

Key

String

Header name.

x

Value

String

Header value.

x

### Reconnection Configures a reconnection strategy for an operation.
FieldTypeDescriptionDefault ValueRequired

Fails Deployment

Boolean

Configures a reconnection strategy to use when a connector operation fails to connect to an external server.

Reconnection Strategy

Reconnection strategy to use.

### Reconnect Configures a standard reconnection strategy, which specifies how often to reconnect and how many reconnection attempts the connector source or operation can make.
FieldTypeDescriptionDefault ValueRequired

Frequency

Number

How often to attempt to reconnect, in milliseconds.

Blocking

Boolean

If false, the reconnection strategy runs in a separate, non-blocking thread.

Count

Number

How many reconnection attempts the Mule app can make.

### Reconnect Forever Configures a forever reconnection strategy by which the connector source or operation attempts to reconnect at a specified frequency for as long as the Mule app runs.
FieldTypeDescriptionDefault ValueRequired

Frequency

Number

How often to attempt to reconnect, in milliseconds.

Blocking

Boolean

If false, the reconnection strategy runs in a separate, non-blocking thread.

### Expiration Policy Configures an expiration policy strategy.
FieldTypeDescriptionDefault ValueRequired

Max Idle Time

Number

Configures the maximum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration.

Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Max Idle Time field.

### Image Response Attributes Configures image response attributes.
FieldTypeDescriptionDefault ValueRequired

Model

String

Model.

Prompt Used

String

Prompt used.

### Repeatable In Memory Stream Configures the in-memory streaming strategy by which the request fails if the data exceeds the MAX buffer size. Always run performance tests to find the optimal buffer size for your specific use case.
FieldTypeDescriptionDefault ValueRequired

Initial Buffer Size

Number

Initial amount of memory to allocate to the data stream. If the streamed data exceeds this value, the buffer expands by Buffer Size Increment, with an upper limit of Max Buffer Size.

Buffer Size Increment

Number

This is by how much the buffer size expands if it exceeds its initial size. Setting a value of zero or lower means that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised when the buffer gets full.

Max Buffer Size

Number

Maximum size of the buffer. If the buffer size exceeds this value, Mule raises a STREAM_MAXIMUM_SIZE_EXCEEDED error. A value of less than or equal to 0 means no limit.

Buffer Unit

Enumeration, one of:

  • BYTE

  • KB

  • MB

  • GB

Unit for the Initial Buffer Size, Buffer Size Increment, and Max Buffer Size fields.

### Repeatable File Store Stream Configures the repeatable file-store streaming strategy by which Mule keeps a portion of the stream content in memory. If the stream content is larger than the configured buffer size, Mule backs up the buffer’s content to disk and then clears the memory.
FieldTypeDescriptionDefault ValueRequired

In Memory Size

Number

Maximum amount of memory that the stream can use for data. If the amount of memory exceeds this value, Mule buffers the content to disk. To optimize performance:

  • Configure a larger buffer size to avoid the number of times Mule needs to write the buffer on disk. This increases performance, but it also limits the number of concurrent requests your application can process, because it requires additional memory.

  • Configure a smaller buffer size to decrease memory load at the expense of response time.

Buffer Unit

Enumeration, one of:

  • BYTE

  • KB

  • MB

  • GB

Unit for the In Memory Size field.

### Error Mapping Configures error mapping.
FieldTypeDescriptionDefault ValueRequired

Source

Enumeration, one of:

  • ANY

  • REDELIVERY_EXHAUSTED

  • TRANSFORMATION

  • EXPRESSION

  • SECURITY

  • CLIENT_SECURITY

  • SERVER_SECURITY

  • ROUTING

  • CONNECTIVITY

  • RETRY_EXHAUSTED

  • TIMEOUT

Source of the error.

Target

String

Target of the error.

x

### LLM Response Attributes Configures LLM response attributes.
FieldTypeDescriptionDefault ValueRequired

Additional Attributes

Additional attributes.

Token Usage

Token usage.

### Additional Attributes Configures additional attributes.
FieldTypeDescriptionDefault ValueRequired

Content Filter Results

Object

Flags if the generated response contains potentially harmful content.

Finish Reason

String

Finish reason for the LLM response.

Id

String

ID of the request.

Model

String

ID of the model used.

Prompt Filter Results

Flags if the user’s input contains potentially harmful content.

### Prompt Filter Result
FieldTypeDescriptionDefault ValueRequired

Content Filter Results

Object

Flags if the generated response contains potentially harmful content.

Prompt Index

Number

Sequence of prompts sent to the LLM.

### Token Usage Configures token usage metadata returned as attributes.
FieldTypeDescriptionDefault ValueRequired

Input Count

Number

Number of tokens used to process the input.

Output Count

Number

Number of tokens used to generate the output.

Total Count

Number

Total number of tokens used for input and output.

### Mcp Config
FieldTypeDescriptionDefault ValueRequired

Mcp Client Config Ref

String

Reference to the MCP client configuration defined as part of configuration from MCP Connector. This value must match the name of a mcp:client-config declared in the global configuration. It is used to discover and execute tools against the targeted MCP server.

x

### Proxy Configures a basic HTTP Proxy based on host and port, and optionally a username and password for proxy authentication.
FieldTypeDescriptionDefault ValueRequired

Host

String

Host in which the proxy requests are sent.

x

Port

Number

Port in which the proxy requests are sent.

x

Username

String

Username to authenticate against the proxy.

Password

String

Password to authenticate against the proxy.

Non Proxy Hosts

String

List of comma separated hosts against which the proxy should not be used.

### NTLM Proxy Configures an NTLM proxy for outbound connections.
FieldTypeDescriptionDefault ValueRequired

Ntlm Domain

String

Domain to authenticate against the proxy.

x

Host

String

Host in which the proxy requests are sent.

x

Port

Number

Port in which the proxy requests are sent.

x

Username

String

Username to authenticate against the proxy.

Password

String

Password to authenticate against the proxy.

Non Proxy Hosts

String

List of comma separated hosts against which the proxy should not be used.

## See Also - [MuleSoft Inference Connector Overview](https://docs.mulesoft.com/mulesoft-inference-connector/latest/) - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.2 is-latest-version: true --- # MuleSoft Inference Connector 1.2.0 XML and Maven Support > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Although you can manually code a Mule app in XML, it is more efficient to use Anypoint Code Builder or Studio: - If you manually code a Mule runtime engine (Mule) app in XML, either from the Anypoint Code Builder or Studio XML editor, or from a text editor, you can access the connector from your app by adding reference statements to both your XML Mule flow and the Apache Maven `pom.xml` file. - If you add the connector in Anypoint Code Builder or Studio, the XML is automatically populated the code with the connector’s namespace and schema location and it also adds a dependency to the `pom.xml` file. ## Add a Namespace for the Connector Paste the following code inside the `mule` tag of the header of your configuration XML: ```xml http://www.mulesoft.org/schema/mule/mulesoft-inference http://www.mulesoft.org/schema/mule/mulesoft-inference/current/mule-mulesoft-inference.xsd ``` This example shows how the namespace statements are placed in the `` XML block: ```xml ``` ## Add a POM File Dependency The Apache Maven `pom.xml` file generated by Anypoint Studio contains dependencies for a Mule app. If you code a Mule app manually, include this XML snippet in your `pom.xml` file to enable access to this connector: ```xml com.mulesoft.connectors mule4-inference-connector x.x.x mule-plugin ``` Replace `x.x.x` with the version that corresponds to the connector you are using. To obtain the most up-to-date `pom.xml` file information: 1. Go to [Anypoint Exchange](https://www.mulesoft.com/exchange/). 2. In Exchange, click **Login** and supply your Anypoint Platform username and password. 3. In Exchange, search for `inference`. 4. Select the connector. 5. Click **Dependency Snippets** near the upper right of the screen. ## Next Step After completing your namespace and pom.xml file, you can try the [Examples](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-connector-examples). ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.0 --- # MuleSoft Inference Connector Examples > For the full documentation index, see: https://docs.mulesoft.com/llms.txt These examples show you how to use MuleSoft Inference Connector with the OpenAI inference type. To use other inference types, you must change these configurations. ## Example: Text Generation This Mule app showcases the use of three distinct text generation operations to interact with OpenAI. Each operation is demonstrated in its own dedicated flow. - **\[Agent\] Define Prompt Template** This operation is used to create structured prompts for AI agents. In this example, it’s configured to enable an agent to analyze customer feedback and determine appropriate actions based on sentiment, leveraging the configured OpenAI LLM. - **\[Chat\] Answer Prompt** This operation provides simple, direct question-answering capabilities. The example demonstrates its use by asking the LLM a straightforward factual question: `What is the capital of Germany?`. - **\[Chat\] Completions** This operation facilitates multi-turn, context-aware conversations. The example illustrates this by providing the LLM with an initial conversational context and then asking it to continue the dialogue by asking `What is the capital of Switzerland?`. ```xml ``` ## Example: Image Generation This Mule app showcases the use of the **\[Image\] Generate** operation to interact with OpenAI. This operation is used to generate images based on a prompt. In this example, it’s configured to generate an image of a penguin dancing on the beach being happy with ice cream. ```xml ``` ## Example: Toxicity Detection This Mule app showcases the use of the **\[Toxicity\] Detection by Text** operation to interact with OpenAI. This operation is used to detect harmful content in a text. In this example, it’s configured to detect harmful content in the text `You are fat`. ```xml ``` ## Example: Tools This Mule app showcases the use of the **\[Tools\] Native Template (Reasoning only)** operation to interact with OpenAI. This operation is used to create autonomous agents that can use external tools whenever a prompt can’t be answered directly by the AI model. This operation provides a request only to execute the tools provided in the payload. It doesn’t execute them. In this example, it’s configured to use the tools to get the current temperature in Zurich in Celsius. ```xml ``` ## See Also - [MuleSoft Inference - Additional Configuration Information](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-additional-config) - [Using Anypoint Studio to Configure MuleSoft Inference Connector](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-connector-studio) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-connector-reference) --- product: MuleSoft Inference Connector version: 1.1 --- # MuleSoft Inference Connector Examples > For the full documentation index, see: https://docs.mulesoft.com/llms.txt These examples show you how to use MuleSoft Inference Connector with the OpenAI inference type. To use other inference types, you must change these configurations. ## Example: Text Generation This Mule app showcases the use of three distinct text generation operations to interact with OpenAI. Each operation is demonstrated in its own dedicated flow. - **\[Agent\] Define Prompt Template** This operation is used to create structured prompts for AI agents. In this example, it’s configured to enable an agent to analyze customer feedback and determine appropriate actions based on sentiment, leveraging the configured OpenAI LLM. - **\[Chat\] Answer Prompt** This operation provides simple, direct question-answering capabilities. The example demonstrates its use by asking the LLM a straightforward factual question: `What is the capital of Germany?`. - **\[Chat\] Completions** This operation facilitates multi-turn, context-aware conversations. The example illustrates this by providing the LLM with an initial conversational context and then asking it to continue the dialogue by asking `What is the capital of Switzerland?`. ```xml ``` ## Example: Image Generation This Mule app showcases the use of the **\[Image\] Generate** operation to interact with OpenAI. This operation is used to generate images based on a prompt. In this example, it’s configured to generate an image of a penguin dancing on the beach being happy with ice cream. ```xml ``` ## Example: Toxicity Detection This Mule app showcases the use of the **\[Toxicity\] Detection by Text** operation to interact with OpenAI. This operation is used to detect harmful content in a text. In this example, it’s configured to detect harmful content in the text `You are fat`. ```xml ``` ## Example: Tools This Mule app showcases the use of the **\[Tools\] Native Template (Reasoning only)** operation to interact with OpenAI. This operation is used to create autonomous agents that can use external tools whenever a prompt can’t be answered directly by the AI model. This operation provides a request only to execute the tools provided in the payload. It doesn’t execute them. In this example, it’s configured to use the tools to get the current temperature in Zurich in Celsius. ```xml ``` ## See Also - [MuleSoft Inference - Additional Configuration Information](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-additional-config) - [Using Anypoint Studio to Configure MuleSoft Inference Connector](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-connector-studio) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-connector-reference) --- product: MuleSoft Inference Connector version: 1.2 is-latest-version: true --- # MuleSoft Inference Connector Examples > For the full documentation index, see: https://docs.mulesoft.com/llms.txt These examples show you how to use MuleSoft Inference Connector with the OpenAI inference type. To use other inference types, you must change these configurations. ## Example: Text Generation This Mule app showcases the use of three distinct text generation operations to interact with OpenAI. Each operation is demonstrated in its own dedicated flow. - **\[Agent\] Define Prompt Template** This operation is used to create structured prompts for AI agents. In this example, it’s configured to enable an agent to analyze customer feedback and determine appropriate actions based on sentiment, leveraging the configured OpenAI LLM. - **\[Chat\] Answer Prompt** This operation provides simple, direct question-answering capabilities. The example demonstrates its use by asking the LLM a straightforward factual question: `What is the capital of Germany?`. - **\[Chat\] Completions** This operation facilitates multi-turn, context-aware conversations. The example illustrates this by providing the LLM with an initial conversational context and then asking it to continue the dialogue by asking `What is the capital of Switzerland?`. ```xml ``` ## Example: Image Generation This Mule app showcases the use of the **\[Image\] Generate** operation to interact with OpenAI. This operation is used to generate images based on a prompt. In this example, it’s configured to generate an image of a penguin dancing on the beach being happy with ice cream. ```xml ``` ## Example: Toxicity Detection This Mule app showcases the use of the **\[Toxicity\] Detection by Text** operation to interact with OpenAI. This operation is used to detect harmful content in a text. In this example, it’s configured to detect harmful content in the text `You are fat`. ```xml ``` ## Example: Tools This Mule app showcases the use of the **\[Tools\] Native Template (Reasoning only)** operation to interact with OpenAI. This operation is used to create autonomous agents that can use external tools whenever a prompt can’t be answered directly by the AI model. This operation provides a request only to execute the tools provided in the payload. It doesn’t execute them. In this example, it’s configured to use the tools to get the current temperature in Zurich in Celsius. ```xml ``` ## Example: MCP Tools This Mule application showcases the use of the **\[MCP\] Tooling** operation to interact with OpenAI via MCP Connector. This operation enables you to execute tools hosted on an MCP server directly through user-defined instructions. In this example, the operation uses the tools to check the inventory status for a specific part number, `MULETEST0`. ```xml ``` ## Example: Additional Request Attributes This feature showcases the ability to control the formatting of LLM outputs directly from the connector using the **Additional Request Attributes** parameter. With this parameter, you can now specify a JSON object with attributes that are flattened into the root level of the request payload. In this example, you can directly pass a `response_format` with type `json_schema` followed by the corresponding JSON schema. This is included in the request sent to the Inference API, enabling consistent and structured output in the provided JSON schema. ```xml ``` ## See Also - [MuleSoft Inference - Additional Configuration Information](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-additional-config) - [Using Anypoint Studio to Configure MuleSoft Inference Connector](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-connector-studio) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-connector-reference) --- product: MuleSoft Inference Connector version: 1.0 --- # Using Anypoint Code Builder to Configure MuleSoft Inference Connector 1.0 > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Cloud IDE (Beta) is scheduled for retirement on August 31, 2026. August 30, 2026 is the last day you can access Cloud IDE (Beta). Download your projects to work from Desktop IDE. Learn more in [Migrate a Project from Cloud IDE to Desktop IDE](https://docs.mulesoft.com/anypoint-code-builder/int-import-mule-project#migrate-cloud-to-desktop). To use Anypoint Code Builder to configure a connector or module, create a basic integration project in Anypoint Code Builder, add connectors and other components to your Mule application to process your business logic, and configure the attributes. ## Before You Begin Before creating an integration project, you must: - [Set up and access the Anypoint Code Builder web or desktop IDE](https://docs.mulesoft.com/anypoint-code-builder/start-acb) - Have credentials to access the connector’s API - Ensure that the Visual Studio Code Extension Pack for Java is installed. To use this connector, you must be familiar with: - The connector’s API - Anypoint Connectors - Mule runtime engine (Mule) ## Create a New Integration Project To create a new integration project: 1. In the activity bar of the IDE, click the ![Anypoint Code Builder icon](/mulesoft/current/en-us/connectors/_images/acb-icon-ms-logo.png) (**Anypoint Code Builder**) icon. 2. From **Quick Actions**, click **Develop an Integration**: ![Develop an Integration link highlighted in the Getting started section](/mulesoft/current/en-us/anypoint-code-builder/_images/develop-integration-option-mat.png) 3. Complete the following in the **Develop an Integration** form:
AttributeValue

Project Name

Unique name for your project.

This name is used as the title and name of the integration project file. For example, if the project name is "Salesforce Integration," the project file name is salesforce-integration.

Project Location

Your home directory or another directory you create. Click Browse to select a different directory for the integration project.

Don’t create the project within another project directory.

4. Select the type of project to create by selecting either the **Empty Project** or **Template or Example** card. 5. Select the **Mule runtime** and **Java Version** for your app. 6. Click **Create Project**. ## Add Components to Your Project Add components to your integration project to build a flow: 1. In the **Explorer** view, open the XML file for your project, such as `my-project-name.xml`. 2. Select **Build a Flow** from the start card to create an empty flow: ![Anypoint Code Builder canvas with starting cards with the options to start from scratch, build a flow, or build a subflow](/mulesoft/current/en-us/connectors/_images/acb-build-flow.png) 3. Change the name of the flow: 1. Click **Flow**. 2. Click the edit icon. ![Arrow pointing to the flow name edit pencil icon](/mulesoft/current/en-us/connectors/_images/acb-change-flow-name.png) 3. Enter the flow name, and click the checkmark. 4. In the canvas UI, click the ![Add component icon](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-plus.png) (**Add component**) icon. 5. In the **Add Component** panel, search for and select your component from the results. The following example shows the **Listener** component from the **HTTP** search results: ![Listener component highlighted in the Add Component section](/mulesoft/current/en-us/anypoint-code-builder/_images/main-tutorial-add-first-listener.png) The configuration XML file now includes the XML for the HTTP Listener into the `` element, for example: ```XML ``` ## Configure the Trigger For the Flow A trigger (source) starts the flow when specified conditions are met. If a connector has its own associated sources, you can use a connector-specific trigger to initiate the flow. Each connector trigger has a unique configuration. You can configure the following sources for this connector: - **HTTP > Listener** Initiates a flow each time it receives a request on the configured host and port - **Scheduler** Initiates a flow when a time-based condition is met For example, to configure an HTTP Listener trigger, follow these steps: 1. Click the **Listener** component on the canvas UI. 2. (Optional) Click the edit icon to change the name of the **Listener** component. 3. (Optional) If you created a configuration file for the connector, select it. 4. In the **General** tab, in the **Path** field, enter the relative path for the path set in the HTTP configuration element. See [Configure Paths](https://docs.mulesoft.com/http-connector/latest/http-listener-ref#configure-paths). 5. Select the **Advanced** tab to configure the following attributes:
AttributeDescriptionRequired

Allowed methods

To allow all HTTP methods (default), do not define this attribute. To restrict certain methods, specify all allowed HTTP methods, for example, GET, POST, as a comma-separated list.

No

Response streaming mode

Whether to use streaming when the response is sent.

No

Output MIME type

MIME type of the payload that this component outputs.

No

Parameters

Appends a key-value pair for a reader property to the value of the Output MIME attribute. Multiple key-value pairs are allowed.

No

Output encoding

Encoding of the payload that this component outputs.

No

Streaming Strategy

Configures the way data streams are consumed in Mule apps.

No

Primary node only

Select this option to execute the Listener trigger on the primary node only when running in a cluster.

No

Redelivery policy

Configures the redelivery policy for executing requests that generate errors. You can add a redelivery policy to any source in a flow.

No

Reconnection strategy

When an operation in a Mule application fails to connect to an external server, the default behavior is for the operation to fail immediately and return a connectivity error. You can modify the default behavior by configuring the reconnection strategy for the operation.

No

Response

See HTTP Response Attributes.

No

Error Response

HTTP error response returns a status code for the error.

No

Body

Body of the error message.

No

Headers

Headers to include in the error message.

No

Status code

Status code of the error response, for example, 500.

No

Reason phrase

Reason for the error, for example, Gateway Timeout or Internal Server Error.

No

## Add the Connector to Your Integration Project 1. In the Explorer view, open the configuration XML file for your project, such as `my-project-name.xml`. 2. Click the ![Show Mule graphical mode icon](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-tree-view.png) (**Show Mule graphical mode**) icon in the activity bar to open the canvas UI if it doesn’t open automatically. 3. Add the connector the same way you added other components from the canvas UI: 1. In the canvas UI, click the ![Add component icon](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-plus.png) (**Add component**) icon. 2. In the **Add Component** panel, click **Connectors**. 4. Click the ![Search in Exchange icon](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-search-exchange.png) (**Search in Exchange**) toggle: ![Search in Exchange toggle](/mulesoft/current/en-us/anypoint-code-builder/_images/int-connector-search-exchange.png) 5. Enter `mulesoft inference` in the search box. 6. Select the connector to add it to your project. Adding a connector to an integration project does not make that connector available to other projects in your Anypoint Code Builder workspace. ## Add a Global Configuration 1. In the configuration XML, place your cursor before the `` element and type `ms-inference`. Ensure that the cursor is not inside the `` element. 2. Select the snippet. Here are some examples (using OpenAI) based on the available configurations: ```xml ``` ```xml ``` ```xml ``` ```xml ``` 3. Add the attributes to complete the configuration. ## Configure Provider-Specific Settings Based on your chosen inference provider, you may need to configure additional settings. For example: ```xml ``` ## Configure Additional Connector Fields After you configure a global element for the connector, configure the other required fields. The required fields vary depending on which connector actions you use. For more information about configuring MuleSoft Inference Connector actions, see [MuleSoft Inference Connector - Additional Configuration Information](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-additional-config). ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-connector-reference) - [MuleSoft Inference - Additional Configuration Information](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-additional-config) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.1 --- # Using Anypoint Code Builder to Configure MuleSoft Inference Connector 1.1 > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Cloud IDE (Beta) is scheduled for retirement on August 31, 2026. August 30, 2026 is the last day you can access Cloud IDE (Beta). Download your projects to work from Desktop IDE. Learn more in [Migrate a Project from Cloud IDE to Desktop IDE](https://docs.mulesoft.com/anypoint-code-builder/int-import-mule-project#migrate-cloud-to-desktop). To use Anypoint Code Builder to configure a connector or module, create a basic integration project in Anypoint Code Builder, add connectors and other components to your Mule application to process your business logic, and configure the attributes. ## Before You Begin Before creating an integration project, you must: - [Set up and access the Anypoint Code Builder web or desktop IDE](https://docs.mulesoft.com/anypoint-code-builder/start-acb) - Have credentials to access the connector’s API - Ensure that the Visual Studio Code Extension Pack for Java is installed. To use this connector, you must be familiar with: - The connector’s API - Anypoint Connectors - Mule runtime engine (Mule) ## Create a New Integration Project To create a new integration project: 1. In the activity bar of the IDE, click the ![Anypoint Code Builder icon](/mulesoft/current/en-us/connectors/_images/acb-icon-ms-logo.png) (**Anypoint Code Builder**) icon. 2. From **Quick Actions**, click **Develop an Integration**: ![Develop an Integration link highlighted in the Getting started section](/mulesoft/current/en-us/anypoint-code-builder/_images/develop-integration-option-mat.png) 3. Complete the following in the **Develop an Integration** form:
AttributeValue

Project Name

Unique name for your project.

This name is used as the title and name of the integration project file. For example, if the project name is "Salesforce Integration," the project file name is salesforce-integration.

Project Location

Your home directory or another directory you create. Click Browse to select a different directory for the integration project.

Don’t create the project within another project directory.

4. Select the type of project to create by selecting either the **Empty Project** or **Template or Example** card. 5. Select the **Mule runtime** and **Java Version** for your app. 6. Click **Create Project**. ## Add Components to Your Project Add components to your integration project to build a flow: 1. In the **Explorer** view, open the XML file for your project, such as `my-project-name.xml`. 2. Select **Build a Flow** from the start card to create an empty flow: ![Anypoint Code Builder canvas with starting cards with the options to start from scratch, build a flow, or build a subflow](/mulesoft/current/en-us/connectors/_images/acb-build-flow.png) 3. Change the name of the flow: 1. Click **Flow**. 2. Click the edit icon. ![Arrow pointing to the flow name edit pencil icon](/mulesoft/current/en-us/connectors/_images/acb-change-flow-name.png) 3. Enter the flow name, and click the checkmark. 4. In the canvas UI, click the ![Add component icon](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-plus.png) (**Add component**) icon. 5. In the **Add Component** panel, search for and select your component from the results. The following example shows the **Listener** component from the **HTTP** search results: ![Listener component highlighted in the Add Component section](/mulesoft/current/en-us/anypoint-code-builder/_images/main-tutorial-add-first-listener.png) The configuration XML file now includes the XML for the HTTP Listener into the `` element, for example: ```XML ``` ## Configure the Trigger For the Flow A trigger (source) starts the flow when specified conditions are met. If a connector has its own associated sources, you can use a connector-specific trigger to initiate the flow. Each connector trigger has a unique configuration. You can configure the following sources for this connector: - **HTTP > Listener** Initiates a flow each time it receives a request on the configured host and port - **Scheduler** Initiates a flow when a time-based condition is met For example, to configure an HTTP Listener trigger, follow these steps: 1. Click the **Listener** component on the canvas UI. 2. (Optional) Click the edit icon to change the name of the **Listener** component. 3. (Optional) If you created a configuration file for the connector, select it. 4. In the **General** tab, in the **Path** field, enter the relative path for the path set in the HTTP configuration element. See [Configure Paths](https://docs.mulesoft.com/http-connector/latest/http-listener-ref#configure-paths). 5. Select the **Advanced** tab to configure the following attributes:
AttributeDescriptionRequired

Allowed methods

To allow all HTTP methods (default), do not define this attribute. To restrict certain methods, specify all allowed HTTP methods, for example, GET, POST, as a comma-separated list.

No

Response streaming mode

Whether to use streaming when the response is sent.

No

Output MIME type

MIME type of the payload that this component outputs.

No

Parameters

Appends a key-value pair for a reader property to the value of the Output MIME attribute. Multiple key-value pairs are allowed.

No

Output encoding

Encoding of the payload that this component outputs.

No

Streaming Strategy

Configures the way data streams are consumed in Mule apps.

No

Primary node only

Select this option to execute the Listener trigger on the primary node only when running in a cluster.

No

Redelivery policy

Configures the redelivery policy for executing requests that generate errors. You can add a redelivery policy to any source in a flow.

No

Reconnection strategy

When an operation in a Mule application fails to connect to an external server, the default behavior is for the operation to fail immediately and return a connectivity error. You can modify the default behavior by configuring the reconnection strategy for the operation.

No

Response

See HTTP Response Attributes.

No

Error Response

HTTP error response returns a status code for the error.

No

Body

Body of the error message.

No

Headers

Headers to include in the error message.

No

Status code

Status code of the error response, for example, 500.

No

Reason phrase

Reason for the error, for example, Gateway Timeout or Internal Server Error.

No

## Add the Connector to Your Integration Project 1. In the Explorer view, open the configuration XML file for your project, such as `my-project-name.xml`. 2. Click the ![Show Mule graphical mode icon](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-tree-view.png) (**Show Mule graphical mode**) icon in the activity bar to open the canvas UI if it doesn’t open automatically. 3. Add the connector the same way you added other components from the canvas UI: 1. In the canvas UI, click the ![Add component icon](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-plus.png) (**Add component**) icon. 2. In the **Add Component** panel, click **Connectors**. 4. Click the ![Search in Exchange icon](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-search-exchange.png) (**Search in Exchange**) toggle: ![Search in Exchange toggle](/mulesoft/current/en-us/anypoint-code-builder/_images/int-connector-search-exchange.png) 5. Enter `mulesoft inference` in the search box. 6. Select the connector to add it to your project. Adding a connector to an integration project does not make that connector available to other projects in your Anypoint Code Builder workspace. ## Add a Global Configuration 1. In the configuration XML, place your cursor before the `` element and type `ms-inference`. Ensure that the cursor is not inside the `` element. 2. Select the snippet. Here are some examples (using OpenAI) based on the available configurations: ```xml ``` ```xml ``` ```xml ``` ```xml ``` 3. Add the attributes to complete the configuration. ## Configure Provider-Specific Settings Based on your chosen inference provider, you may need to configure additional settings. For example: ```xml ``` ## Configure Additional Connector Fields After you configure a global element for the connector, configure the other required fields. The required fields vary depending on which connector actions you use. For more information about configuring MuleSoft Inference Connector actions, see [MuleSoft Inference Connector - Additional Configuration Information](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-additional-config). ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-connector-reference) - [MuleSoft Inference - Additional Configuration Information](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-additional-config) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.2 is-latest-version: true --- # Using Anypoint Code Builder to Configure MuleSoft Inference Connector 1.2 > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Cloud IDE (Beta) is scheduled for retirement on August 31, 2026. August 30, 2026 is the last day you can access Cloud IDE (Beta). Download your projects to work from Desktop IDE. Learn more in [Migrate a Project from Cloud IDE to Desktop IDE](https://docs.mulesoft.com/anypoint-code-builder/int-import-mule-project#migrate-cloud-to-desktop). To use Anypoint Code Builder to configure a connector or module, create a basic integration project in Anypoint Code Builder, add connectors and other components to your Mule application to process your business logic, and configure the attributes. ## Before You Begin Before creating an integration project, you must: - [Set up and access the Anypoint Code Builder web or desktop IDE](https://docs.mulesoft.com/anypoint-code-builder/start-acb) - Have credentials to access the connector’s API - Ensure that the Visual Studio Code Extension Pack for Java is installed. To use this connector, you must be familiar with: - The connector’s API - Anypoint Connectors - Mule runtime engine (Mule) ## Create a New Integration Project To create a new integration project: 1. In the activity bar of the IDE, click the ![Anypoint Code Builder icon](/mulesoft/current/en-us/connectors/_images/acb-icon-ms-logo.png) (**Anypoint Code Builder**) icon. 2. From **Quick Actions**, click **Develop an Integration**: ![Develop an Integration link highlighted in the Getting started section](/mulesoft/current/en-us/anypoint-code-builder/_images/develop-integration-option-mat.png) 3. Complete the following in the **Develop an Integration** form:
AttributeValue

Project Name

Unique name for your project.

This name is used as the title and name of the integration project file. For example, if the project name is "Salesforce Integration," the project file name is salesforce-integration.

Project Location

Your home directory or another directory you create. Click Browse to select a different directory for the integration project.

Don’t create the project within another project directory.

4. Select the type of project to create by selecting either the **Empty Project** or **Template or Example** card. 5. Select the **Mule runtime** and **Java Version** for your app. 6. Click **Create Project**. ## Add Components to Your Project Add components to your integration project to build a flow: 1. In the **Explorer** view, open the XML file for your project, such as `my-project-name.xml`. 2. Select **Build a Flow** from the start card to create an empty flow: ![Anypoint Code Builder canvas with starting cards with the options to start from scratch, build a flow, or build a subflow](/mulesoft/current/en-us/connectors/_images/acb-build-flow.png) 3. Change the name of the flow: 1. Click **Flow**. 2. Click the edit icon. ![Arrow pointing to the flow name edit pencil icon](/mulesoft/current/en-us/connectors/_images/acb-change-flow-name.png) 3. Enter the flow name, and click the checkmark. 4. In the canvas UI, click the ![Add component icon](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-plus.png) (**Add component**) icon. 5. In the **Add Component** panel, search for and select your component from the results. The following example shows the **Listener** component from the **HTTP** search results: ![Listener component highlighted in the Add Component section](/mulesoft/current/en-us/anypoint-code-builder/_images/main-tutorial-add-first-listener.png) The configuration XML file now includes the XML for the HTTP Listener into the `` element, for example: ```XML ``` ## Configure the Trigger For the Flow A trigger (source) starts the flow when specified conditions are met. If a connector has its own associated sources, you can use a connector-specific trigger to initiate the flow. Each connector trigger has a unique configuration. You can configure the following sources for this connector: - **HTTP > Listener** Initiates a flow each time it receives a request on the configured host and port - **Scheduler** Initiates a flow when a time-based condition is met For example, to configure an HTTP Listener trigger, follow these steps: 1. Click the **Listener** component on the canvas UI. 2. (Optional) Click the edit icon to change the name of the **Listener** component. 3. (Optional) If you created a configuration file for the connector, select it. 4. In the **General** tab, in the **Path** field, enter the relative path for the path set in the HTTP configuration element. See [Configure Paths](https://docs.mulesoft.com/http-connector/latest/http-listener-ref#configure-paths). 5. Select the **Advanced** tab to configure the following attributes:
AttributeDescriptionRequired

Allowed methods

To allow all HTTP methods (default), do not define this attribute. To restrict certain methods, specify all allowed HTTP methods, for example, GET, POST, as a comma-separated list.

No

Response streaming mode

Whether to use streaming when the response is sent.

No

Output MIME type

MIME type of the payload that this component outputs.

No

Parameters

Appends a key-value pair for a reader property to the value of the Output MIME attribute. Multiple key-value pairs are allowed.

No

Output encoding

Encoding of the payload that this component outputs.

No

Streaming Strategy

Configures the way data streams are consumed in Mule apps.

No

Primary node only

Select this option to execute the Listener trigger on the primary node only when running in a cluster.

No

Redelivery policy

Configures the redelivery policy for executing requests that generate errors. You can add a redelivery policy to any source in a flow.

No

Reconnection strategy

When an operation in a Mule application fails to connect to an external server, the default behavior is for the operation to fail immediately and return a connectivity error. You can modify the default behavior by configuring the reconnection strategy for the operation.

No

Response

See HTTP Response Attributes.

No

Error Response

HTTP error response returns a status code for the error.

No

Body

Body of the error message.

No

Headers

Headers to include in the error message.

No

Status code

Status code of the error response, for example, 500.

No

Reason phrase

Reason for the error, for example, Gateway Timeout or Internal Server Error.

No

## Add the Connector to Your Integration Project 1. In the Explorer view, open the configuration XML file for your project, such as `my-project-name.xml`. 2. Click the ![Show Mule graphical mode icon](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-tree-view.png) (**Show Mule graphical mode**) icon in the activity bar to open the canvas UI if it doesn’t open automatically. 3. Add the connector the same way you added other components from the canvas UI: 1. In the canvas UI, click the ![Add component icon](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-plus.png) (**Add component**) icon. 2. In the **Add Component** panel, click **Connectors**. 4. Click the ![Search in Exchange icon](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-search-exchange.png) (**Search in Exchange**) toggle: ![Search in Exchange toggle](/mulesoft/current/en-us/anypoint-code-builder/_images/int-connector-search-exchange.png) 5. Enter `mulesoft inference` in the search box. 6. Select the connector to add it to your project. Adding a connector to an integration project does not make that connector available to other projects in your Anypoint Code Builder workspace. ## Add a Global Configuration 1. In the configuration XML, place your cursor before the `` element and type `ms-inference`. Ensure that the cursor is not inside the `` element. 2. Select the snippet. Here are some examples (using OpenAI) based on the available configurations: ```xml ``` ```xml ``` ```xml ``` ```xml ``` 3. Add the attributes to complete the configuration. ## Configure Provider-Specific Settings Based on your chosen inference provider, you may need to configure additional settings. For example: ```xml ``` ## Configure Additional Connector Fields After you configure a global element for the connector, configure the other required fields. The required fields vary depending on which connector actions you use. For more information about configuring MuleSoft Inference Connector actions, see [MuleSoft Inference Connector - Additional Configuration Information](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-additional-config). ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-connector-reference) - [MuleSoft Inference - Additional Configuration Information](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-additional-config) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.0 --- # Using Anypoint Studio to Configure MuleSoft Inference Connector 1.0 > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Anypoint Studio (Studio) editors help you design and update your Mule applications, properties, and configuration files. To add and configure a connector in Studio: 1. [Create a Mule project](#create-mule-project). 2. [Add the connector to your Mule project](#add-connector-to-project). 3. [Configure a source for the connector’s flow](#configure-source). 4. [Add a connector operation to the flow](#add-connector-operation). 5. [Configure a global element for the connector](#configure-global-element). 6. [Configure the other connector fields](#configure-other-fields). When you run the connector, you can view the app log to check for problems in real time, as described in [View the App Log](#view-app-log). If you are new to configuring connectors in Studio, see [Using Anypoint Studio to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-studio). If, after reading this topic, you need additional information about the connector fields, see the [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-connector-reference). ## Create a Mule Project In Studio, create a new Mule project in which to add and configure Anypoint Connector for MuleSoft Inference (MuleSoft Inference Connector): 1. In Studio, select **File > New > Mule Project**. 2. Enter a name for your Mule project and click **Finish**. ## Add the Connector to Your Mule Project Add MuleSoft Inference Connector to your Mule project to automatically populate the XML code with the connector’s namespace and schema location and add the required dependencies to the project’s `pom.xml` file: 1. In **Mule Palette**, click **(X) Search in Exchange**. 2. In **Add Dependencies to Project**, type `mulesoft inference` in the search field. 3. Click **MuleSoft Inference Connector** in **Available modules**. 4. Click **Add**. 5. Click **Finish**. Adding a connector to a Mule project in Studio does not make that connector available to other projects in your Studio workspace. ## Configure a Source A source initiates a flow when a specified condition is met. You can configure one of these sources to use with MuleSoft Inference Connector: - **HTTP > Listener** Initiates a flow each time it receives a request on the configured host and port - **Scheduler** Initiates a flow when a time-based condition is met For example, to configure an **HTTP > Listener** source, follow these steps: 1. In **Mule Palette**, select **HTTP > Listener**. 2. Drag **Listener** to the Studio canvas. 3. On the **Listener** configuration screen, optionally change the value of the **Display Name** field. 4. Specify a value for the **Path** field. 5. Click the plus sign (**+**) next to the **Connector configuration** field to configure a global element that can be used by all instances of the **HTTP > Listener** source in the app. 6. On the **General** tab, specify the connection information for the connector. 7. On the **TLS** tab, optionally specify the TLS information for the connector. 8. On the **Advanced** tab, optionally specify reconnection information, including a reconnection strategy. 9. Click **Test Connection** to confirm that Mule can connect with the specified server. 10. Click **OK**. ## Add a Connector Operation to the Flow When you add a connector operation to your flow, you are specifying an action for that connector to perform. To add an operation for MuleSoft Inference Connector, follow these steps: 1. In **Mule Palette**, select **MuleSoft Inference Connector** and then select the operation to add. 2. Drag the operation onto the Studio canvas, next to the source. ## Configure a Global Element for the Connector When you configure a connector, configure a global element that all instances of that connector in the app can use. Configuring a global element requires you to provide the authentication credentials that the connector requires to access the target inference provider. You can reference a configuration file that contains ANT-style property placeholders (recommended), or you can enter your authorization credentials in the global configuration properties. For information about the benefits of using property placeholders and how to configure them, see [Anypoint Connector Configuration](https://docs.mulesoft.com/connectors/introduction/intro-connector-configuration-overview). To configure the global element for MuleSoft Inference Connector, follow these steps. 1. Select the operation in the Studio canvas. 2. On the properties screen for the operation, click the Add (**+**) icon to access the global element configuration fields. 3. Choose from these configs. - Image Generation Config - Moderation Config - Text Generation Config - Vision Config 4. Fill out the fields depending on the inference type. 5. Click **OK**. ## Configure Additional Connector Fields After you configure a global element for the connector, configure the other required fields. The required fields vary depending on which connector operation you use. For detailed configuration information for each operation type, see [MuleSoft Inference - Additional Configuration Information](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-additional-config). ## View the App Log To check for problems, you can view the app log as follows: - If you’re running the app from Anypoint Platform, the app log output is visible on the Anypoint Studio console window. - If you’re running the app using Mule from the command line, the app log output is visible in your operating system console. Unless the log file path is customized in the app’s log file (`log4j2.xml`), you can also view the app log in the default location `MULE_HOME/logs/.log`. You can configure the location of the log path in the app log file `log4j2.xml`. ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Using Studio to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-studio) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.0/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.1 --- # Using Anypoint Studio to Configure MuleSoft Inference Connector 1.1 > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Anypoint Studio (Studio) editors help you design and update your Mule applications, properties, and configuration files. To add and configure a connector in Studio: 1. [Create a Mule project](#create-mule-project). 2. [Add the connector to your Mule project](#add-connector-to-project). 3. [Configure a source for the connector’s flow](#configure-source). 4. [Add a connector operation to the flow](#add-connector-operation). 5. [Configure a global element for the connector](#configure-global-element). 6. [Configure the other connector fields](#configure-other-fields). When you run the connector, you can view the app log to check for problems in real time, as described in [View the App Log](#view-app-log). If you are new to configuring connectors in Studio, see [Using Anypoint Studio to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-studio). If, after reading this topic, you need additional information about the connector fields, see the [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-connector-reference). ## Create a Mule Project In Studio, create a new Mule project in which to add and configure Anypoint Connector for MuleSoft Inference (MuleSoft Inference Connector): 1. In Studio, select **File > New > Mule Project**. 2. Enter a name for your Mule project and click **Finish**. ## Add the Connector to Your Mule Project Add MuleSoft Inference Connector to your Mule project to automatically populate the XML code with the connector’s namespace and schema location and add the required dependencies to the project’s `pom.xml` file: 1. In **Mule Palette**, click **(X) Search in Exchange**. 2. In **Add Dependencies to Project**, type `mulesoft inference` in the search field. 3. Click **MuleSoft Inference Connector** in **Available modules**. 4. Click **Add**. 5. Click **Finish**. Adding a connector to a Mule project in Studio does not make that connector available to other projects in your Studio workspace. ## Configure a Source A source initiates a flow when a specified condition is met. You can configure one of these sources to use with MuleSoft Inference Connector: - **HTTP > Listener** Initiates a flow each time it receives a request on the configured host and port - **Scheduler** Initiates a flow when a time-based condition is met For example, to configure an **HTTP > Listener** source, follow these steps: 1. In **Mule Palette**, select **HTTP > Listener**. 2. Drag **Listener** to the Studio canvas. 3. On the **Listener** configuration screen, optionally change the value of the **Display Name** field. 4. Specify a value for the **Path** field. 5. Click the plus sign (**+**) next to the **Connector configuration** field to configure a global element that can be used by all instances of the **HTTP > Listener** source in the app. 6. On the **General** tab, specify the connection information for the connector. 7. On the **TLS** tab, optionally specify the TLS information for the connector. 8. On the **Advanced** tab, optionally specify reconnection information, including a reconnection strategy. 9. Click **Test Connection** to confirm that Mule can connect with the specified server. 10. Click **OK**. ## Add a Connector Operation to the Flow When you add a connector operation to your flow, you are specifying an action for that connector to perform. To add an operation for MuleSoft Inference Connector, follow these steps: 1. In **Mule Palette**, select **MuleSoft Inference Connector** and then select the operation to add. 2. Drag the operation onto the Studio canvas, next to the source. ## Configure a Global Element for the Connector When you configure a connector, configure a global element that all instances of that connector in the app can use. Configuring a global element requires you to provide the authentication credentials that the connector requires to access the target inference provider. You can reference a configuration file that contains ANT-style property placeholders (recommended), or you can enter your authorization credentials in the global configuration properties. For information about the benefits of using property placeholders and how to configure them, see [Anypoint Connector Configuration](https://docs.mulesoft.com/connectors/introduction/intro-connector-configuration-overview). To configure the global element for MuleSoft Inference Connector, follow these steps. 1. Select the operation in the Studio canvas. 2. On the properties screen for the operation, click the Add (**+**) icon to access the global element configuration fields. 3. Choose from these configs. - Image Generation Config - Moderation Config - Text Generation Config - Vision Config 4. Fill out the fields depending on the inference type. 5. Click **OK**. ## Configure Additional Connector Fields After you configure a global element for the connector, configure the other required fields. The required fields vary depending on which connector operation you use. For detailed configuration information for each operation type, see [MuleSoft Inference - Additional Configuration Information](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-additional-config). ## View the App Log To check for problems, you can view the app log as follows: - If you’re running the app from Anypoint Platform, the app log output is visible on the Anypoint Studio console window. - If you’re running the app using Mule from the command line, the app log output is visible in your operating system console. Unless the log file path is customized in the app’s log file (`log4j2.xml`), you can also view the app log in the default location `MULE_HOME/logs/.log`. You can configure the location of the log path in the app log file `log4j2.xml`. ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Using Studio to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-studio) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/1.1/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: MuleSoft Inference Connector version: 1.2 is-latest-version: true --- # Using Anypoint Studio to Configure MuleSoft Inference Connector 1.2 > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Anypoint Studio (Studio) editors help you design and update your Mule applications, properties, and configuration files. To add and configure a connector in Studio: 1. [Create a Mule project](#create-mule-project). 2. [Add the connector to your Mule project](#add-connector-to-project). 3. [Configure a source for the connector’s flow](#configure-source). 4. [Add a connector operation to the flow](#add-connector-operation). 5. [Configure a global element for the connector](#configure-global-element). 6. [Configure the other connector fields](#configure-other-fields). When you run the connector, you can view the app log to check for problems in real time, as described in [View the App Log](#view-app-log). If you are new to configuring connectors in Studio, see [Using Anypoint Studio to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-studio). If, after reading this topic, you need additional information about the connector fields, see the [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-connector-reference). ## Create a Mule Project In Studio, create a new Mule project in which to add and configure Anypoint Connector for MuleSoft Inference (MuleSoft Inference Connector): 1. In Studio, select **File > New > Mule Project**. 2. Enter a name for your Mule project and click **Finish**. ## Add the Connector to Your Mule Project Add MuleSoft Inference Connector to your Mule project to automatically populate the XML code with the connector’s namespace and schema location and add the required dependencies to the project’s `pom.xml` file: 1. In **Mule Palette**, click **(X) Search in Exchange**. 2. In **Add Dependencies to Project**, type `mulesoft inference` in the search field. 3. Click **MuleSoft Inference Connector** in **Available modules**. 4. Click **Add**. 5. Click **Finish**. Adding a connector to a Mule project in Studio does not make that connector available to other projects in your Studio workspace. ## Configure a Source A source initiates a flow when a specified condition is met. You can configure one of these sources to use with MuleSoft Inference Connector: - **HTTP > Listener** Initiates a flow each time it receives a request on the configured host and port - **Scheduler** Initiates a flow when a time-based condition is met For example, to configure an **HTTP > Listener** source, follow these steps: 1. In **Mule Palette**, select **HTTP > Listener**. 2. Drag **Listener** to the Studio canvas. 3. On the **Listener** configuration screen, optionally change the value of the **Display Name** field. 4. Specify a value for the **Path** field. 5. Click the plus sign (**+**) next to the **Connector configuration** field to configure a global element that can be used by all instances of the **HTTP > Listener** source in the app. 6. On the **General** tab, specify the connection information for the connector. 7. On the **TLS** tab, optionally specify the TLS information for the connector. 8. On the **Advanced** tab, optionally specify reconnection information, including a reconnection strategy. 9. Click **Test Connection** to confirm that Mule can connect with the specified server. 10. Click **OK**. ## Add a Connector Operation to the Flow When you add a connector operation to your flow, you are specifying an action for that connector to perform. To add an operation for MuleSoft Inference Connector, follow these steps: 1. In **Mule Palette**, select **MuleSoft Inference Connector** and then select the operation to add. 2. Drag the operation onto the Studio canvas, next to the source. ## Configure a Global Element for the Connector When you configure a connector, configure a global element that all instances of that connector in the app can use. Configuring a global element requires you to provide the authentication credentials that the connector requires to access the target inference provider. You can reference a configuration file that contains ANT-style property placeholders (recommended), or you can enter your authorization credentials in the global configuration properties. For information about the benefits of using property placeholders and how to configure them, see [Anypoint Connector Configuration](https://docs.mulesoft.com/connectors/introduction/intro-connector-configuration-overview). To configure the global element for MuleSoft Inference Connector, follow these steps. 1. Select the operation in the Studio canvas. 2. On the properties screen for the operation, click the Add (**+**) icon to access the global element configuration fields. 3. Choose from these configs. - Image Generation Config - Moderation Config - Text Generation Config - Vision Config 4. Fill out the fields depending on the inference type. 5. Click **OK**. ## Configure Additional Connector Fields After you configure a global element for the connector, configure the other required fields. The required fields vary depending on which connector operation you use. For detailed configuration information for each operation type, see [MuleSoft Inference - Additional Configuration Information](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-additional-config). ## View the App Log To check for problems, you can view the app log as follows: - If you’re running the app from Anypoint Platform, the app log output is visible on the Anypoint Studio console window. - If you’re running the app using Mule from the command line, the app log output is visible in your operating system console. Unless the log file path is customized in the app’s log file (`log4j2.xml`), you can also view the app log in the default location `MULE_HOME/logs/.log`. You can configure the location of the log path in the app log file `log4j2.xml`. ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Using Studio to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-studio) - [MuleSoft Inference Connector Reference](https://docs.mulesoft.com/mulesoft-inference-connector/latest/mulesoft-inference-connector-reference) - [Salesforce Help](https://help.salesforce.com)