@wix/auto_sdk_ai-gateway_prompts 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +25 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +265 -6
- package/build/cjs/index.typings.js +25 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +265 -6
- package/build/cjs/meta.js +25 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +24 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +265 -6
- package/build/es/index.typings.mjs +24 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +265 -6
- package/build/es/meta.mjs +24 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +3 -3
- package/build/internal/cjs/index.js +25 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +267 -8
- package/build/internal/cjs/index.typings.js +25 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +265 -6
- package/build/internal/cjs/meta.js +25 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +3 -3
- package/build/internal/es/index.mjs +24 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +267 -8
- package/build/internal/es/index.typings.mjs +24 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +265 -6
- package/build/internal/es/meta.mjs +24 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -40,6 +40,8 @@ interface GenerateContentModelResponse extends GenerateContentModelResponseRespo
|
|
|
40
40
|
invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
|
|
41
41
|
/** Llama via Amazon Bedrock text completion response. */
|
|
42
42
|
llamaModelResponse?: InvokeLlamaModelResponse;
|
|
43
|
+
/** Invoke Amazon Converse API response. */
|
|
44
|
+
amazonConverseResponse?: InvokeConverseResponse;
|
|
43
45
|
/** Llama via ML Platform text completion response. */
|
|
44
46
|
mlPlatformLlamaModelResponse?: InvokeMlPlatformLlamaModelResponse;
|
|
45
47
|
/** Perplexity chat completion response. */
|
|
@@ -111,6 +113,8 @@ interface GenerateContentModelResponseResponseOneOf {
|
|
|
111
113
|
invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
|
|
112
114
|
/** Llama via Amazon Bedrock text completion response. */
|
|
113
115
|
llamaModelResponse?: InvokeLlamaModelResponse;
|
|
116
|
+
/** Invoke Amazon Converse API response. */
|
|
117
|
+
amazonConverseResponse?: InvokeConverseResponse;
|
|
114
118
|
/** Llama via ML Platform text completion response. */
|
|
115
119
|
mlPlatformLlamaModelResponse?: InvokeMlPlatformLlamaModelResponse;
|
|
116
120
|
/** Perplexity chat completion response. */
|
|
@@ -2574,6 +2578,155 @@ interface InvokeLlamaModelResponse {
|
|
|
2574
2578
|
/** Cost of the request in microcents. */
|
|
2575
2579
|
microcentsSpent?: string | null;
|
|
2576
2580
|
}
|
|
2581
|
+
interface InvokeConverseResponse {
|
|
2582
|
+
/** The model's generated output. */
|
|
2583
|
+
output?: Output;
|
|
2584
|
+
/**
|
|
2585
|
+
* Why the model stopped: 'end_turn', 'max_tokens', 'stop_sequence', 'guardrail_intervened', or 'content_filtered'.
|
|
2586
|
+
* @maxLength 500
|
|
2587
|
+
*/
|
|
2588
|
+
stopReason?: string | null;
|
|
2589
|
+
/** Token usage statistics including cache metrics. */
|
|
2590
|
+
usage?: InvokeConverseResponseTokenUsage;
|
|
2591
|
+
/** Performance metrics including latency. */
|
|
2592
|
+
metrics?: Metrics;
|
|
2593
|
+
/** Model-specific response fields as a JSON object. */
|
|
2594
|
+
additionalModelResponseFields?: Record<string, any> | null;
|
|
2595
|
+
/** The performance configuration applied to this request. */
|
|
2596
|
+
performanceConfig?: PerformanceConfig;
|
|
2597
|
+
/** Total cost in microcents for this request */
|
|
2598
|
+
microcentsSpent?: string | null;
|
|
2599
|
+
}
|
|
2600
|
+
interface ConverseMessage {
|
|
2601
|
+
/** The role that generated this message (user or assistant). */
|
|
2602
|
+
role?: RoleWithLiterals;
|
|
2603
|
+
/**
|
|
2604
|
+
* Content blocks that can include text, tool use, and tool results.
|
|
2605
|
+
* @maxSize 4096
|
|
2606
|
+
*/
|
|
2607
|
+
content?: ConverseContentBlock[];
|
|
2608
|
+
}
|
|
2609
|
+
/** Converse-specific content block (simplified structure for AWS Bedrock Converse API) */
|
|
2610
|
+
interface ConverseContentBlock extends ConverseContentBlockContentOneOf {
|
|
2611
|
+
/**
|
|
2612
|
+
* Plain text content.
|
|
2613
|
+
* @maxLength 100000000
|
|
2614
|
+
*/
|
|
2615
|
+
text?: string;
|
|
2616
|
+
/** Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response. */
|
|
2617
|
+
reasoningContent?: ConverseReasoningContent;
|
|
2618
|
+
/** Tool use block representing a function call request. */
|
|
2619
|
+
toolUse?: ConverseToolUse;
|
|
2620
|
+
/** Tool result block containing the output of a tool execution. */
|
|
2621
|
+
toolResult?: ConverseToolResult;
|
|
2622
|
+
}
|
|
2623
|
+
/** @oneof */
|
|
2624
|
+
interface ConverseContentBlockContentOneOf {
|
|
2625
|
+
/**
|
|
2626
|
+
* Plain text content.
|
|
2627
|
+
* @maxLength 100000000
|
|
2628
|
+
*/
|
|
2629
|
+
text?: string;
|
|
2630
|
+
/** Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response. */
|
|
2631
|
+
reasoningContent?: ConverseReasoningContent;
|
|
2632
|
+
/** Tool use block representing a function call request. */
|
|
2633
|
+
toolUse?: ConverseToolUse;
|
|
2634
|
+
/** Tool result block containing the output of a tool execution. */
|
|
2635
|
+
toolResult?: ConverseToolResult;
|
|
2636
|
+
}
|
|
2637
|
+
interface ConverseReasoningContent {
|
|
2638
|
+
/** Contains the reasoning that the model used to return the output. */
|
|
2639
|
+
reasoningText?: ReasoningText;
|
|
2640
|
+
}
|
|
2641
|
+
interface ReasoningText {
|
|
2642
|
+
/**
|
|
2643
|
+
* The reasoning that the model used to return the output.
|
|
2644
|
+
* @maxLength 100000000
|
|
2645
|
+
*/
|
|
2646
|
+
text?: string;
|
|
2647
|
+
}
|
|
2648
|
+
/** Tool use request from the model */
|
|
2649
|
+
interface ConverseToolUse {
|
|
2650
|
+
/**
|
|
2651
|
+
* Unique identifier for this tool use.
|
|
2652
|
+
* @maxLength 1000
|
|
2653
|
+
*/
|
|
2654
|
+
toolUseId?: string;
|
|
2655
|
+
/**
|
|
2656
|
+
* Name of the tool being invoked.
|
|
2657
|
+
* @maxLength 1000
|
|
2658
|
+
*/
|
|
2659
|
+
name?: string;
|
|
2660
|
+
/** Input parameters for the tool as a JSON object. */
|
|
2661
|
+
input?: Record<string, any> | null;
|
|
2662
|
+
}
|
|
2663
|
+
/** Tool execution result */
|
|
2664
|
+
interface ConverseToolResult {
|
|
2665
|
+
/**
|
|
2666
|
+
* Identifier matching the tool_use_id from the ToolUse request.
|
|
2667
|
+
* @maxLength 1000
|
|
2668
|
+
*/
|
|
2669
|
+
toolUseId?: string;
|
|
2670
|
+
/**
|
|
2671
|
+
* Result content (text only for now).
|
|
2672
|
+
* @maxSize 1000
|
|
2673
|
+
*/
|
|
2674
|
+
content?: ConverseToolResultContent[];
|
|
2675
|
+
/**
|
|
2676
|
+
* Execution status: 'success' or 'error'.
|
|
2677
|
+
* @maxLength 100
|
|
2678
|
+
*/
|
|
2679
|
+
status?: string | null;
|
|
2680
|
+
}
|
|
2681
|
+
/** Tool result content (text only for now) */
|
|
2682
|
+
interface ConverseToolResultContent extends ConverseToolResultContentContentOneOf {
|
|
2683
|
+
/**
|
|
2684
|
+
* A tool result that is text.
|
|
2685
|
+
* @maxLength 100000000
|
|
2686
|
+
*/
|
|
2687
|
+
text?: string;
|
|
2688
|
+
/** A tool result that is JSON format data. */
|
|
2689
|
+
json?: Record<string, any> | null;
|
|
2690
|
+
}
|
|
2691
|
+
/** @oneof */
|
|
2692
|
+
interface ConverseToolResultContentContentOneOf {
|
|
2693
|
+
/**
|
|
2694
|
+
* A tool result that is text.
|
|
2695
|
+
* @maxLength 100000000
|
|
2696
|
+
*/
|
|
2697
|
+
text?: string;
|
|
2698
|
+
/** A tool result that is JSON format data. */
|
|
2699
|
+
json?: Record<string, any> | null;
|
|
2700
|
+
}
|
|
2701
|
+
/** Container for the model's generated output. */
|
|
2702
|
+
interface Output {
|
|
2703
|
+
/** The generated message with role and content blocks. */
|
|
2704
|
+
message?: ConverseMessage;
|
|
2705
|
+
}
|
|
2706
|
+
/** todo: expose serverToolUsage */
|
|
2707
|
+
interface InvokeConverseResponseTokenUsage {
|
|
2708
|
+
/** Tokens in the input (prompt, history, system prompts). */
|
|
2709
|
+
inputTokens?: number;
|
|
2710
|
+
/** Tokens generated in the response. */
|
|
2711
|
+
outputTokens?: number;
|
|
2712
|
+
/** Total tokens processed (input + output). */
|
|
2713
|
+
totalTokens?: number;
|
|
2714
|
+
/** Tokens retrieved from cache. Only present when prompt caching is enabled. */
|
|
2715
|
+
cacheReadInputTokens?: number | null;
|
|
2716
|
+
/** Tokens written to cache for future requests. Only present when prompt caching is enabled. */
|
|
2717
|
+
cacheWriteInputTokens?: number | null;
|
|
2718
|
+
}
|
|
2719
|
+
interface Metrics {
|
|
2720
|
+
/** End-to-end latency in milliseconds. */
|
|
2721
|
+
latencyMs?: number;
|
|
2722
|
+
}
|
|
2723
|
+
interface PerformanceConfig {
|
|
2724
|
+
/**
|
|
2725
|
+
* The desired latency profile. Valid values: 'standard' (default) or 'optimized'.
|
|
2726
|
+
* @maxLength 100
|
|
2727
|
+
*/
|
|
2728
|
+
latency?: string | null;
|
|
2729
|
+
}
|
|
2577
2730
|
interface InvokeMlPlatformLlamaModelResponse {
|
|
2578
2731
|
/**
|
|
2579
2732
|
* The generated text.
|
|
@@ -4265,6 +4418,8 @@ interface Prompt extends PromptModelRequestOneOf {
|
|
|
4265
4418
|
invokeAnthropicModelRequest?: InvokeAnthropicModelRequest;
|
|
4266
4419
|
/** Llama via Amazon Bedrock text completion request. */
|
|
4267
4420
|
llamaModelRequest?: InvokeLlamaModelRequest;
|
|
4421
|
+
/** Invoke Amazon Converse API request. */
|
|
4422
|
+
amazonConverseRequest?: InvokeConverseRequest;
|
|
4268
4423
|
/** OpenAI generate image request (Image Generation). */
|
|
4269
4424
|
openAiCreateImageRequest?: CreateImageRequest;
|
|
4270
4425
|
/** Stability AI text to image request (Image Generation). */
|
|
@@ -4347,6 +4502,8 @@ interface PromptModelRequestOneOf {
|
|
|
4347
4502
|
invokeAnthropicModelRequest?: InvokeAnthropicModelRequest;
|
|
4348
4503
|
/** Llama via Amazon Bedrock text completion request. */
|
|
4349
4504
|
llamaModelRequest?: InvokeLlamaModelRequest;
|
|
4505
|
+
/** Invoke Amazon Converse API request. */
|
|
4506
|
+
amazonConverseRequest?: InvokeConverseRequest;
|
|
4350
4507
|
/** OpenAI generate image request (Image Generation). */
|
|
4351
4508
|
openAiCreateImageRequest?: CreateImageRequest;
|
|
4352
4509
|
/** Stability AI text to image request (Image Generation). */
|
|
@@ -4916,7 +5073,7 @@ interface GenerateContentRequest {
|
|
|
4916
5073
|
/** The generation configuration for the response. */
|
|
4917
5074
|
generationConfig?: GenerationConfig;
|
|
4918
5075
|
/** Tool configuration for any Tool specified in the request. */
|
|
4919
|
-
toolConfig?:
|
|
5076
|
+
toolConfig?: V1ToolConfig;
|
|
4920
5077
|
/** If present, describes the fine-tuning model that will be called instead of generic one. */
|
|
4921
5078
|
fineTuningSpec?: FineTuningSpec;
|
|
4922
5079
|
}
|
|
@@ -5307,7 +5464,7 @@ declare enum PersonGeneration {
|
|
|
5307
5464
|
}
|
|
5308
5465
|
/** @enumType */
|
|
5309
5466
|
type PersonGenerationWithLiterals = PersonGeneration | 'PERSON_GENERATION_UNSPECIFIED' | 'ALLOW_ALL' | 'ALLOW_ADULT' | 'ALLOW_NONE';
|
|
5310
|
-
interface
|
|
5467
|
+
interface V1ToolConfig {
|
|
5311
5468
|
/** Function calling config. */
|
|
5312
5469
|
functionCallingConfig?: FunctionCallingConfig;
|
|
5313
5470
|
}
|
|
@@ -5841,7 +5998,7 @@ interface InvokeAnthropicModelRequest {
|
|
|
5841
5998
|
* return results back to the model using tool_result content blocks.
|
|
5842
5999
|
* @maxSize 1000
|
|
5843
6000
|
*/
|
|
5844
|
-
tools?:
|
|
6001
|
+
tools?: AnthropicV1Tool[];
|
|
5845
6002
|
/**
|
|
5846
6003
|
* How the model should use the provided tools. The model can use a specific tool, any available tool, or decide by itself.
|
|
5847
6004
|
* More info: https://docs.anthropic.com/en/docs/build-with-claude/tool-use#forcing-tool-use
|
|
@@ -5892,7 +6049,7 @@ interface AnthropicMessage {
|
|
|
5892
6049
|
content?: V1ContentBlock[];
|
|
5893
6050
|
}
|
|
5894
6051
|
/** Top-level tool wrapper. Exactly one branch is set. */
|
|
5895
|
-
interface
|
|
6052
|
+
interface AnthropicV1Tool extends AnthropicV1ToolKindOneOf {
|
|
5896
6053
|
/**
|
|
5897
6054
|
* Client tool.
|
|
5898
6055
|
* User-defined custom tools that you create and implement
|
|
@@ -5936,7 +6093,7 @@ interface V1Tool extends V1ToolKindOneOf {
|
|
|
5936
6093
|
webFetch?: WebFetchTool;
|
|
5937
6094
|
}
|
|
5938
6095
|
/** @oneof */
|
|
5939
|
-
interface
|
|
6096
|
+
interface AnthropicV1ToolKindOneOf {
|
|
5940
6097
|
/**
|
|
5941
6098
|
* Client tool.
|
|
5942
6099
|
* User-defined custom tools that you create and implement
|
|
@@ -6238,6 +6395,108 @@ declare enum LlamaModel {
|
|
|
6238
6395
|
}
|
|
6239
6396
|
/** @enumType */
|
|
6240
6397
|
type LlamaModelWithLiterals = LlamaModel | 'UNKNOWN_LLAMA_MODEL' | 'LLAMA_3_8B_INSTRUCT_1_0' | 'LLAMA_3_70B_INSTRUCT_1_0' | 'LLAMA_3_1_8B_INSTRUCT_1_0' | 'LLAMA_3_1_70B_INSTRUCT_1_0' | 'LLAMA_3_2_1B_INSTRUCT_1_0' | 'LLAMA_3_2_3B_INSTRUCT_1_0';
|
|
6398
|
+
interface InvokeConverseRequest {
|
|
6399
|
+
/** The foundation model to use for this conversation. */
|
|
6400
|
+
model?: ConverseModelWithLiterals;
|
|
6401
|
+
/**
|
|
6402
|
+
* Conversation history and new input. Processed in the order provided.
|
|
6403
|
+
* @maxSize 4096
|
|
6404
|
+
*/
|
|
6405
|
+
messages?: ConverseMessage[];
|
|
6406
|
+
/** Parameters controlling text generation behavior. */
|
|
6407
|
+
inferenceConfig?: InferenceConfig;
|
|
6408
|
+
/** Tool configuration for function calling. */
|
|
6409
|
+
toolConfig?: ToolConfig;
|
|
6410
|
+
/** Latency optimization settings. */
|
|
6411
|
+
performanceConfig?: PerformanceConfig;
|
|
6412
|
+
/**
|
|
6413
|
+
* System prompts providing high-level instructions. Processed before conversation messages.
|
|
6414
|
+
* @maxSize 100
|
|
6415
|
+
*/
|
|
6416
|
+
system?: SystemContentBlock[];
|
|
6417
|
+
/** Model-specific parameters as a JSON object. */
|
|
6418
|
+
additionalModelRequestFields?: Record<string, any> | null;
|
|
6419
|
+
/**
|
|
6420
|
+
* JSON paths to extract from the model's raw response.
|
|
6421
|
+
* @maxLength 1000
|
|
6422
|
+
* @maxSize 100
|
|
6423
|
+
*/
|
|
6424
|
+
additionalModelResponseFieldPaths?: string[];
|
|
6425
|
+
}
|
|
6426
|
+
declare enum ConverseModel {
|
|
6427
|
+
UNKNOWN_CONVERSE_MODEL = "UNKNOWN_CONVERSE_MODEL",
|
|
6428
|
+
/** OPEN AI Models */
|
|
6429
|
+
OPEN_AI_GPT_OSS_120B = "OPEN_AI_GPT_OSS_120B"
|
|
6430
|
+
}
|
|
6431
|
+
/** @enumType */
|
|
6432
|
+
type ConverseModelWithLiterals = ConverseModel | 'UNKNOWN_CONVERSE_MODEL' | 'OPEN_AI_GPT_OSS_120B';
|
|
6433
|
+
/** Parameters that control the model's text generation behavior. */
|
|
6434
|
+
interface InferenceConfig {
|
|
6435
|
+
/**
|
|
6436
|
+
* Maximum tokens to generate before stopping.
|
|
6437
|
+
* @min 1
|
|
6438
|
+
* @max 4096
|
|
6439
|
+
*/
|
|
6440
|
+
maxTokens?: number | null;
|
|
6441
|
+
/**
|
|
6442
|
+
* Randomness in output. Higher values (closer to 1.0) increase creativity.
|
|
6443
|
+
* @max 1
|
|
6444
|
+
*/
|
|
6445
|
+
temperature?: number | null;
|
|
6446
|
+
/**
|
|
6447
|
+
* Nucleus sampling threshold. The model considers tokens whose cumulative probability exceeds this value.
|
|
6448
|
+
* @max 1
|
|
6449
|
+
*/
|
|
6450
|
+
topP?: number | null;
|
|
6451
|
+
/**
|
|
6452
|
+
* Text sequences that cause the model to stop generating.
|
|
6453
|
+
* @maxLength 512
|
|
6454
|
+
* @maxSize 8191
|
|
6455
|
+
*/
|
|
6456
|
+
stopSequences?: string[];
|
|
6457
|
+
}
|
|
6458
|
+
/** Converse-specific tool configuration */
|
|
6459
|
+
interface ToolConfig {
|
|
6460
|
+
/**
|
|
6461
|
+
* Available tools for the model.
|
|
6462
|
+
* @maxSize 1000
|
|
6463
|
+
*/
|
|
6464
|
+
tools?: V1Tool[];
|
|
6465
|
+
/** How the model should use tools. */
|
|
6466
|
+
toolChoice?: ToolChoice;
|
|
6467
|
+
}
|
|
6468
|
+
/** Tool wrapper with specification */
|
|
6469
|
+
interface V1Tool {
|
|
6470
|
+
/** Tool specification containing name, description, and input schema. */
|
|
6471
|
+
toolSpec?: ToolSpecification;
|
|
6472
|
+
}
|
|
6473
|
+
/** Detailed tool specification */
|
|
6474
|
+
interface ToolSpecification {
|
|
6475
|
+
/**
|
|
6476
|
+
* Name of the tool.
|
|
6477
|
+
* @maxLength 256
|
|
6478
|
+
*/
|
|
6479
|
+
name?: string;
|
|
6480
|
+
/**
|
|
6481
|
+
* Description of what the tool does.
|
|
6482
|
+
* @maxLength 2048
|
|
6483
|
+
*/
|
|
6484
|
+
description?: string | null;
|
|
6485
|
+
/** JSON schema for tool input parameters. */
|
|
6486
|
+
inputSchema?: ConverseInputSchema;
|
|
6487
|
+
}
|
|
6488
|
+
/** Input schema wrapper */
|
|
6489
|
+
interface ConverseInputSchema {
|
|
6490
|
+
/** JSON schema as a Struct (wraps the schema in "json" field for AWS API). */
|
|
6491
|
+
json?: Record<string, any> | null;
|
|
6492
|
+
}
|
|
6493
|
+
interface SystemContentBlock {
|
|
6494
|
+
/**
|
|
6495
|
+
* Text providing high-level instructions or context for the conversation.
|
|
6496
|
+
* @maxLength 100000000
|
|
6497
|
+
*/
|
|
6498
|
+
text?: string | null;
|
|
6499
|
+
}
|
|
6241
6500
|
interface CreateImageRequest {
|
|
6242
6501
|
/**
|
|
6243
6502
|
* A text description of the desired image(s). The maximum length is 1000 characters for dall-e-2 and 4000 characters for dall-e-3.
|
|
@@ -9935,4 +10194,4 @@ interface GenerateAudioStreamedOptionsAudioRequestOneOf {
|
|
|
9935
10194
|
elevenlabsTextToSpeechRequest?: TextToSpeechRequest;
|
|
9936
10195
|
}
|
|
9937
10196
|
|
|
9938
|
-
export { type Action, type ActionEvent, type AlignmentInfoInChunk, type AnthropicClaudeMessage, type AnthropicMessage, AnthropicModel, type AnthropicModelWithLiterals, type AnthropicStreamChunk, type AnthropicStreamChunkContentOneOf, type AnthropicStreamChunkMessageDelta, type AsyncGenerationConfig, type BaseEventMetadata, type BashTool, type Blob, type BuiltInTool, type CacheControl, CacheControlType, type CacheControlTypeWithLiterals, type Candidate, type CandidateCitationMetadata, type CandidateCitationMetadataCitation, type CandidateContent, type CandidateContentPart, type CharLocationCitation, ChatBisonModel, type ChatBisonModelWithLiterals, type ChatBisonPredictRequest, type ChatBisonPredictResponse, type ChatBisonPrediction, type ChatCompletionChunk, type ChatCompletionChunkChunkChoice, type ChatCompletionMessage, type ChatCompletionMessageContentPart, type ChatCompletionMessageContentPartContentValueOneOf, type ChatCompletionMessageFunctionWithArgs, type ChatCompletionMessageImageUrlContent, ChatCompletionMessageMessageRole, type ChatCompletionMessageMessageRoleWithLiterals, type ChatCompletionMessageToolCall, ChatCompletionModel, type ChatCompletionModelWithLiterals, type ChatInstance, type ChatMessage, type Choice, type ChunkChoice, type ChunkChoiceChunkDelta, type ChunkDelta, type Citation, type CitationMetadata, type CitationTypeOneOf, type CitationsEnabled, ClaudeModel, type ClaudeModelWithLiterals, ClipGuidancePreset, type ClipGuidancePresetWithLiterals, type CodeExecution, type CodeExecutionResult, type CodeExecutionTool, type CodeExecutionToolResult, type CodeExecutionToolResultContentOneOf, type CodeExecutionToolResultError, type CompletionTokenDetails, type ComputerUse, type ComputerUseTool, type Container, type ContainerUpload, type Content, type ContentBlock, type ContentBlockDelta, type ContentBlockDeltaDeltaOneOf, type ContentBlockLocationCitation, type ContentBlockTypeOneOf, type ContentData, type ContentPart, type ContentPartContentValueOneOf, ContentRole, type ContentRoleWithLiterals, type CreateChatCompletionRequest, type CreateChatCompletionRequestFunctionCallOneOf, type CreateChatCompletionRequestFunctionSignature, type CreateChatCompletionRequestResponseFormat, type CreateChatCompletionRequestTool, type CreateChatCompletionResponse, type CreateChatCompletionResponseChoice, type CreateChatCompletionResponseCompletionTokenDetails, type CreateChatCompletionResponsePromptTokenDetails, type CreateChatCompletionResponseTokenUsage, type CreateImageOpenAiRequest, type CreateImageOpenAiResponse, type CreateImageRequest, type CreateImageResponse, CreatePredictionModel, type CreatePredictionModelWithLiterals, type CreatePredictionRequest, type CreatePredictionRequestInputOneOf, type CreatePredictionResponse, type CreatePredictionResponseTokenUsage, type CreateSpeechRequest, type CreateVideoRequest, type CreateVideoResponse, type CustomTool, type DocumentContent, type DocumentSource, type DomainEvent, type DomainEventBodyOneOf, type DynamicRequestConfig, type DynamicRetrievalConfig, DynamicRetrievalConfigMode, type DynamicRetrievalConfigModeWithLiterals, type EditImageOpenAiRequest, type EditImageOpenAiResponse, type EditImageWithPromptRequest, EditImageWithPromptRequestModel, type EditImageWithPromptRequestModelWithLiterals, type EditImageWithPromptResponse, ElevenLabsTextToSpeechModel, type ElevenLabsTextToSpeechModelWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, Environment, type EnvironmentWithLiterals, type ErrorInfo, type EventMetadata, type Example, type ExecutableCode, type FallbackPromptConfig, type FallbackProperties, type FileInput, type FineTuningSpec, FinishReason, type FinishReasonWithLiterals, type FluxDevControlnet, type FluxPulid, type FrameImage, type FunctionCall, type FunctionCallingConfig, type FunctionDeclaration, type FunctionResponse, type FunctionSignature, type FunctionWithArgs, type GatewayContentBlock, type GatewayContentBlockTypeOneOf, type GatewayMessageDefinition, GatewayMessageDefinitionRole, type GatewayMessageDefinitionRoleWithLiterals, type GatewayToolDefinition, type GatewayToolDefinitionCustomTool, type GatewayToolDefinitionToolOneOf, GenerateAnImageModel, type GenerateAnImageModelWithLiterals, type GenerateAnImageRequest, type GenerateAnImageResponse, type GenerateAudioRequest, type GenerateAudioRequestAudioRequestOneOf, type GenerateAudioStreamedOptions, type GenerateAudioStreamedOptionsAudioRequestOneOf, type GenerateContentByPromptObjectAsyncOptions, type GenerateContentByPromptObjectOptions, type GenerateContentByPromptObjectRequest, type GenerateContentByPromptObjectResponse, type GenerateContentModelResponse, type GenerateContentModelResponseResponseOneOf, type GenerateContentRequest, type GenerateContentResponse, type GenerateCoreRequest, GenerateCoreRequestStylePreset, type GenerateCoreRequestStylePresetWithLiterals, type GenerateCoreResponse, GenerateImageMlPlatformModel, type GenerateImageMlPlatformModelWithLiterals, type GenerateImageMlPlatformRequest, type GenerateImageMlPlatformRequestInputOneOf, type GenerateImageMlPlatformResponse, type GenerateImageRequest, type GenerateImageResponse, type GenerateStableDiffusionRequest, GenerateStableDiffusionRequestOutputFormat, type GenerateStableDiffusionRequestOutputFormatWithLiterals, type GenerateStableDiffusionResponse, type GenerateTextByPromptObjectRequest, type GenerateTextByPromptObjectStreamedOptions, type GenerateVideoInstance, type GenerateVideoParameters, type GenerateVideoRequest, type GenerateVideoResponse, type GeneratedAudioChunk, type GeneratedAudioChunkAudioChunkOneOf, type GeneratedContent, type GeneratedTextChunk, type GeneratedTextChunkModelChunkOneOf, type GeneratedVideo, type GenerationCompletedResultEvent, type GenerationConfig, GenerationMode, type GenerationModeWithLiterals, type GenerationThinkingConfig, type GoogleSearch, type GoogleSearchRetrieval, type GoogleproxyV1AnthropicStreamChunk, type GoogleproxyV1AnthropicStreamChunkContentOneOf, type GoogleproxyV1CacheControl, type GoogleproxyV1ChatCompletionMessage, type GoogleproxyV1ContentBlock, type GoogleproxyV1ContentBlockDelta, type GoogleproxyV1ContentBlockDeltaDeltaOneOf, type GoogleproxyV1ContentBlockTypeOneOf, type GoogleproxyV1ImageUrl, type GoogleproxyV1InputSchema, type GoogleproxyV1McpServer, GoogleproxyV1McpServerType, type GoogleproxyV1McpServerTypeWithLiterals, GoogleproxyV1Model, type GoogleproxyV1ModelWithLiterals, type GoogleproxyV1RedactedThinking, GoogleproxyV1ResponseTypeType, type GoogleproxyV1ResponseTypeTypeWithLiterals, type GoogleproxyV1Text, type GoogleproxyV1Thinking, type GoogleproxyV1ThinkingConfig, type GoogleproxyV1Tool, type GoogleproxyV1ToolChoice, GoogleproxyV1ToolChoiceType, type GoogleproxyV1ToolChoiceTypeWithLiterals, type GoogleproxyV1ToolResult, type GoogleproxyV1ToolUse, type GoogleproxyV1Usage, type GroundingChunk, type GroundingChunkChunkTypeOneOf, type GroundingMetadata, type GroundingSupport, HarmCategory, type HarmCategoryWithLiterals, HarmProbability, type HarmProbabilityWithLiterals, type IdentificationData, type IdentificationDataIdOneOf, type ImageConfig, ImageCoreModel, type ImageCoreModelWithLiterals, type ImageInput, ImageMediaTypeMediaType, type ImageMediaTypeMediaTypeWithLiterals, ImageModel, type ImageModelWithLiterals, type ImageObject, type ImageOutputOptions, ImageQuality, type ImageQualityWithLiterals, ImageSize, type ImageSizeWithLiterals, ImageStableDiffusionModel, type ImageStableDiffusionModelWithLiterals, ImageStyle, type ImageStyleWithLiterals, type ImageUrl, type ImageUrlContent, type ImageUsage, ImagenModel, type ImagenModelWithLiterals, type IncompleteDetails, type InputSchema, type Inputs, type Instance, type InvokeAnthropicClaudeModelRequest, type InvokeAnthropicClaudeModelRequestTool, type InvokeAnthropicClaudeModelResponse, type InvokeAnthropicModelRequest, type InvokeAnthropicModelResponse, type InvokeChatCompletionRequest, type InvokeChatCompletionRequestResponseFormat, type InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf, type InvokeChatCompletionResponse, type InvokeChatCompletionResponseChoice, type InvokeChatCompletionResponseUsage, type InvokeLlamaModelRequest, type InvokeLlamaModelResponse, type InvokeMlPlatformLlamaModelRequest, type InvokeMlPlatformLlamaModelResponse, type InvokeMlPlatformOpenAIChatCompletionRawRequest, type InvokeMlPlatformOpenAIChatCompletionRawResponse, type JsonSchema, Language, type LanguageWithLiterals, LlamaModel, type LlamaModelWithLiterals, type LoraModelSelect, type LucatacoFlorence2Large, type McpServer, type McpServerToolConfiguration, McpServerType, type McpServerTypeWithLiterals, type McpToolUse, type MediaContent, type MediaResolution, MediaResolutionLevel, type MediaResolutionLevelWithLiterals, MediaType, type MediaTypeWithLiterals, type MessageDelta, type MessageEnvelope, MessageRole, MessageRoleRole, type MessageRoleRoleWithLiterals, type MessageRoleWithLiterals, type Metadata, Modality, type ModalityTokenCount, type ModalityWithLiterals, Mode, type ModeWithLiterals, Model, type ModelWithLiterals, OpenAiImageModel, type OpenAiImageModelWithLiterals, type OpenAiImageTokenDetails, type OpenAiResponsesRequest, type OpenAiResponsesResponse, type OpenAiResponsesResponseIncompleteDetails, type OpenaiproxyV1ChatCompletionMessage, type OpenaiproxyV1ChatCompletionMessageContentPart, type OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOf, type OpenaiproxyV1ChatCompletionMessageImageUrlContent, OpenaiproxyV1ChatCompletionMessageMessageRole, type OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals, type OpenaiproxyV1CreateChatCompletionRequest, type OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf, type OpenaiproxyV1CreateChatCompletionRequestResponseFormat, type OpenaiproxyV1CreateChatCompletionResponse, type OpenaiproxyV1CreateChatCompletionResponseChoice, type OpenaiproxyV1CreateChatCompletionResponseTokenUsage, OpenaiproxyV1Model, type OpenaiproxyV1ModelWithLiterals, Outcome, type OutcomeWithLiterals, type OutpaintDirection, type OutputAnnotation, type OutputAnnotationAnnotationTypeOneOf, type OutputContent, OutputFormat, type OutputFormatWithLiterals, type OutputOptions, type PageLocationCitation, type Parameters, type PerceptronIsaac01, type PerplexityImageDescriptor, type PerplexityMessage, PerplexityMessageMessageRole, type PerplexityMessageMessageRoleWithLiterals, PerplexityModel, type PerplexityModelWithLiterals, PersonGeneration, type PersonGenerationWithLiterals, type PredictParameters, type Prediction, type Prompt, type PromptModelRequestOneOf, type PromptProxy, type PromptProxyCompletedEnvelope, type PromptTokenDetails, type PronunciationDictionaryLocator, type PrunaaiZImageTurbo, type PublicationDate, type RedactedThinking, type RequestMetadata, type ResponseFormat, type ResponseMetadata, ResponseType, ResponseTypeType, type ResponseTypeTypeWithLiterals, type ResponseTypeWithLiterals, type ResponsesCodeInterpreter, type ResponsesCodeInterpreterContainer, type ResponsesCodeInterpreterContainerAuto, type ResponsesCodeInterpreterContainerContainerTypeOneOf, type ResponsesCodeInterpreterImageOutput, type ResponsesCodeInterpreterLogsOutput, type ResponsesCodeInterpreterOutput, type ResponsesCodeInterpreterOutputOutputTypeOneOf, type ResponsesCodeInterpreterToolCall, type ResponsesFunction, type ResponsesFunctionToolCall, type ResponsesFunctionToolCallOutput, type ResponsesInputItem, type ResponsesInputItemItemOneOf, type ResponsesInputMessage, type ResponsesInputMessageContent, type ResponsesInputMessageContentContentValueOneOf, type ResponsesInputMessageContentFileInput, type ResponsesInputMessageContentImageInput, ResponsesInputMessageResponsesMessageRole, type ResponsesInputMessageResponsesMessageRoleWithLiterals, type ResponsesInputTokensDetails, ResponsesMessageRole, type ResponsesMessageRoleWithLiterals, ResponsesModel, type ResponsesModelWithLiterals, type ResponsesOutput, type ResponsesOutputMessage, type ResponsesOutputMessageOutputContent, type ResponsesOutputOutputOneOf, type ResponsesOutputTokensDetails, type ResponsesReasoning, type ResponsesReasoningContent, type ResponsesReasoningOutput, type ResponsesReasoningSummaryContent, type ResponsesTextFormat, type ResponsesTextFormatFormatOneOf, type ResponsesTextFormatJsonSchema, type ResponsesTokenUsage, type ResponsesTool, type ResponsesToolChoice, type ResponsesToolToolTypeOneOf, type ResponsesWebSearch, type ResponsesWebSearchToolCall, type ResponsesWebSearchToolCallAction, type ResponsesWebSearchUserLocation, type RestoreInfo, type ResultObject, type RetrievalMetadata, type RetrievedContext, type ReveEdit, Role, type RoleWithLiterals, type SafetyAttribute, type SafetyAttributes, type SafetyRating, type SafetySetting, Sampler, type SamplerWithLiterals, type SearchEntryPoint, type SearchResultLocationCitation, type Segment, type ServerToolUse, type SimpleContentBlock, type SimpleContentBlockTypeOneOf, type SpeechChunk, SpeechModel, type SpeechModelWithLiterals, type SpiGenerationConfig, StylePreset, type StylePresetWithLiterals, type SystemInstruction, TaskInput, type TaskInputWithLiterals, type Text, TextBisonModel, type TextBisonModelWithLiterals, type TextBisonPredictRequest, type TextBisonPredictResponse, type TextBisonPrediction, type TextContent, type TextEditorTool, type TextInstance, type TextPrompt, type TextToImageRequest, TextToImageRequestModel, type TextToImageRequestModelWithLiterals, TextToImageRequestStylePreset, type TextToImageRequestStylePresetWithLiterals, type TextToImageResponse, type TextToImageTaskResult, type TextToSpeechChunk, type TextToSpeechRequest, type Thinking, type ThinkingConfig, type ThinkingTextContent, Threshold, type ThresholdWithLiterals, type TokenCount, type TokenMetadata, type TokenUsage, type Tool, type ToolCall, type ToolChoice, ToolChoiceType, type ToolChoiceTypeWithLiterals, type ToolConfig, type ToolConfiguration, type ToolResult, type ToolResultContent, type ToolResultContentBlock, type ToolResultContentBlockTypeOneOf, type ToolResultSearchResult, type ToolUse, type ToolUseContent, Type, type TypeWithLiterals, type UrlCitation, type Usage, type UsageCacheCreation, type UsageMetadata, type UsageServerToolUse, type UserLocation, type UserRequestInfo, type V1AnthropicClaudeMessage, type V1AnthropicStreamChunk, type V1AnthropicStreamChunkContentOneOf, type V1AnthropicStreamChunkMessageDelta, type V1CacheControl, V1CacheControlType, type V1CacheControlTypeWithLiterals, type V1ChatCompletionChunk, type V1ChatCompletionMessage, type V1ChatCompletionMessageContentPart, type V1ChatCompletionMessageContentPartContentValueOneOf, type V1ChatCompletionMessageImageUrlContent, V1ChatCompletionMessageMessageRole, type V1ChatCompletionMessageMessageRoleWithLiterals, type V1Citation, type V1CodeExecutionResult, type V1ContentBlock, type V1ContentBlockDelta, type V1ContentBlockDeltaDeltaOneOf, type V1ContentBlockTypeOneOf, type V1ContentPart, type V1CreateChatCompletionRequest, type V1CreateChatCompletionRequestResponseFormat, type V1CreateChatCompletionRequestTool, type V1CreateChatCompletionResponse, type V1CreateChatCompletionResponseChoice, type V1CreateChatCompletionResponseTokenUsage, type V1FineTuningSpec, type V1FluxPulid, type V1ImageInput, V1ImageMediaTypeMediaType, type V1ImageMediaTypeMediaTypeWithLiterals, V1ImageModel, type V1ImageModelWithLiterals, type V1ImageObject, type V1ImageUrl, type V1InputSchema, type V1InvokeAnthropicClaudeModelRequest, type V1InvokeAnthropicClaudeModelResponse, type V1McpServer, type V1McpServerToolConfiguration, V1McpServerType, type V1McpServerTypeWithLiterals, V1MessageRoleRole, type V1MessageRoleRoleWithLiterals, V1Model, type V1ModelWithLiterals, type V1OpenAiResponsesRequest, type V1OpenAiResponsesResponse, type V1OutputAnnotation, type V1OutputAnnotationAnnotationTypeOneOf, type V1RedactedThinking, V1ResponseTypeType, type V1ResponseTypeTypeWithLiterals, type V1ResponsesCodeInterpreter, type V1ResponsesCodeInterpreterContainer, type V1ResponsesCodeInterpreterContainerAuto, type V1ResponsesCodeInterpreterContainerContainerTypeOneOf, type V1ResponsesCodeInterpreterImageOutput, type V1ResponsesCodeInterpreterLogsOutput, type V1ResponsesCodeInterpreterOutput, type V1ResponsesCodeInterpreterOutputOutputTypeOneOf, type V1ResponsesCodeInterpreterToolCall, type V1ResponsesFunction, type V1ResponsesFunctionToolCall, type V1ResponsesFunctionToolCallOutput, type V1ResponsesInputItem, type V1ResponsesInputItemItemOneOf, type V1ResponsesInputMessage, type V1ResponsesInputMessageContent, type V1ResponsesInputMessageContentContentValueOneOf, type V1ResponsesInputTokensDetails, V1ResponsesModel, type V1ResponsesModelWithLiterals, type V1ResponsesOutput, type V1ResponsesOutputMessage, type V1ResponsesOutputOutputOneOf, type V1ResponsesOutputTokensDetails, type V1ResponsesReasoning, type V1ResponsesReasoningContent, type V1ResponsesReasoningOutput, type V1ResponsesReasoningSummaryContent, type V1ResponsesTextFormat, type V1ResponsesTextFormatFormatOneOf, type V1ResponsesTokenUsage, type V1ResponsesTool, type V1ResponsesToolChoice, type V1ResponsesToolToolTypeOneOf, type V1ResponsesWebSearch, type V1ResponsesWebSearchToolCall, type V1SimpleContentBlock, type V1SimpleContentBlockTypeOneOf, type V1Text, type V1TextToImageRequest, type V1TextToImageResponse, type V1Thinking, type V1ThinkingConfig, type V1TokenUsage, type V1Tool, type V1ToolChoice, V1ToolChoiceType, type V1ToolChoiceTypeWithLiterals, type V1ToolKindOneOf, type V1ToolResult, type V1ToolUse, type V1UrlCitation, type V1Usage, V1VideoModel, type V1VideoModelWithLiterals, VideoGenModel, type VideoGenModelWithLiterals, type VideoInferenceRequest, type VideoInferenceResponse, type VideoInferenceTaskResult, type VideoJob, VideoModel, type VideoModelWithLiterals, type VoiceSettings, type Web, type WebFetchTool, type WebFetchToolResult, type WebFetchToolResultContentError, type WebFetchToolResultContentOneOf, type WebFetchToolResultContentSuccess, type WebSearchResult, type WebSearchResultList, type WebSearchResultLocationCitation, type WebSearchTool, type WebSearchToolResult, type WebSearchToolResultContentOneOf, type WebSearchToolResultError, type WebSearchUserLocation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, onPromptProxyCompleted };
|
|
10197
|
+
export { type Action, type ActionEvent, type AlignmentInfoInChunk, type AnthropicClaudeMessage, type AnthropicMessage, AnthropicModel, type AnthropicModelWithLiterals, type AnthropicStreamChunk, type AnthropicStreamChunkContentOneOf, type AnthropicStreamChunkMessageDelta, type AnthropicV1Tool, type AnthropicV1ToolKindOneOf, type AsyncGenerationConfig, type BaseEventMetadata, type BashTool, type Blob, type BuiltInTool, type CacheControl, CacheControlType, type CacheControlTypeWithLiterals, type Candidate, type CandidateCitationMetadata, type CandidateCitationMetadataCitation, type CandidateContent, type CandidateContentPart, type CharLocationCitation, ChatBisonModel, type ChatBisonModelWithLiterals, type ChatBisonPredictRequest, type ChatBisonPredictResponse, type ChatBisonPrediction, type ChatCompletionChunk, type ChatCompletionChunkChunkChoice, type ChatCompletionMessage, type ChatCompletionMessageContentPart, type ChatCompletionMessageContentPartContentValueOneOf, type ChatCompletionMessageFunctionWithArgs, type ChatCompletionMessageImageUrlContent, ChatCompletionMessageMessageRole, type ChatCompletionMessageMessageRoleWithLiterals, type ChatCompletionMessageToolCall, ChatCompletionModel, type ChatCompletionModelWithLiterals, type ChatInstance, type ChatMessage, type Choice, type ChunkChoice, type ChunkChoiceChunkDelta, type ChunkDelta, type Citation, type CitationMetadata, type CitationTypeOneOf, type CitationsEnabled, ClaudeModel, type ClaudeModelWithLiterals, ClipGuidancePreset, type ClipGuidancePresetWithLiterals, type CodeExecution, type CodeExecutionResult, type CodeExecutionTool, type CodeExecutionToolResult, type CodeExecutionToolResultContentOneOf, type CodeExecutionToolResultError, type CompletionTokenDetails, type ComputerUse, type ComputerUseTool, type Container, type ContainerUpload, type Content, type ContentBlock, type ContentBlockDelta, type ContentBlockDeltaDeltaOneOf, type ContentBlockLocationCitation, type ContentBlockTypeOneOf, type ContentData, type ContentPart, type ContentPartContentValueOneOf, ContentRole, type ContentRoleWithLiterals, type ConverseContentBlock, type ConverseContentBlockContentOneOf, type ConverseInputSchema, type ConverseMessage, ConverseModel, type ConverseModelWithLiterals, type ConverseReasoningContent, type ConverseToolResult, type ConverseToolResultContent, type ConverseToolResultContentContentOneOf, type ConverseToolUse, type CreateChatCompletionRequest, type CreateChatCompletionRequestFunctionCallOneOf, type CreateChatCompletionRequestFunctionSignature, type CreateChatCompletionRequestResponseFormat, type CreateChatCompletionRequestTool, type CreateChatCompletionResponse, type CreateChatCompletionResponseChoice, type CreateChatCompletionResponseCompletionTokenDetails, type CreateChatCompletionResponsePromptTokenDetails, type CreateChatCompletionResponseTokenUsage, type CreateImageOpenAiRequest, type CreateImageOpenAiResponse, type CreateImageRequest, type CreateImageResponse, CreatePredictionModel, type CreatePredictionModelWithLiterals, type CreatePredictionRequest, type CreatePredictionRequestInputOneOf, type CreatePredictionResponse, type CreatePredictionResponseTokenUsage, type CreateSpeechRequest, type CreateVideoRequest, type CreateVideoResponse, type CustomTool, type DocumentContent, type DocumentSource, type DomainEvent, type DomainEventBodyOneOf, type DynamicRequestConfig, type DynamicRetrievalConfig, DynamicRetrievalConfigMode, type DynamicRetrievalConfigModeWithLiterals, type EditImageOpenAiRequest, type EditImageOpenAiResponse, type EditImageWithPromptRequest, EditImageWithPromptRequestModel, type EditImageWithPromptRequestModelWithLiterals, type EditImageWithPromptResponse, ElevenLabsTextToSpeechModel, type ElevenLabsTextToSpeechModelWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, Environment, type EnvironmentWithLiterals, type ErrorInfo, type EventMetadata, type Example, type ExecutableCode, type FallbackPromptConfig, type FallbackProperties, type FileInput, type FineTuningSpec, FinishReason, type FinishReasonWithLiterals, type FluxDevControlnet, type FluxPulid, type FrameImage, type FunctionCall, type FunctionCallingConfig, type FunctionDeclaration, type FunctionResponse, type FunctionSignature, type FunctionWithArgs, type GatewayContentBlock, type GatewayContentBlockTypeOneOf, type GatewayMessageDefinition, GatewayMessageDefinitionRole, type GatewayMessageDefinitionRoleWithLiterals, type GatewayToolDefinition, type GatewayToolDefinitionCustomTool, type GatewayToolDefinitionToolOneOf, GenerateAnImageModel, type GenerateAnImageModelWithLiterals, type GenerateAnImageRequest, type GenerateAnImageResponse, type GenerateAudioRequest, type GenerateAudioRequestAudioRequestOneOf, type GenerateAudioStreamedOptions, type GenerateAudioStreamedOptionsAudioRequestOneOf, type GenerateContentByPromptObjectAsyncOptions, type GenerateContentByPromptObjectOptions, type GenerateContentByPromptObjectRequest, type GenerateContentByPromptObjectResponse, type GenerateContentModelResponse, type GenerateContentModelResponseResponseOneOf, type GenerateContentRequest, type GenerateContentResponse, type GenerateCoreRequest, GenerateCoreRequestStylePreset, type GenerateCoreRequestStylePresetWithLiterals, type GenerateCoreResponse, GenerateImageMlPlatformModel, type GenerateImageMlPlatformModelWithLiterals, type GenerateImageMlPlatformRequest, type GenerateImageMlPlatformRequestInputOneOf, type GenerateImageMlPlatformResponse, type GenerateImageRequest, type GenerateImageResponse, type GenerateStableDiffusionRequest, GenerateStableDiffusionRequestOutputFormat, type GenerateStableDiffusionRequestOutputFormatWithLiterals, type GenerateStableDiffusionResponse, type GenerateTextByPromptObjectRequest, type GenerateTextByPromptObjectStreamedOptions, type GenerateVideoInstance, type GenerateVideoParameters, type GenerateVideoRequest, type GenerateVideoResponse, type GeneratedAudioChunk, type GeneratedAudioChunkAudioChunkOneOf, type GeneratedContent, type GeneratedTextChunk, type GeneratedTextChunkModelChunkOneOf, type GeneratedVideo, type GenerationCompletedResultEvent, type GenerationConfig, GenerationMode, type GenerationModeWithLiterals, type GenerationThinkingConfig, type GoogleSearch, type GoogleSearchRetrieval, type GoogleproxyV1AnthropicStreamChunk, type GoogleproxyV1AnthropicStreamChunkContentOneOf, type GoogleproxyV1CacheControl, type GoogleproxyV1ChatCompletionMessage, type GoogleproxyV1ContentBlock, type GoogleproxyV1ContentBlockDelta, type GoogleproxyV1ContentBlockDeltaDeltaOneOf, type GoogleproxyV1ContentBlockTypeOneOf, type GoogleproxyV1ImageUrl, type GoogleproxyV1InputSchema, type GoogleproxyV1McpServer, GoogleproxyV1McpServerType, type GoogleproxyV1McpServerTypeWithLiterals, GoogleproxyV1Model, type GoogleproxyV1ModelWithLiterals, type GoogleproxyV1RedactedThinking, GoogleproxyV1ResponseTypeType, type GoogleproxyV1ResponseTypeTypeWithLiterals, type GoogleproxyV1Text, type GoogleproxyV1Thinking, type GoogleproxyV1ThinkingConfig, type GoogleproxyV1Tool, type GoogleproxyV1ToolChoice, GoogleproxyV1ToolChoiceType, type GoogleproxyV1ToolChoiceTypeWithLiterals, type GoogleproxyV1ToolResult, type GoogleproxyV1ToolUse, type GoogleproxyV1Usage, type GroundingChunk, type GroundingChunkChunkTypeOneOf, type GroundingMetadata, type GroundingSupport, HarmCategory, type HarmCategoryWithLiterals, HarmProbability, type HarmProbabilityWithLiterals, type IdentificationData, type IdentificationDataIdOneOf, type ImageConfig, ImageCoreModel, type ImageCoreModelWithLiterals, type ImageInput, ImageMediaTypeMediaType, type ImageMediaTypeMediaTypeWithLiterals, ImageModel, type ImageModelWithLiterals, type ImageObject, type ImageOutputOptions, ImageQuality, type ImageQualityWithLiterals, ImageSize, type ImageSizeWithLiterals, ImageStableDiffusionModel, type ImageStableDiffusionModelWithLiterals, ImageStyle, type ImageStyleWithLiterals, type ImageUrl, type ImageUrlContent, type ImageUsage, ImagenModel, type ImagenModelWithLiterals, type IncompleteDetails, type InferenceConfig, type InputSchema, type Inputs, type Instance, type InvokeAnthropicClaudeModelRequest, type InvokeAnthropicClaudeModelRequestTool, type InvokeAnthropicClaudeModelResponse, type InvokeAnthropicModelRequest, type InvokeAnthropicModelResponse, type InvokeChatCompletionRequest, type InvokeChatCompletionRequestResponseFormat, type InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf, type InvokeChatCompletionResponse, type InvokeChatCompletionResponseChoice, type InvokeChatCompletionResponseUsage, type InvokeConverseRequest, type InvokeConverseResponse, type InvokeConverseResponseTokenUsage, type InvokeLlamaModelRequest, type InvokeLlamaModelResponse, type InvokeMlPlatformLlamaModelRequest, type InvokeMlPlatformLlamaModelResponse, type InvokeMlPlatformOpenAIChatCompletionRawRequest, type InvokeMlPlatformOpenAIChatCompletionRawResponse, type JsonSchema, Language, type LanguageWithLiterals, LlamaModel, type LlamaModelWithLiterals, type LoraModelSelect, type LucatacoFlorence2Large, type McpServer, type McpServerToolConfiguration, McpServerType, type McpServerTypeWithLiterals, type McpToolUse, type MediaContent, type MediaResolution, MediaResolutionLevel, type MediaResolutionLevelWithLiterals, MediaType, type MediaTypeWithLiterals, type MessageDelta, type MessageEnvelope, MessageRole, MessageRoleRole, type MessageRoleRoleWithLiterals, type MessageRoleWithLiterals, type Metadata, type Metrics, Modality, type ModalityTokenCount, type ModalityWithLiterals, Mode, type ModeWithLiterals, Model, type ModelWithLiterals, OpenAiImageModel, type OpenAiImageModelWithLiterals, type OpenAiImageTokenDetails, type OpenAiResponsesRequest, type OpenAiResponsesResponse, type OpenAiResponsesResponseIncompleteDetails, type OpenaiproxyV1ChatCompletionMessage, type OpenaiproxyV1ChatCompletionMessageContentPart, type OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOf, type OpenaiproxyV1ChatCompletionMessageImageUrlContent, OpenaiproxyV1ChatCompletionMessageMessageRole, type OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals, type OpenaiproxyV1CreateChatCompletionRequest, type OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf, type OpenaiproxyV1CreateChatCompletionRequestResponseFormat, type OpenaiproxyV1CreateChatCompletionResponse, type OpenaiproxyV1CreateChatCompletionResponseChoice, type OpenaiproxyV1CreateChatCompletionResponseTokenUsage, OpenaiproxyV1Model, type OpenaiproxyV1ModelWithLiterals, Outcome, type OutcomeWithLiterals, type OutpaintDirection, type Output, type OutputAnnotation, type OutputAnnotationAnnotationTypeOneOf, type OutputContent, OutputFormat, type OutputFormatWithLiterals, type OutputOptions, type PageLocationCitation, type Parameters, type PerceptronIsaac01, type PerformanceConfig, type PerplexityImageDescriptor, type PerplexityMessage, PerplexityMessageMessageRole, type PerplexityMessageMessageRoleWithLiterals, PerplexityModel, type PerplexityModelWithLiterals, PersonGeneration, type PersonGenerationWithLiterals, type PredictParameters, type Prediction, type Prompt, type PromptModelRequestOneOf, type PromptProxy, type PromptProxyCompletedEnvelope, type PromptTokenDetails, type PronunciationDictionaryLocator, type PrunaaiZImageTurbo, type PublicationDate, type ReasoningText, type RedactedThinking, type RequestMetadata, type ResponseFormat, type ResponseMetadata, ResponseType, ResponseTypeType, type ResponseTypeTypeWithLiterals, type ResponseTypeWithLiterals, type ResponsesCodeInterpreter, type ResponsesCodeInterpreterContainer, type ResponsesCodeInterpreterContainerAuto, type ResponsesCodeInterpreterContainerContainerTypeOneOf, type ResponsesCodeInterpreterImageOutput, type ResponsesCodeInterpreterLogsOutput, type ResponsesCodeInterpreterOutput, type ResponsesCodeInterpreterOutputOutputTypeOneOf, type ResponsesCodeInterpreterToolCall, type ResponsesFunction, type ResponsesFunctionToolCall, type ResponsesFunctionToolCallOutput, type ResponsesInputItem, type ResponsesInputItemItemOneOf, type ResponsesInputMessage, type ResponsesInputMessageContent, type ResponsesInputMessageContentContentValueOneOf, type ResponsesInputMessageContentFileInput, type ResponsesInputMessageContentImageInput, ResponsesInputMessageResponsesMessageRole, type ResponsesInputMessageResponsesMessageRoleWithLiterals, type ResponsesInputTokensDetails, ResponsesMessageRole, type ResponsesMessageRoleWithLiterals, ResponsesModel, type ResponsesModelWithLiterals, type ResponsesOutput, type ResponsesOutputMessage, type ResponsesOutputMessageOutputContent, type ResponsesOutputOutputOneOf, type ResponsesOutputTokensDetails, type ResponsesReasoning, type ResponsesReasoningContent, type ResponsesReasoningOutput, type ResponsesReasoningSummaryContent, type ResponsesTextFormat, type ResponsesTextFormatFormatOneOf, type ResponsesTextFormatJsonSchema, type ResponsesTokenUsage, type ResponsesTool, type ResponsesToolChoice, type ResponsesToolToolTypeOneOf, type ResponsesWebSearch, type ResponsesWebSearchToolCall, type ResponsesWebSearchToolCallAction, type ResponsesWebSearchUserLocation, type RestoreInfo, type ResultObject, type RetrievalMetadata, type RetrievedContext, type ReveEdit, Role, type RoleWithLiterals, type SafetyAttribute, type SafetyAttributes, type SafetyRating, type SafetySetting, Sampler, type SamplerWithLiterals, type SearchEntryPoint, type SearchResultLocationCitation, type Segment, type ServerToolUse, type SimpleContentBlock, type SimpleContentBlockTypeOneOf, type SpeechChunk, SpeechModel, type SpeechModelWithLiterals, type SpiGenerationConfig, StylePreset, type StylePresetWithLiterals, type SystemContentBlock, type SystemInstruction, TaskInput, type TaskInputWithLiterals, type Text, TextBisonModel, type TextBisonModelWithLiterals, type TextBisonPredictRequest, type TextBisonPredictResponse, type TextBisonPrediction, type TextContent, type TextEditorTool, type TextInstance, type TextPrompt, type TextToImageRequest, TextToImageRequestModel, type TextToImageRequestModelWithLiterals, TextToImageRequestStylePreset, type TextToImageRequestStylePresetWithLiterals, type TextToImageResponse, type TextToImageTaskResult, type TextToSpeechChunk, type TextToSpeechRequest, type Thinking, type ThinkingConfig, type ThinkingTextContent, Threshold, type ThresholdWithLiterals, type TokenCount, type TokenMetadata, type TokenUsage, type Tool, type ToolCall, type ToolChoice, ToolChoiceType, type ToolChoiceTypeWithLiterals, type ToolConfig, type ToolConfiguration, type ToolResult, type ToolResultContent, type ToolResultContentBlock, type ToolResultContentBlockTypeOneOf, type ToolResultSearchResult, type ToolSpecification, type ToolUse, type ToolUseContent, Type, type TypeWithLiterals, type UrlCitation, type Usage, type UsageCacheCreation, type UsageMetadata, type UsageServerToolUse, type UserLocation, type UserRequestInfo, type V1AnthropicClaudeMessage, type V1AnthropicStreamChunk, type V1AnthropicStreamChunkContentOneOf, type V1AnthropicStreamChunkMessageDelta, type V1CacheControl, V1CacheControlType, type V1CacheControlTypeWithLiterals, type V1ChatCompletionChunk, type V1ChatCompletionMessage, type V1ChatCompletionMessageContentPart, type V1ChatCompletionMessageContentPartContentValueOneOf, type V1ChatCompletionMessageImageUrlContent, V1ChatCompletionMessageMessageRole, type V1ChatCompletionMessageMessageRoleWithLiterals, type V1Citation, type V1CodeExecutionResult, type V1ContentBlock, type V1ContentBlockDelta, type V1ContentBlockDeltaDeltaOneOf, type V1ContentBlockTypeOneOf, type V1ContentPart, type V1CreateChatCompletionRequest, type V1CreateChatCompletionRequestResponseFormat, type V1CreateChatCompletionRequestTool, type V1CreateChatCompletionResponse, type V1CreateChatCompletionResponseChoice, type V1CreateChatCompletionResponseTokenUsage, type V1FineTuningSpec, type V1FluxPulid, type V1ImageInput, V1ImageMediaTypeMediaType, type V1ImageMediaTypeMediaTypeWithLiterals, V1ImageModel, type V1ImageModelWithLiterals, type V1ImageObject, type V1ImageUrl, type V1InputSchema, type V1InvokeAnthropicClaudeModelRequest, type V1InvokeAnthropicClaudeModelResponse, type V1McpServer, type V1McpServerToolConfiguration, V1McpServerType, type V1McpServerTypeWithLiterals, V1MessageRoleRole, type V1MessageRoleRoleWithLiterals, V1Model, type V1ModelWithLiterals, type V1OpenAiResponsesRequest, type V1OpenAiResponsesResponse, type V1OutputAnnotation, type V1OutputAnnotationAnnotationTypeOneOf, type V1RedactedThinking, V1ResponseTypeType, type V1ResponseTypeTypeWithLiterals, type V1ResponsesCodeInterpreter, type V1ResponsesCodeInterpreterContainer, type V1ResponsesCodeInterpreterContainerAuto, type V1ResponsesCodeInterpreterContainerContainerTypeOneOf, type V1ResponsesCodeInterpreterImageOutput, type V1ResponsesCodeInterpreterLogsOutput, type V1ResponsesCodeInterpreterOutput, type V1ResponsesCodeInterpreterOutputOutputTypeOneOf, type V1ResponsesCodeInterpreterToolCall, type V1ResponsesFunction, type V1ResponsesFunctionToolCall, type V1ResponsesFunctionToolCallOutput, type V1ResponsesInputItem, type V1ResponsesInputItemItemOneOf, type V1ResponsesInputMessage, type V1ResponsesInputMessageContent, type V1ResponsesInputMessageContentContentValueOneOf, type V1ResponsesInputTokensDetails, V1ResponsesModel, type V1ResponsesModelWithLiterals, type V1ResponsesOutput, type V1ResponsesOutputMessage, type V1ResponsesOutputOutputOneOf, type V1ResponsesOutputTokensDetails, type V1ResponsesReasoning, type V1ResponsesReasoningContent, type V1ResponsesReasoningOutput, type V1ResponsesReasoningSummaryContent, type V1ResponsesTextFormat, type V1ResponsesTextFormatFormatOneOf, type V1ResponsesTokenUsage, type V1ResponsesTool, type V1ResponsesToolChoice, type V1ResponsesToolToolTypeOneOf, type V1ResponsesWebSearch, type V1ResponsesWebSearchToolCall, type V1SimpleContentBlock, type V1SimpleContentBlockTypeOneOf, type V1Text, type V1TextToImageRequest, type V1TextToImageResponse, type V1Thinking, type V1ThinkingConfig, type V1TokenUsage, type V1Tool, type V1ToolChoice, V1ToolChoiceType, type V1ToolChoiceTypeWithLiterals, type V1ToolConfig, type V1ToolResult, type V1ToolUse, type V1UrlCitation, type V1Usage, V1VideoModel, type V1VideoModelWithLiterals, VideoGenModel, type VideoGenModelWithLiterals, type VideoInferenceRequest, type VideoInferenceResponse, type VideoInferenceTaskResult, type VideoJob, VideoModel, type VideoModelWithLiterals, type VoiceSettings, type Web, type WebFetchTool, type WebFetchToolResult, type WebFetchToolResultContentError, type WebFetchToolResultContentOneOf, type WebFetchToolResultContentSuccess, type WebSearchResult, type WebSearchResultList, type WebSearchResultLocationCitation, type WebSearchTool, type WebSearchToolResult, type WebSearchToolResultContentOneOf, type WebSearchToolResultError, type WebSearchUserLocation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, onPromptProxyCompleted };
|
|
@@ -53,6 +53,8 @@ function generateContentByPromptObject(payload) {
|
|
|
53
53
|
{ path: "prompt.googleAnthropicClaudeRequest.topP" },
|
|
54
54
|
{ path: "prompt.invokeAnthropicModelRequest.temperature" },
|
|
55
55
|
{ path: "prompt.invokeAnthropicModelRequest.topP" },
|
|
56
|
+
{ path: "prompt.amazonConverseRequest.inferenceConfig.temperature" },
|
|
57
|
+
{ path: "prompt.amazonConverseRequest.inferenceConfig.topP" },
|
|
56
58
|
{ path: "prompt.stabilityAiTextToImageRequest.textPrompts.weight" },
|
|
57
59
|
{ path: "prompt.stabilityAiStableDiffusionRequest.strength" },
|
|
58
60
|
{
|
|
@@ -200,6 +202,12 @@ function generateContentByPromptObject(payload) {
|
|
|
200
202
|
path: "materializedPrompt.invokeAnthropicModelRequest.temperature"
|
|
201
203
|
},
|
|
202
204
|
{ path: "materializedPrompt.invokeAnthropicModelRequest.topP" },
|
|
205
|
+
{
|
|
206
|
+
path: "materializedPrompt.amazonConverseRequest.inferenceConfig.temperature"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
path: "materializedPrompt.amazonConverseRequest.inferenceConfig.topP"
|
|
210
|
+
},
|
|
203
211
|
{
|
|
204
212
|
path: "materializedPrompt.stabilityAiTextToImageRequest.textPrompts.weight"
|
|
205
213
|
},
|
|
@@ -355,6 +363,8 @@ function generateTextByPromptObjectStreamed(payload) {
|
|
|
355
363
|
{ path: "prompt.googleAnthropicClaudeRequest.topP" },
|
|
356
364
|
{ path: "prompt.invokeAnthropicModelRequest.temperature" },
|
|
357
365
|
{ path: "prompt.invokeAnthropicModelRequest.topP" },
|
|
366
|
+
{ path: "prompt.amazonConverseRequest.inferenceConfig.temperature" },
|
|
367
|
+
{ path: "prompt.amazonConverseRequest.inferenceConfig.topP" },
|
|
358
368
|
{ path: "prompt.stabilityAiTextToImageRequest.textPrompts.weight" },
|
|
359
369
|
{ path: "prompt.stabilityAiStableDiffusionRequest.strength" },
|
|
360
370
|
{
|
|
@@ -493,6 +503,8 @@ function generateContentByPromptObjectAsync(payload) {
|
|
|
493
503
|
{ path: "prompt.googleAnthropicClaudeRequest.topP" },
|
|
494
504
|
{ path: "prompt.invokeAnthropicModelRequest.temperature" },
|
|
495
505
|
{ path: "prompt.invokeAnthropicModelRequest.topP" },
|
|
506
|
+
{ path: "prompt.amazonConverseRequest.inferenceConfig.temperature" },
|
|
507
|
+
{ path: "prompt.amazonConverseRequest.inferenceConfig.topP" },
|
|
496
508
|
{ path: "prompt.stabilityAiTextToImageRequest.textPrompts.weight" },
|
|
497
509
|
{ path: "prompt.stabilityAiStableDiffusionRequest.strength" },
|
|
498
510
|
{
|
|
@@ -640,6 +652,12 @@ function generateContentByPromptObjectAsync(payload) {
|
|
|
640
652
|
path: "materializedPrompt.invokeAnthropicModelRequest.temperature"
|
|
641
653
|
},
|
|
642
654
|
{ path: "materializedPrompt.invokeAnthropicModelRequest.topP" },
|
|
655
|
+
{
|
|
656
|
+
path: "materializedPrompt.amazonConverseRequest.inferenceConfig.temperature"
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
path: "materializedPrompt.amazonConverseRequest.inferenceConfig.topP"
|
|
660
|
+
},
|
|
643
661
|
{
|
|
644
662
|
path: "materializedPrompt.stabilityAiTextToImageRequest.textPrompts.weight"
|
|
645
663
|
},
|
|
@@ -1310,6 +1328,11 @@ var LlamaModel = /* @__PURE__ */ ((LlamaModel2) => {
|
|
|
1310
1328
|
LlamaModel2["LLAMA_3_2_3B_INSTRUCT_1_0"] = "LLAMA_3_2_3B_INSTRUCT_1_0";
|
|
1311
1329
|
return LlamaModel2;
|
|
1312
1330
|
})(LlamaModel || {});
|
|
1331
|
+
var ConverseModel = /* @__PURE__ */ ((ConverseModel2) => {
|
|
1332
|
+
ConverseModel2["UNKNOWN_CONVERSE_MODEL"] = "UNKNOWN_CONVERSE_MODEL";
|
|
1333
|
+
ConverseModel2["OPEN_AI_GPT_OSS_120B"] = "OPEN_AI_GPT_OSS_120B";
|
|
1334
|
+
return ConverseModel2;
|
|
1335
|
+
})(ConverseModel || {});
|
|
1313
1336
|
var ImageQuality = /* @__PURE__ */ ((ImageQuality2) => {
|
|
1314
1337
|
ImageQuality2["UNKNOWN_IMAGE_QUALITY"] = "UNKNOWN_IMAGE_QUALITY";
|
|
1315
1338
|
ImageQuality2["STANDARD"] = "STANDARD";
|
|
@@ -1735,6 +1758,7 @@ export {
|
|
|
1735
1758
|
ClaudeModel,
|
|
1736
1759
|
ClipGuidancePreset,
|
|
1737
1760
|
ContentRole,
|
|
1761
|
+
ConverseModel,
|
|
1738
1762
|
CreatePredictionModel,
|
|
1739
1763
|
DynamicRetrievalConfigMode,
|
|
1740
1764
|
EditImageWithPromptRequestModel,
|