tOllamaClient
tOllamaClient Standard properties
These properties are used to configure tOllamaClient running in the Standard Job framework.
The Standard tOllamaClient component belongs to the AI family.
- This component is available only when you have installed the 8.0.1-R2025-02 Talend Studio monthly update or a later one delivered by Talend. For more information, check with your administrator.
- As of now, the component only supports versions 3.x of Llama models.
Prerequisites
Before using this component, you need to:
- Set up the Ollama environment following the Ollama README instructions.
- Install Llama version 3.x in the Ollama environment you set up using the ollama run llama3.x command (replace 3.x with the version of your choice). Refer to the Ollama README instructions.
Basic settings
Properties | Description |
---|---|
Property type |
Either Built-in or
Repository
.
|
Schema and Edit Schema | A schema is a row description, it defines the number of fields to be
processed and passed on to the next component. The schema is either
Built-in or stored remotely in the
Repository.
Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
|
Input column |
Select the column that must be handled by Ollama. Only one column can be selected at a time. This field is available only when the tOllamaClient is not used as an input component and existing columns can be retrieved from the previous component in the Job. |
Model | To select one of the available Llama models, click the
[...] button next to the field. In the dialog box
displayed, select the model that will be used or select the Use custom
value check box and specify the model name in the Custom
value field. As of now, the component supports Llama 3.x models. |
Prompt | Enter your instructions in this field. For more information on prompt
writing best practices, read How to prompt Code Llama. Example: List the top 10 cities corresponding to the given countries, only include city names in the answer. |
Advanced settings
Properties | Description |
---|---|
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at a Job level and at each component level. |
Connection timeout (ms) |
Set the timeout period (in milliseconds) for the component to establish a connection to the server. An error occurs if an attempt to establish a connection fails. The default value is 60000, which is equivalent to 60 seconds. |
Global Variables
Variables | Description |
---|---|
Global Variables |
ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box. |
Usage
Usage guidance | Description |
---|---|
Usage rules | This component cannot handle dynamic columns. The component performance
depends on the following factors:
If you switch the usage of this component from an input component to a regular component, you need to adapt the schema and prompt instructions accordingly as the Input column parameter is not displayed for input components. |