Function anthropicClaude35SonnetV2

  • Parameters

    • infrenceRegion: string = "us"

    Returns ModelReference<
        ZodObject<
            {
                maxOutputTokens: ZodOptional<ZodNumber>;
                stopSequences: ZodOptional<ZodArray<ZodString>>;
                temperature: ZodOptional<ZodNumber>;
                topK: ZodOptional<ZodNumber>;
                topP: ZodOptional<ZodNumber>;
                version: ZodOptional<ZodString>;
            },
            "strip",
            {
                maxOutputTokens?: number;
                stopSequences?: string[];
                temperature?: number;
                topK?: number;
                topP?: number;
                version?: string;
            },
            {
                maxOutputTokens?: number;
                stopSequences?: string[];
                temperature?: number;
                topK?: number;
                topP?: number;
                version?: string;
            },
        >,
    >