Greet
Logs a greeting message without affecting the value passing on the connection.
Basic Information
- Type:
haystack_integrations.testing.sample_components.greet.Greet
Inputs
| Parameter | Type | Default | Description |
|---|---|---|---|
| value | int | ||
| message | Optional[str] | None | |
| log_level | Optional[str] | None |
Outputs
| Parameter | Type | Default | Description |
|---|---|---|---|
| value | int |
Overview
Work in Progress
Bear with us while we're working on adding pipeline examples and most common components connections.
Logs a greeting message without affecting the value passing on the connection.
Usage Example
components:
Greet:
type: testing.sample_components.greet.Greet
init_parameters:
Parameters
Init Parameters
These are the parameters you can configure in Pipeline Builder:
| Parameter | Type | Default | Description |
|---|---|---|---|
| message | str | \nGreeting component says: Hi! The value is {value}\n | the message to log. Can use \{value\} to embed the value. |
| log_level | str | INFO | the level to log at. |
Run Method Parameters
These are the parameters you can configure for the component's run() method. This means you can pass these parameters at query time through the API, in Playground, or when running a job. For details, see Modify Pipeline Parameters at Query Time.
| Parameter | Type | Default | Description |
|---|---|---|---|
| value | int | ||
| message | Optional[str] | None | |
| log_level | Optional[str] | None |
Was this page helpful?