package
0.0.0-20250208023750-2ddeb7052770
Repository: https://github.com/envoyproxy/ai-gateway.git
Documentation: pkg.go.dev

# Constants

ConversationRoleAssistant is a ConversationRole enum value.
ConversationRoleUser is a ConversationRole enum value.
StopReasonContentFiltered is a StopReason enum value.
StopReasonEndTurn is a StopReason enum value.
StopReasonGuardrailIntervened is a StopReason enum value.
StopReasonMaxTokens is a StopReason enum value.
StopReasonStopSequence is a StopReason enum value.
StopReasonToolUse is a StopReason enum value.

# Structs

AnyToolChoice The model must request at least one tool (no text is generated).
AutoToolChoice The Model automatically decides if a tool should be called or whether to generate text instead.
No description provided by the author
ContentBlock is defined in the AWS Bedrock API: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ContentBlock.html.
ContentBlockStart is the start information.
No description provided by the author
ConverseMetrics Metrics for a call to Converse (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html).
ConverseOutput is defined in the AWS Bedrock API: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseOutput.html.
ConverseResponse is the response from a call to Converse.
ConverseStreamEvent is the union of all possible event types in the AWS Bedrock API: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html.
ConverseStreamEventContentBlockDelta is defined in the AWS Bedrock API: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ContentBlockDelta.html.
DocumentBlock A document to include in a message.
DocumentSource Contains the content of a document.
GuardrailConfiguration Configuration information for a guardrail that you use with the Converse (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) operation.
GuardrailConverseContentBlock A content block for selective guarding with the Converse (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) or ConverseStream (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html) API operations.
GuardrailConverseTextBlock A text block that contains text that you want to assess with a guardrail.
ImageBlock Image content for a message.
ImageSource The source for an image.
InferenceConfiguration Base inference parameters to pass to a model in a call to Converse (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) or ConverseStream (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html).
Message A message input, or returned from, a call to Converse (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) or ConverseStream (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html).
SpecificToolChoice The model must request a specific tool.
SystemContentBlock A system content block.
TokenUsage is defined in the AWS Bedrock API: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_TokenUsage.html.
Tool Information about a tool that you can use with the Converse API.
ToolChoice Determines which tools the model should request in a call to Converse or ConverseStream.
ToolConfiguration Configuration information for the tools that you pass to a model.
ToolInputSchema The schema for the tool.
ToolResultBlock A tool result block that contains the results for a tool request that the model previously made.
ToolResultContentBlock The tool result content block.
ToolSpecification The specification for the tool.
ToolUseBlock A tool use block contains information about a tool that the model is requesting be run.
ToolUseBlockDelta is the delta for a tool use block.
ToolUseBlockStart is the start of a tool use block.