tClaudeAIClient
tClaudeAIClient Standard properties
These properties are used to configure tClaudeAIClient running in the Standard Job framework.
The Standard tClaudeAIClient component belongs to the AI family.
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:
|
Sync columns | Click this button to retrieve the schema from the preceding component. |
Guess schema | Click this button to retrieve the schema according to your settings. |
API Key |
Enter the Claude API key in this field. To enter the raw key, click the [...] button next to the corresponding field to bring out the Enter a new password dialog box, enter the key in the text field, and click OK. You can also use a context variable in that field. For more information on how to find your Claude API Key, read Prerequisites. |
Model | To select one of the available Claude 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. |
Prompt | Enter your instructions in this field. For more information on prompt
writing best practices, read How to prompt engineer. Example: Given the following addresses, guess the corresponding country names. |
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. |
Base URL | Type in the base URL address of the Claude API server you want to access, by default it is https://api.anthropic.com. |
API version | Enter the version of the Claude API server you want to access. |
Endpoint | Enter the second part of the URL in order to complete the base URL filled in the Base URL field. Base URL and Endpoint values are joined with the character / when needed. |
Use raw JSON | Select this option to manually enter the raw JSON body. |
Response body format | Select the response body format from the drop-down list. The right format
allows the connector to parse and apply operations to the response. Currently,
text, and JSON formats are supported.
|
Extract a sub-part of the response | Enter the path of a node to select a sub-element of the response. If the
element is an array, each element of the array will be looped over. For more
information about the syntax for entering the node name, see Data Shaping Selector Language syntax.
This field is optional and must remain empty to retrieve the entire JSON response. This field is only available if you select JSON from the Response body format drop-down list. Information noteNote: This field impacts the schema
of the output flow of this component. It is recommended to update the schema by
clicking the Update configuration button after setting
this field.
|
Customize output with DSSL | Select this option to customize the output by entering key/value pairs. Add
a row in the table by clicking the plus button under the table, enter the name of
the node in the Name field, and enter the value in the
Value field. For more information about the value syntax, see Data Shaping Selector Language syntax. This field is only available if you select JSON from the Response body format drop-down list. Information noteNote: This option impacts the schema
of the output flow of this component. It is recommended to update the schema by
clicking the Update configuration button after setting
the key/value pairs in the table under this option.
|
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. NB_LINE: the number of rows read by an input component or transferred to an output component. This is an After variable and it returns an integer. |