Interface BedrockFunctionTarget.Builder

  • Method Details

    • api

      The Amazon Bedrock API to call. The only valid value is INVOKE_MODEL.

      Parameters:
      api - The Amazon Bedrock API to call. The only valid value is INVOKE_MODEL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • api

      The Amazon Bedrock API to call. The only valid value is INVOKE_MODEL.

      Parameters:
      api - The Amazon Bedrock API to call. The only valid value is INVOKE_MODEL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • model

      The model to invoke. Specify one of the following:

      • A model ID.

      • An inference profile ID.

      • The ARN of a custom model.

      • The ARN of a provisioned model.

      Elemental Inference invokes the model in the Region of the feed. To use a model in other Regions, specify a cross-Region inference profile ID. A custom or provisioned model must be in the Region of the feed.

      The request expression must produce a request body that this model accepts, and the model must accept the kind of media that the request expression references. For example, a text-only model can't accept a request that references media.frames.

      Parameters:
      model - The model to invoke. Specify one of the following:

      • A model ID.

      • An inference profile ID.

      • The ARN of a custom model.

      • The ARN of a provisioned model.

      Elemental Inference invokes the model in the Region of the feed. To use a model in other Regions, specify a cross-Region inference profile ID. A custom or provisioned model must be in the Region of the feed.

      The request expression must produce a request body that this model accepts, and the model must accept the kind of media that the request expression references. For example, a text-only model can't accept a request that references media.frames.

      Returns:
      Returns a reference to this object so that method calls can be chained together.