BedrockResponse
Defined in: backend/src/providers/aws-bedrock.ts:61
Properties
Section titled “Properties”metrics?
Section titled “metrics?”
optionalmetrics:object
Defined in: backend/src/providers/aws-bedrock.ts:74
latencyMs
Section titled “latencyMs”latencyMs:
number
output
Section titled “output”output:
object
Defined in: backend/src/providers/aws-bedrock.ts:62
message
Section titled “message”message:
object
message.content
Section titled “message.content”content:
object[]
message.role
Section titled “message.role”role:
"assistant"
stopReason
Section titled “stopReason”stopReason:
"end_turn"|"max_tokens"|"stop_sequence"|"content_filtered"
Defined in: backend/src/providers/aws-bedrock.ts:68
usage:
object
Defined in: backend/src/providers/aws-bedrock.ts:69
inputTokens
Section titled “inputTokens”inputTokens:
number
outputTokens
Section titled “outputTokens”outputTokens:
number
totalTokens
Section titled “totalTokens”totalTokens:
number