SinkBaiLianParameters

Updated at:

Parameter

Type

Description

Example

object

The configuration parameters for the Model Studio event target.

WorkspaceId

string

The unique ID of the Model Studio workspace.

llm-a1b2c3d4e5f6g7h8

ApplicationType

string

The type of the Model Studio application to be invoked.

KnowledgeBase

Before

object

The pre-processing logic executed before the event is sent to the target.

Form

string

The method used to generate the parameter value. Valid values: CONSTANT (constant), JSONPATH (extracted from the event content), and TEMPLATE (template).

CONSTANT

Value

string

The source content of the parameter value specified by Form. When Form is set to JSONPATH, this value must be a JSONPath expression.

example

Template

string

The template string used to format the parameter value. It is used only when Form is set to TEMPLATE.

The value of ${key} is ${value}!

After

object

The post-processing logic executed after the main operation is completed.

Form

string

The method used to generate the parameter value. Valid values: CONSTANT (constant), JSONPATH (extracted from the event content), and TEMPLATE (template).

CONSTANT

Value

string

The source content of the parameter value specified by Form. When Form is set to JSONPATH, this value must be a JSONPath expression.

example

Template

string

The template string used to format the parameter value. It is used only when Form is set to TEMPLATE.

The value of ${key} is ${value}!

Context

any

The context information of the application, which must be a JSON object.

{"k1":"v1"}

Extend

any

The additional key-value pairs passed to the event target, which must be a valid JSON object.

{"k1":"v1"}

Op

object

The operation to be performed by the Model Studio application.

Form

string

The method used to generate the parameter value. Valid values: CONSTANT (constant), JSONPATH (extracted from the event content), and TEMPLATE (template).

CONSTANT

Value

string

The source content of the parameter value specified by Form. When Form is set to JSONPATH, this value must be a JSONPath expression.

example

Template

string

The template string used to format the parameter value. It is used only when Form is set to TEMPLATE.

The value of ${key} is ${value}!

Partition

object

The partition key of the event, which is used to route the event to a specific partition of the target service to ensure ordered processing.

Form

string

The method used to generate the parameter value. Valid values: CONSTANT (constant), JSONPATH (extracted from the event content), and TEMPLATE (template).

CONSTANT

Value

string

The source content of the parameter value specified by Form. When Form is set to JSONPATH, this value must be a JSONPath expression.

example

Template

string

The template string used to format the parameter value. It is used only when Form is set to TEMPLATE.

${partition}

Offset

object

The offset for reading the event from a stream or queue, which is used for stateful processing.

Form

string

The method used to generate the parameter value. Valid values: CONSTANT (constant), JSONPATH (extracted from the event content), and TEMPLATE (template).

CONSTANT

Value

string

The source content of the parameter value specified by Form. When Form is set to JSONPATH, this value must be a JSONPath expression.

example

Template

string

The template string used to format the parameter value. It is used only when Form is set to TEMPLATE.

The value of ${key} is ${value}!