/** * AWS Bedrock chat model supporting multiple providers (Anthropic, Meta, etc.). * * This class provides access to various models via AWS Bedrock, * supporting both text generation and structured output via tool calling. * * To use this model, you need to either: * 1. Set the following environment variables: * - AWS_ACCESS_KEY_ID * - AWS_SECRET_ACCESS_KEY * - AWS_REGION * 2. Or provide AWS credentials through other standard methods * 3. Or use AWS SSO authentication */ import { z } from 'zod'; import { AbstractChatModel } from '../base'; import { BaseMessage } from '../messages'; import { ChatInvokeCompletion } from '../views'; export declare const AWSBedrockChatModelSchema: z.ZodObject<{ model: z.ZodDefault; maxTokens: z.ZodDefault; temperature: z.ZodOptional; topP: z.ZodOptional; seed: z.ZodOptional; stopSequences: z.ZodOptional>; awsAccessKeyId: z.ZodOptional; awsSecretAccessKey: z.ZodOptional; awsRegion: z.ZodOptional; requestParams: z.ZodOptional>; }, "strip", z.ZodTypeAny, { model: string; maxTokens: number; temperature?: number | undefined; seed?: number | undefined; topP?: number | undefined; stopSequences?: string[] | undefined; awsAccessKeyId?: string | undefined; awsSecretAccessKey?: string | undefined; awsRegion?: string | undefined; requestParams?: Record | undefined; }, { model?: string | undefined; temperature?: number | undefined; seed?: number | undefined; maxTokens?: number | undefined; topP?: number | undefined; stopSequences?: string[] | undefined; awsAccessKeyId?: string | undefined; awsSecretAccessKey?: string | undefined; awsRegion?: string | undefined; requestParams?: Record | undefined; }>; type AWSBedrockConfig = z.infer; export declare class ChatAWSBedrock extends AbstractChatModel { private client; private config; constructor(config: Partial & { model?: string; }); get provider(): string; private parseBase64Url; private downloadImage; private serializeImageContent; private serializeUserContent; private serializeAssistantContent; private serializeMessages; private getInferenceConfig; private formatToolsForRequest; private parseUsage; ainvoke(messages: BaseMessage[], outputFormat?: z.ZodSchema): Promise>; } export {}; //# sourceMappingURL=aws.d.ts.map