@wix/auto_sdk_ai-gateway_generators 1.0.58 → 1.0.60
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 +12 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +12 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +12 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +12 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +10 -10
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +21 -14
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +12 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +10 -10
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +21 -14
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +12 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { GenerateTextByPromptOptions, GenerateTextByPromptResponse, GenerateTextByPromptStreamedOptions, GeneratedTextChunk, GenerateTextByPromptObjectOptions, GenerateTextByPromptObjectResponse, GenerateTextByPromptObjectStreamedOptions, GenerateEmbeddingOptions, GenerateEmbeddingsResponse, GenerateTextByProjectOptions, GenerateTextByProjectResponse, GenerateTextByProjectStreamedOptions, GenerateModerationOptions, GenerateModerationResponse, GenerateImageByProjectOptions, GenerateImageByProjectResponse, GenerateImageByPromptOptions, GenerateImageByPromptResponse, GenerateImageByPromptObjectOptions, GenerateImageByPromptObjectResponse, GenerateContentByPromptOptions, GenerateContentByPromptResponse, GenerateContentByProjectOptions, GenerateContentByProjectResponse, GenerateContentByPromptObjectOptions, GenerateContentByPromptObjectResponse, GenerateTranscriptionOptions, GenerateTranscriptionResponse, GenerateAudioOptions, GenerateAudioResponse, GenerateAudioStreamedOptions, GeneratedAudioChunk, PublishPromptOptions, GetPromptOptions, Prompt, PublishProjectOptions, GetProjectResponse, EntityTypeWithLiterals, GetStatusResponse, GetApplicationUsageResponse, EditImageOptions, Wix_ai_gatewayV1EditImageResponse, PollImageGenerationResultOptions, PollImageGenerationResultResponse } from './index.typings.mjs';
|
|
3
|
-
export { AccountDetails, Action, ActionEvent, AlignmentInfoInChunk, AnthropicClaudeMessage, AnthropicMessage, AnthropicModel, AnthropicModelWithLiterals, AnthropicStreamChunk, AnthropicStreamChunkContentOneOf, AnthropicStreamChunkMessageDelta, ApplicationBudgetInfo, AsyncGenerationConfig, Background, BashTool, Blob, BuiltInTool, CacheControl, CacheControlType, CacheControlTypeWithLiterals, Candidate, CandidateCitationMetadata, CandidateCitationMetadataCitation, CandidateContent, CandidateContentPart, CharLocationCitation, ChatBisonModel, ChatBisonModelWithLiterals, ChatBisonPredictRequest, ChatBisonPredictResponse, ChatBisonPrediction, ChatCompletionChunk, ChatCompletionChunkChunkChoice, ChatCompletionMessage, ChatCompletionMessageContentPart, ChatCompletionMessageContentPartContentValueOneOf, ChatCompletionMessageFunctionWithArgs, ChatCompletionMessageImageUrlContent, ChatCompletionMessageMessageRole, ChatCompletionMessageMessageRoleWithLiterals, ChatCompletionMessageToolCall, ChatCompletionModel, ChatCompletionModelWithLiterals, ChatInstance, ChatMessage, Choice, ChunkChoice, ChunkChoiceChunkDelta, ChunkDelta, Citation, CitationMetadata, CitationTypeOneOf, CitationsEnabled, ClaudeModel, ClaudeModelWithLiterals, ClipGuidancePreset, ClipGuidancePresetWithLiterals, CodeExecution, CodeExecutionResult, CodeExecutionTool, CodeExecutionToolResult, CodeExecutionToolResultContentOneOf, CodeExecutionToolResultError, CompletionTokenDetails, ComputerUse, ComputerUseTool, Container, ContainerUpload, Content, ContentBlock, ContentBlockDelta, ContentBlockDeltaDeltaOneOf, ContentBlockLocationCitation, ContentBlockTypeOneOf, ContentData, ContentGenerationFailedEvent, ContentGenerationRequestedEvent, ContentGenerationSucceededEvent, ContentPart, ContentPartContentValueOneOf, ContentRole, ContentRoleWithLiterals, ConverseContentBlock, ConverseContentBlockContentOneOf, ConverseInferenceConfig, ConverseInputSchema, ConverseMessage, ConverseModel, ConverseModelWithLiterals, ConversePerformanceConfig, ConverseReasoningContent, ConverseTool, ConverseToolResult, ConverseToolResultContent, ConverseToolResultContentContentOneOf, ConverseToolUse, CreateChatCompletionRequest, CreateChatCompletionRequestFunctionCallOneOf, CreateChatCompletionRequestFunctionSignature, CreateChatCompletionRequestResponseFormat, CreateChatCompletionRequestTool, CreateChatCompletionResponse, CreateChatCompletionResponseChoice, CreateChatCompletionResponseCompletionTokenDetails, CreateChatCompletionResponsePromptTokenDetails, CreateChatCompletionResponseTokenUsage, CreateEmbeddingsRequest, CreateEmbeddingsResponse, CreateEmbeddingsResponseEmbeddingUsage, CreateImageOpenAiRequest, CreateImageOpenAiResponse, CreateImageRequest, CreateImageResponse, CreateModerationRequest, CreateModerationResponse, CreatePredictionModel, CreatePredictionModelWithLiterals, CreatePredictionRequest, CreatePredictionRequestInputOneOf, CreatePredictionResponse, CreatePredictionResponseTokenUsage, CreateSpeechRequest, CreateSpeechResponse, CreateTranscriptionRequest, CreateTranscriptionRequestResponseFormat, CreateTranscriptionRequestResponseFormatWithLiterals, CreateTranscriptionResponse, CreateVideoRequest, CreateVideoResponse, CustomTool, DocumentContent, DocumentSource, DomainEvent, DomainEventBodyOneOf, DynamicRequestConfig, DynamicRetrievalConfig, DynamicRetrievalConfigMode, DynamicRetrievalConfigModeWithLiterals, EditAction, EditActionWithLiterals, EditImageInput, EditImageModel, EditImageModelWithLiterals, EditImageOpenAiRequest, EditImageOpenAiResponse, EditImageOptionsRequestOneOf, EditImageRequest, EditImageResponse, EditImageWithPromptRequest, EditImageWithPromptRequestModel, EditImageWithPromptRequestModelWithLiterals, EditImageWithPromptResponse, ElevenLabsTextToSpeechModel, ElevenLabsTextToSpeechModelWithLiterals, EmbeddingEncodingFormat, EmbeddingEncodingFormatWithLiterals, EmbeddingInfo, EmbeddingInfoEmbeddingResultOneOf, EmbeddingInstance, EmbeddingModel, EmbeddingModelWithLiterals, EmbeddingPrediction, EmbeddingUsage, EntityCreatedEvent, EntityDeletedEvent, EntityType, EntityUpdatedEvent, Environment, EnvironmentWithLiterals, ErrorInfo, Example, ExecutableCode, Expand, ExperimentalPromptConfig, Export, FallbackPromptConfig, FallbackProperties, FileContent, FileInput, FineTuningSpec, FinishReason, FinishReasonWithLiterals, FloatEmbedding, FluxDevControlnet, FluxPulid, FrameImage, FunctionCall, FunctionCallingConfig, FunctionDeclaration, FunctionResponse, FunctionSignature, FunctionWithArgs, GatewayContentBlock, GatewayContentBlockTypeOneOf, GatewayMessageDefinition, GatewayMessageDefinitionRole, GatewayMessageDefinitionRoleWithLiterals, GatewayToolDefinition, GatewayToolDefinitionCustomTool, GatewayToolDefinitionToolOneOf, GenerateAnImageModel, GenerateAnImageModelWithLiterals, GenerateAnImageRequest, GenerateAnImageResponse, GenerateAudioOptionsAudioRequestOneOf, GenerateAudioRequest, GenerateAudioRequestAudioRequestOneOf, GenerateAudioResponseAudioResponseOneOf, GenerateAudioStreamedOptionsAudioRequestOneOf, GenerateContentByProjectRequest, GenerateContentByPromptObjectRequest, GenerateContentByPromptRequest, GenerateContentModelResponse, GenerateContentModelResponseResponseOneOf, GenerateContentRequest, GenerateContentResponse, GenerateCoreRequest, GenerateCoreRequestStylePreset, GenerateCoreRequestStylePresetWithLiterals, GenerateCoreResponse, GenerateEmbeddingOptionsEmbeddingRequestOneOf, GenerateEmbeddingsRequest, GenerateEmbeddingsRequestEmbeddingRequestOneOf, GenerateEmbeddingsResponseEmbeddingResponseOneOf, GenerateImageByProjectRequest, GenerateImageByPromptObjectRequest, GenerateImageByPromptRequest, GenerateImageMlPlatformModel, GenerateImageMlPlatformModelWithLiterals, GenerateImageMlPlatformRequest, GenerateImageMlPlatformRequestInputOneOf, GenerateImageMlPlatformResponse, GenerateImageRequest, GenerateImageResponse, GenerateModerationOptionsModerationRequestOneOf, GenerateModerationRequest, GenerateModerationRequestModerationRequestOneOf, GenerateModerationResponseModerationResponseOneOf, GenerateStableDiffusionRequest, GenerateStableDiffusionRequestOutputFormat, GenerateStableDiffusionRequestOutputFormatWithLiterals, GenerateStableDiffusionResponse, GenerateTextByProjectRequest, GenerateTextByPromptObjectRequest, GenerateTextByPromptRequest, GenerateTranscriptionOptionsTranscriptionRequestOneOf, GenerateTranscriptionRequest, GenerateTranscriptionRequestTranscriptionRequestOneOf, GenerateTranscriptionResponseTranscriptionResponseOneOf, GenerateVideoInstance, GenerateVideoParameters, GenerateVideoRequest, GenerateVideoResponse, GeneratedAudioChunkAudioChunkOneOf, GeneratedContent, GeneratedTextChunkModelChunkOneOf, GeneratedVideo, GenerationConfig, GenerationMode, GenerationModeWithLiterals, GenerationRequestedEvent, GenerationThinkingConfig, GetApplicationUsageRequest, GetEmbeddingRequest, GetEmbeddingResponse, GetProjectRequest, GetPromptRequest, GetPromptResponse, GetResultRequest, GetResultResponse, GetStatusRequest, GetTaskResultRequest, GetTaskResultResponse, GetTaskResultResponseResponseOneOf, GetVideoResultRequest, GetVideoResultResponse, GoogleSearch, GoogleSearchRetrieval, GoogleproxyV1AnthropicStreamChunk, GoogleproxyV1AnthropicStreamChunkContentOneOf, GoogleproxyV1CacheControl, GoogleproxyV1ChatCompletionMessage, GoogleproxyV1ContentBlock, GoogleproxyV1ContentBlockDelta, GoogleproxyV1ContentBlockDeltaDeltaOneOf, GoogleproxyV1ContentBlockTypeOneOf, GoogleproxyV1ImageUrl, GoogleproxyV1InputSchema, GoogleproxyV1McpServer, GoogleproxyV1McpServerType, GoogleproxyV1McpServerTypeWithLiterals, GoogleproxyV1Model, GoogleproxyV1ModelWithLiterals, GoogleproxyV1RedactedThinking, GoogleproxyV1ResponseTypeType, GoogleproxyV1ResponseTypeTypeWithLiterals, GoogleproxyV1Text, GoogleproxyV1Thinking, GoogleproxyV1ThinkingConfig, GoogleproxyV1Tool, GoogleproxyV1ToolChoice, GoogleproxyV1ToolChoiceType, GoogleproxyV1ToolChoiceTypeWithLiterals, GoogleproxyV1ToolResult, GoogleproxyV1ToolUse, GoogleproxyV1Usage, GroundingChunk, GroundingChunkChunkTypeOneOf, GroundingMetadata, GroundingSupport, Guidance, HarmCategory, HarmCategoryWithLiterals, HarmProbability, HarmProbabilityWithLiterals, IdentificationData, IdentificationDataIdOneOf, ImageConfig, ImageCoreModel, ImageCoreModelWithLiterals, ImageEditingModel, ImageEditingModelWithLiterals, ImageEditingRequest, ImageEditingResponse, ImageGenerationFailedEvent, ImageGenerationRequestedEvent, ImageGenerationSucceededEvent, ImageInput, ImageMediaTypeMediaType, ImageMediaTypeMediaTypeWithLiterals, ImageModel, ImageModelResponse, ImageModelResponseResponseOneOf, ImageModelWithLiterals, ImageObject, ImageOutputOptions, ImageQuality, ImageQualityWithLiterals, ImageSize, ImageSizeWithLiterals, ImageStableDiffusionModel, ImageStableDiffusionModelWithLiterals, ImageStyle, ImageStyleWithLiterals, ImageUrl, ImageUrlContent, ImageUrlInput, ImageUsage, ImagenModel, ImagenModelWithLiterals, IncompleteDetails, InputSchema, Inputs, Instance, InvokeAnthropicClaudeModelRequest, InvokeAnthropicClaudeModelRequestTool, InvokeAnthropicClaudeModelResponse, InvokeAnthropicModelRequest, InvokeAnthropicModelResponse, InvokeChatCompletionRequest, InvokeChatCompletionRequestResponseFormat, InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf, InvokeChatCompletionResponse, InvokeChatCompletionResponseChoice, InvokeChatCompletionResponseUsage, InvokeConverseRequest, InvokeConverseResponse, InvokeConverseResponseTokenUsage, InvokeLlamaModelRequest, InvokeLlamaModelResponse, InvokeMlPlatformLlamaModelRequest, InvokeMlPlatformLlamaModelResponse, InvokeMlPlatformOpenAIChatCompletionRawRequest, InvokeMlPlatformOpenAIChatCompletionRawResponse, JsonSchema, Language, LanguageWithLiterals, Lighting, LlamaModel, LlamaModelWithLiterals, LoraModelSelect, LucatacoFlorence2Large, Margin, McpServer, McpServerToolConfiguration, McpServerType, McpServerTypeWithLiterals, McpToolUse, MediaContent, MediaResolution, MediaResolutionLevel, MediaResolutionLevelWithLiterals, MediaType, MediaTypeWithLiterals, MessageDelta, MessageEnvelope, MessageRole, MessageRoleRole, MessageRoleRoleWithLiterals, MessageRoleWithLiterals, Metadata, Metrics, Modality, ModalityTokenCount, ModalityWithLiterals, Mode, ModeWithLiterals, Model, ModelResponse, ModelResponseResponseOneOf, ModelWithLiterals, ModerationResult, MultiModalInput, MultiModalInputContentValueOneOf, OpenAiImageModel, OpenAiImageModelWithLiterals, OpenAiImageTokenDetails, OpenAiResponsesRequest, OpenAiResponsesResponse, OpenAiResponsesResponseIncompleteDetails, OpenaiproxyV1ChatCompletionMessage, OpenaiproxyV1ChatCompletionMessageContentPart, OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOf, OpenaiproxyV1ChatCompletionMessageImageUrlContent, OpenaiproxyV1ChatCompletionMessageMessageRole, OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals, OpenaiproxyV1CreateChatCompletionRequest, OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf, OpenaiproxyV1CreateChatCompletionRequestResponseFormat, OpenaiproxyV1CreateChatCompletionResponse, OpenaiproxyV1CreateChatCompletionResponseChoice, OpenaiproxyV1CreateChatCompletionResponseTokenUsage, OpenaiproxyV1EmbeddingModel, OpenaiproxyV1EmbeddingModelWithLiterals, OpenaiproxyV1Model, OpenaiproxyV1ModelWithLiterals, OutageStatus, OutageStatusWithLiterals, Outcome, OutcomeWithLiterals, OutpaintDirection, Output, OutputAnnotation, OutputAnnotationAnnotationTypeOneOf, OutputContent, OutputFormat, OutputFormatWithLiterals, OutputOptions, Padding, PageLocationCitation, Parameters, PerceptronIsaac01, PerplexityImageDescriptor, PerplexityMessage, PerplexityMessageMessageRole, PerplexityMessageMessageRoleWithLiterals, PerplexityModel, PerplexityModelWithLiterals, PersonGeneration, PersonGenerationWithLiterals, PollImageGenerationResultOptionsRequestOneOf, PollImageGenerationResultRequest, PollImageGenerationResultRequestRequestOneOf, PollImageGenerationResultResponseResponseOneOf, PredictParameters, Prediction, PredictionMetrics, PredictionUrls, Project, ProjectConfigChangedDomainEvent, PromptModelRequestOneOf, PromptTokenDetails, PronunciationDictionaryLocator, PrunaaiZImageTurbo, PublicationDate, PublishProjectRequest, PublishProjectResponse, PublishPromptRequest, PublishPromptResponse, QwenImageLayered, ReasoningText, Recraft_proxyV1EditImageRequest, Recraft_proxyV1EditImageResponse, RedactedThinking, RemoveBackgroundRequest, RemoveBackgroundResponse, RequestMetadata, ResponseFormat, ResponseMetadata, ResponseType, ResponseTypeType, ResponseTypeTypeWithLiterals, ResponseTypeWithLiterals, ResponsesCodeInterpreter, ResponsesCodeInterpreterContainer, ResponsesCodeInterpreterContainerAuto, ResponsesCodeInterpreterContainerContainerTypeOneOf, ResponsesCodeInterpreterImageOutput, ResponsesCodeInterpreterLogsOutput, ResponsesCodeInterpreterOutput, ResponsesCodeInterpreterOutputOutputTypeOneOf, ResponsesCodeInterpreterToolCall, ResponsesFunction, ResponsesFunctionToolCall, ResponsesFunctionToolCallOutput, ResponsesInputItem, ResponsesInputItemItemOneOf, ResponsesInputMessage, ResponsesInputMessageContent, ResponsesInputMessageContentContentValueOneOf, ResponsesInputMessageContentFileInput, ResponsesInputMessageContentImageInput, ResponsesInputMessageResponsesMessageRole, ResponsesInputMessageResponsesMessageRoleWithLiterals, ResponsesInputTokensDetails, ResponsesMessageRole, ResponsesMessageRoleWithLiterals, ResponsesModel, ResponsesModelWithLiterals, ResponsesOutput, ResponsesOutputMessage, ResponsesOutputMessageOutputContent, ResponsesOutputOutputOneOf, ResponsesOutputTokensDetails, ResponsesReasoning, ResponsesReasoningContent, ResponsesReasoningOutput, ResponsesReasoningSummaryContent, ResponsesTextFormat, ResponsesTextFormatFormatOneOf, ResponsesTextFormatJsonSchema, ResponsesTokenUsage, ResponsesTool, ResponsesToolChoice, ResponsesToolToolTypeOneOf, ResponsesWebSearch, ResponsesWebSearchToolCall, ResponsesWebSearchToolCallAction, ResponsesWebSearchUserLocation, RestoreInfo, ResultObject, RetrievalMetadata, RetrievedContext, ReveEdit, Role, RoleWithLiterals, SafetyAttribute, SafetyAttributes, SafetyRating, SafetySetting, Sampler, SamplerWithLiterals, SearchEntryPoint, SearchResultLocationCitation, Segment, Segmentation, ServerToolUse, Shadow, SimpleContentBlock, SimpleContentBlockTypeOneOf, SpeechChunk, SpeechModel, SpeechModelWithLiterals, SpiGenerationConfig, Statistics, StylePreset, StylePresetWithLiterals, SystemContentBlock, SystemInstruction, TaskInput, TaskInputWithLiterals, TaskType, TaskTypeWithLiterals, Text, TextBisonModel, TextBisonModelWithLiterals, TextBisonPredictRequest, TextBisonPredictResponse, TextBisonPrediction, TextContent, TextEditorTool, TextEmbeddingInstance, TextEmbeddingParameters, TextGenerationFailedEvent, TextGenerationSucceededEvent, TextInstance, TextPrompt, TextRemoval, TextToImageRequest, TextToImageRequestModel, TextToImageRequestModelWithLiterals, TextToImageRequestStylePreset, TextToImageRequestStylePresetWithLiterals, TextToImageResponse, TextToImageTaskResult, TextToSpeechChunk, TextToSpeechRequest, Thinking, ThinkingConfig, ThinkingTextContent, Threshold, ThresholdWithLiterals, TimestampGranularities, TimestampGranularity, TimestampGranularityWithLiterals, TokenCount, TokenMetadata, TokenUsage, Tool, ToolCall, ToolChoice, ToolChoiceType, ToolChoiceTypeWithLiterals, ToolConfig, ToolConfiguration, ToolResult, ToolResultContent, ToolResultContentBlock, ToolResultContentBlockTypeOneOf, ToolResultSearchResult, ToolSpecification, ToolUse, ToolUseContent, TranscriptionModel, TranscriptionModelWithLiterals, Type, TypeWithLiterals, UrlCitation, Usage, UsageCacheCreation, UsageMetadata, UsageServerToolUse, UserLocation, UserPerApplicationBudgetInfo, UserRequestInfo, V1AnthropicClaudeMessage, V1AnthropicStreamChunk, V1AnthropicStreamChunkContentOneOf, V1AnthropicStreamChunkMessageDelta, V1CacheControl, V1CacheControlType, V1CacheControlTypeWithLiterals, V1ChatCompletionChunk, V1ChatCompletionMessage, V1ChatCompletionMessageContentPart, V1ChatCompletionMessageContentPartContentValueOneOf, V1ChatCompletionMessageImageUrlContent, V1ChatCompletionMessageMessageRole, V1ChatCompletionMessageMessageRoleWithLiterals, V1Citation, V1CodeExecutionResult, V1ContentBlock, V1ContentBlockDelta, V1ContentBlockDeltaDeltaOneOf, V1ContentBlockTypeOneOf, V1ContentPart, V1CreateChatCompletionRequest, V1CreateChatCompletionRequestResponseFormat, V1CreateChatCompletionRequestTool, V1CreateChatCompletionResponse, V1CreateChatCompletionResponseChoice, V1CreateChatCompletionResponseTokenUsage, V1CreateEmbeddingsRequest, V1CreateEmbeddingsResponse, V1EditImageModel, V1EditImageModelWithLiterals, V1EditImageRequest, V1EditImageResponse, V1EmbeddingEncodingFormat, V1EmbeddingEncodingFormatWithLiterals, V1EmbeddingInfo, V1EmbeddingInfoEmbeddingResultOneOf, V1EmbeddingModel, V1EmbeddingModelWithLiterals, V1FineTuningSpec, V1FloatEmbedding, V1FluxPulid, V1GetResultRequest, V1GetResultResponse, V1ImageInput, V1ImageMediaTypeMediaType, V1ImageMediaTypeMediaTypeWithLiterals, V1ImageModel, V1ImageModelWithLiterals, V1ImageObject, V1ImageUrl, V1InputSchema, V1InvokeAnthropicClaudeModelRequest, V1InvokeAnthropicClaudeModelResponse, V1McpServer, V1McpServerToolConfiguration, V1McpServerType, V1McpServerTypeWithLiterals, V1MessageRoleRole, V1MessageRoleRoleWithLiterals, V1Model, V1ModelWithLiterals, V1OpenAiResponsesRequest, V1OpenAiResponsesResponse, V1OutputAnnotation, V1OutputAnnotationAnnotationTypeOneOf, V1RedactedThinking, V1ResponseTypeType, V1ResponseTypeTypeWithLiterals, V1ResponsesCodeInterpreter, V1ResponsesCodeInterpreterContainer, V1ResponsesCodeInterpreterContainerAuto, V1ResponsesCodeInterpreterContainerContainerTypeOneOf, V1ResponsesCodeInterpreterImageOutput, V1ResponsesCodeInterpreterLogsOutput, V1ResponsesCodeInterpreterOutput, V1ResponsesCodeInterpreterOutputOutputTypeOneOf, V1ResponsesCodeInterpreterToolCall, V1ResponsesFunction, V1ResponsesFunctionToolCall, V1ResponsesFunctionToolCallOutput, V1ResponsesInputItem, V1ResponsesInputItemItemOneOf, V1ResponsesInputMessage, V1ResponsesInputMessageContent, V1ResponsesInputMessageContentContentValueOneOf, V1ResponsesInputTokensDetails, V1ResponsesModel, V1ResponsesModelWithLiterals, V1ResponsesOutput, V1ResponsesOutputMessage, V1ResponsesOutputOutputOneOf, V1ResponsesOutputTokensDetails, V1ResponsesReasoning, V1ResponsesReasoningContent, V1ResponsesReasoningOutput, V1ResponsesReasoningSummaryContent, V1ResponsesTextFormat, V1ResponsesTextFormatFormatOneOf, V1ResponsesTokenUsage, V1ResponsesTool, V1ResponsesToolChoice, V1ResponsesToolToolTypeOneOf, V1ResponsesWebSearch, V1ResponsesWebSearchToolCall, V1Segment, V1SimpleContentBlock, V1SimpleContentBlockTypeOneOf, V1Text, V1TextToImageRequest, V1TextToImageResponse, V1Thinking, V1ThinkingConfig, V1TokenUsage, V1Tool, V1ToolChoice, V1ToolChoiceType, V1ToolChoiceTypeWithLiterals, V1ToolConfig, V1ToolKindOneOf, V1ToolResult, V1ToolUse, V1UrlCitation, V1Usage, V1VideoModel, V1VideoModelWithLiterals, VideoGenModel, VideoGenModelWithLiterals, VideoInferenceRequest, VideoInferenceResponse, VideoInferenceTaskResult, VideoJob, VideoModel, VideoModelWithLiterals, VoiceSettings, Web, WebFetchTool, WebFetchToolResult, WebFetchToolResultContentError, WebFetchToolResultContentOneOf, WebFetchToolResultContentSuccess, WebSearchResult, WebSearchResultList, WebSearchResultLocationCitation, WebSearchTool, WebSearchToolResult, WebSearchToolResultContentOneOf, WebSearchToolResultError, WebSearchUserLocation, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Wix_ai_gatewayV1EditImageRequest, Wix_ai_gatewayV1EditImageRequestRequestOneOf, Wix_ai_gatewayV1EditImageResponseResponseOneOf, Word } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, Action, ActionEvent, AlignmentInfoInChunk, AnthropicClaudeMessage, AnthropicMessage, AnthropicModel, AnthropicModelWithLiterals, AnthropicStreamChunk, AnthropicStreamChunkContentOneOf, AnthropicStreamChunkMessageDelta, ApplicationBudgetInfo, AsyncGenerationConfig, Background, BashTool, Blob, BuiltInTool, CacheControl, CacheControlType, CacheControlTypeWithLiterals, Candidate, CandidateCitationMetadata, CandidateCitationMetadataCitation, CandidateContent, CandidateContentPart, CharLocationCitation, ChatBisonModel, ChatBisonModelWithLiterals, ChatBisonPredictRequest, ChatBisonPredictResponse, ChatBisonPrediction, ChatCompletionChunk, ChatCompletionChunkChunkChoice, ChatCompletionMessage, ChatCompletionMessageContentPart, ChatCompletionMessageContentPartContentValueOneOf, ChatCompletionMessageFunctionWithArgs, ChatCompletionMessageImageUrlContent, ChatCompletionMessageMessageRole, ChatCompletionMessageMessageRoleWithLiterals, ChatCompletionMessageToolCall, ChatCompletionModel, ChatCompletionModelWithLiterals, ChatInstance, ChatMessage, Choice, ChunkChoice, ChunkChoiceChunkDelta, ChunkDelta, Citation, CitationMetadata, CitationTypeOneOf, CitationsEnabled, ClaudeModel, ClaudeModelWithLiterals, ClipGuidancePreset, ClipGuidancePresetWithLiterals, CodeExecution, CodeExecutionResult, CodeExecutionTool, CodeExecutionToolResult, CodeExecutionToolResultContentOneOf, CodeExecutionToolResultError, CompletionTokenDetails, ComputerUse, ComputerUseTool, Container, ContainerUpload, Content, ContentBlock, ContentBlockDelta, ContentBlockDeltaDeltaOneOf, ContentBlockLocationCitation, ContentBlockTypeOneOf, ContentData, ContentGenerationFailedEvent, ContentGenerationRequestedEvent, ContentGenerationSucceededEvent, ContentPart, ContentPartContentValueOneOf, ContentRole, ContentRoleWithLiterals, ConverseContentBlock, ConverseContentBlockContentOneOf, ConverseInferenceConfig, ConverseInputSchema, ConverseMessage, ConverseModel, ConverseModelWithLiterals, ConversePerformanceConfig, ConverseReasoningContent, ConverseTool, ConverseToolResult, ConverseToolResultContent, ConverseToolResultContentContentOneOf, ConverseToolUse, CreateChatCompletionRequest, CreateChatCompletionRequestFunctionCallOneOf, CreateChatCompletionRequestFunctionSignature, CreateChatCompletionRequestResponseFormat, CreateChatCompletionRequestTool, CreateChatCompletionResponse, CreateChatCompletionResponseChoice, CreateChatCompletionResponseCompletionTokenDetails, CreateChatCompletionResponsePromptTokenDetails, CreateChatCompletionResponseTokenUsage, CreateEmbeddingsRequest, CreateEmbeddingsResponse, CreateEmbeddingsResponseEmbeddingUsage, CreateImageOpenAiRequest, CreateImageOpenAiResponse, CreateImageRequest, CreateImageResponse, CreateModerationRequest, CreateModerationResponse, CreatePredictionModel, CreatePredictionModelWithLiterals, CreatePredictionRequest, CreatePredictionRequestInputOneOf, CreatePredictionResponse, CreatePredictionResponseTokenUsage, CreateSpeechRequest, CreateSpeechResponse, CreateTranscriptionRequest, CreateTranscriptionRequestResponseFormat, CreateTranscriptionRequestResponseFormatWithLiterals, CreateTranscriptionResponse, CreateVideoRequest, CreateVideoResponse, CustomTool, DocumentContent, DocumentSource, DomainEvent, DomainEventBodyOneOf, DynamicRequestConfig, DynamicRetrievalConfig, DynamicRetrievalConfigMode, DynamicRetrievalConfigModeWithLiterals, EditAction, EditActionWithLiterals, EditImageInput, EditImageModel, EditImageModelWithLiterals, EditImageOpenAiRequest, EditImageOpenAiResponse, EditImageOptionsRequestOneOf, EditImageRequest, EditImageResponse, EditImageWithPromptRequest, EditImageWithPromptRequestModel, EditImageWithPromptRequestModelWithLiterals, EditImageWithPromptResponse, ElevenLabsTextToSpeechModel, ElevenLabsTextToSpeechModelWithLiterals, EmbeddingEncodingFormat, EmbeddingEncodingFormatWithLiterals, EmbeddingInfo, EmbeddingInfoEmbeddingResultOneOf, EmbeddingInstance, EmbeddingModel, EmbeddingModelWithLiterals, EmbeddingPrediction, EmbeddingUsage, EntityCreatedEvent, EntityDeletedEvent, EntityType, EntityUpdatedEvent, Environment, EnvironmentWithLiterals, ErrorInfo, Example, ExecutableCode, Expand, ExperimentalPromptConfig, Export, FallbackPromptConfig, FallbackProperties, FileContent, FileInput, FineTuningSpec, FinishReason, FinishReasonWithLiterals, FloatEmbedding, FluxDevControlnet, FluxPulid, FrameImage, FunctionCall, FunctionCallingConfig, FunctionDeclaration, FunctionResponse, FunctionSignature, FunctionWithArgs, GatewayContentBlock, GatewayContentBlockTypeOneOf, GatewayMessageDefinition, GatewayMessageDefinitionRole, GatewayMessageDefinitionRoleWithLiterals, GatewayToolDefinition, GatewayToolDefinitionCustomTool, GatewayToolDefinitionToolOneOf, GenerateAnImageModel, GenerateAnImageModelWithLiterals, GenerateAnImageRequest, GenerateAnImageResponse, GenerateAudioOptionsAudioRequestOneOf, GenerateAudioRequest, GenerateAudioRequestAudioRequestOneOf, GenerateAudioResponseAudioResponseOneOf, GenerateAudioStreamedOptionsAudioRequestOneOf, GenerateContentByProjectRequest, GenerateContentByPromptObjectRequest, GenerateContentByPromptRequest, GenerateContentModelResponse, GenerateContentModelResponseResponseOneOf, GenerateContentRequest, GenerateContentResponse, GenerateCoreRequest, GenerateCoreRequestStylePreset, GenerateCoreRequestStylePresetWithLiterals, GenerateCoreResponse, GenerateEmbeddingOptionsEmbeddingRequestOneOf, GenerateEmbeddingsRequest, GenerateEmbeddingsRequestEmbeddingRequestOneOf, GenerateEmbeddingsResponseEmbeddingResponseOneOf, GenerateImageByProjectRequest, GenerateImageByPromptObjectRequest, GenerateImageByPromptRequest, GenerateImageMlPlatformModel, GenerateImageMlPlatformModelWithLiterals, GenerateImageMlPlatformRequest, GenerateImageMlPlatformRequestInputOneOf, GenerateImageMlPlatformResponse, GenerateImageRequest, GenerateImageResponse, GenerateModerationOptionsModerationRequestOneOf, GenerateModerationRequest, GenerateModerationRequestModerationRequestOneOf, GenerateModerationResponseModerationResponseOneOf, GenerateStableDiffusionRequest, GenerateStableDiffusionRequestOutputFormat, GenerateStableDiffusionRequestOutputFormatWithLiterals, GenerateStableDiffusionResponse, GenerateTextByProjectRequest, GenerateTextByPromptObjectRequest, GenerateTextByPromptRequest, GenerateTranscriptionOptionsTranscriptionRequestOneOf, GenerateTranscriptionRequest, GenerateTranscriptionRequestTranscriptionRequestOneOf, GenerateTranscriptionResponseTranscriptionResponseOneOf, GenerateVideoInstance, GenerateVideoParameters, GenerateVideoRequest, GenerateVideoResponse, GeneratedAudioChunkAudioChunkOneOf, GeneratedContent, GeneratedTextChunkModelChunkOneOf, GeneratedVideo, GenerationConfig, GenerationMode, GenerationModeWithLiterals, GenerationRequestedEvent, GenerationThinkingConfig, GetApplicationUsageRequest, GetEmbeddingRequest, GetEmbeddingResponse, GetProjectRequest, GetPromptRequest, GetPromptResponse, GetResultRequest, GetResultResponse, GetStatusRequest, GetTaskResultRequest, GetTaskResultResponse, GetTaskResultResponseResponseOneOf, GetVideoResultRequest, GetVideoResultResponse, GoogleSearch, GoogleSearchRetrieval, GoogleproxyV1AnthropicStreamChunk, GoogleproxyV1AnthropicStreamChunkContentOneOf, GoogleproxyV1CacheControl, GoogleproxyV1ChatCompletionMessage, GoogleproxyV1ContentBlock, GoogleproxyV1ContentBlockDelta, GoogleproxyV1ContentBlockDeltaDeltaOneOf, GoogleproxyV1ContentBlockTypeOneOf, GoogleproxyV1ImageUrl, GoogleproxyV1InputSchema, GoogleproxyV1McpServer, GoogleproxyV1McpServerType, GoogleproxyV1McpServerTypeWithLiterals, GoogleproxyV1Model, GoogleproxyV1ModelWithLiterals, GoogleproxyV1RedactedThinking, GoogleproxyV1ResponseTypeType, GoogleproxyV1ResponseTypeTypeWithLiterals, GoogleproxyV1Text, GoogleproxyV1Thinking, GoogleproxyV1ThinkingConfig, GoogleproxyV1Tool, GoogleproxyV1ToolChoice, GoogleproxyV1ToolChoiceType, GoogleproxyV1ToolChoiceTypeWithLiterals, GoogleproxyV1ToolResult, GoogleproxyV1ToolUse, GoogleproxyV1Usage, GroundingChunk, GroundingChunkChunkTypeOneOf, GroundingMetadata, GroundingSupport, Guidance, HarmCategory, HarmCategoryWithLiterals, HarmProbability, HarmProbabilityWithLiterals, IdentificationData, IdentificationDataIdOneOf, ImageConfig, ImageCoreModel, ImageCoreModelWithLiterals, ImageEditingModel, ImageEditingModelWithLiterals, ImageEditingRequest, ImageEditingResponse, ImageGenerationFailedEvent, ImageGenerationRequestedEvent, ImageGenerationSucceededEvent, ImageInput, ImageMediaTypeMediaType, ImageMediaTypeMediaTypeWithLiterals, ImageModel, ImageModelResponse, ImageModelResponseResponseOneOf, ImageModelWithLiterals, ImageObject, ImageOutputOptions, ImageQuality, ImageQualityWithLiterals, ImageSize, ImageSizeWithLiterals, ImageStableDiffusionModel, ImageStableDiffusionModelWithLiterals, ImageStyle, ImageStyleWithLiterals, ImageUrl, ImageUrlContent, ImageUrlInput, ImageUsage, ImagenModel, ImagenModelWithLiterals, IncompleteDetails, InputSchema, Inputs, Instance, InvokeAnthropicClaudeModelRequest, InvokeAnthropicClaudeModelRequestTool, InvokeAnthropicClaudeModelResponse, InvokeAnthropicModelRequest, InvokeAnthropicModelResponse, InvokeChatCompletionRequest, InvokeChatCompletionRequestResponseFormat, InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf, InvokeChatCompletionResponse, InvokeChatCompletionResponseChoice, InvokeChatCompletionResponseUsage, InvokeConverseRequest, InvokeConverseResponse, InvokeConverseResponseTokenUsage, InvokeLlamaModelRequest, InvokeLlamaModelResponse, InvokeMlPlatformLlamaModelRequest, InvokeMlPlatformLlamaModelResponse, InvokeMlPlatformOpenAIChatCompletionRawRequest, InvokeMlPlatformOpenAIChatCompletionRawResponse, JsonSchema, Language, LanguageWithLiterals, Lighting, LlamaModel, LlamaModelWithLiterals, LoraModelSelect, LucatacoFlorence2Large, Margin, McpServer, McpServerToolConfiguration, McpServerType, McpServerTypeWithLiterals, McpToolUse, MediaContent, MediaResolution, MediaResolutionLevel, MediaResolutionLevelWithLiterals, MediaType, MediaTypeWithLiterals, MessageDelta, MessageEnvelope, MessageRole, MessageRoleRole, MessageRoleRoleWithLiterals, MessageRoleWithLiterals, Metadata, Metrics, Modality, ModalityTokenCount, ModalityWithLiterals, Mode, ModeWithLiterals, Model, ModelResponse, ModelResponseResponseOneOf, ModelWithLiterals, ModerationResult, MultiModalInput, MultiModalInputContentValueOneOf, OpenAiImageModel, OpenAiImageModelWithLiterals, OpenAiImageTokenDetails, OpenAiResponsesRequest, OpenAiResponsesResponse, OpenAiResponsesResponseIncompleteDetails, OpenaiproxyV1ChatCompletionMessage, OpenaiproxyV1ChatCompletionMessageContentPart, OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOf, OpenaiproxyV1ChatCompletionMessageImageUrlContent, OpenaiproxyV1ChatCompletionMessageMessageRole, OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals, OpenaiproxyV1CreateChatCompletionRequest, OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf, OpenaiproxyV1CreateChatCompletionRequestResponseFormat, OpenaiproxyV1CreateChatCompletionResponse, OpenaiproxyV1CreateChatCompletionResponseChoice, OpenaiproxyV1CreateChatCompletionResponseTokenUsage, OpenaiproxyV1EmbeddingModel, OpenaiproxyV1EmbeddingModelWithLiterals, OpenaiproxyV1Model, OpenaiproxyV1ModelWithLiterals, OutageStatus, OutageStatusWithLiterals, Outcome, OutcomeWithLiterals, OutpaintDirection, Output, OutputAnnotation, OutputAnnotationAnnotationTypeOneOf, OutputContent, OutputFormat, OutputFormatWithLiterals, OutputOptions, Padding, PageLocationCitation, Parameters, PerceptronIsaac01, PerplexityImageDescriptor, PerplexityMessage, PerplexityMessageMessageRole, PerplexityMessageMessageRoleWithLiterals, PerplexityModel, PerplexityModelWithLiterals, PersonGeneration, PersonGenerationWithLiterals, PollImageGenerationResultOptionsRequestOneOf, PollImageGenerationResultRequest, PollImageGenerationResultRequestRequestOneOf, PollImageGenerationResultResponseResponseOneOf, PredictParameters, Prediction, PredictionMetrics, PredictionUrls, Project, ProjectConfigChangedDomainEvent, PromptModelRequestOneOf, PromptTokenDetails, PronunciationDictionaryLocator, PrunaaiZImageTurbo, PublicationDate, PublishProjectRequest, PublishProjectResponse, PublishPromptRequest, PublishPromptResponse, QwenImageLayered, ReasoningText, Recraft_proxyV1EditImageRequest, Recraft_proxyV1EditImageResponse, RedactedThinking, RemoveBackgroundRequest, RemoveBackgroundResponse, RequestMetadata, ResponseFormat, ResponseMetadata, ResponseType, ResponseTypeType, ResponseTypeTypeWithLiterals, ResponseTypeWithLiterals, ResponsesCodeInterpreter, ResponsesCodeInterpreterContainer, ResponsesCodeInterpreterContainerAuto, ResponsesCodeInterpreterContainerContainerTypeOneOf, ResponsesCodeInterpreterImageOutput, ResponsesCodeInterpreterLogsOutput, ResponsesCodeInterpreterOutput, ResponsesCodeInterpreterOutputOutputTypeOneOf, ResponsesCodeInterpreterToolCall, ResponsesFunction, ResponsesFunctionToolCall, ResponsesFunctionToolCallOutput, ResponsesInputItem, ResponsesInputItemItemOneOf, ResponsesInputMessage, ResponsesInputMessageContent, ResponsesInputMessageContentContentValueOneOf, ResponsesInputMessageContentFileInput, ResponsesInputMessageContentImageInput, ResponsesInputMessageResponsesMessageRole, ResponsesInputMessageResponsesMessageRoleWithLiterals, ResponsesInputTokensDetails, ResponsesMessageRole, ResponsesMessageRoleWithLiterals, ResponsesModel, ResponsesModelWithLiterals, ResponsesOutput, ResponsesOutputMessage, ResponsesOutputMessageOutputContent, ResponsesOutputOutputOneOf, ResponsesOutputTokensDetails, ResponsesReasoning, ResponsesReasoningContent, ResponsesReasoningOutput, ResponsesReasoningSummaryContent, ResponsesTextFormat, ResponsesTextFormatFormatOneOf, ResponsesTextFormatJsonSchema, ResponsesTokenUsage, ResponsesTool, ResponsesToolChoice, ResponsesToolToolTypeOneOf, ResponsesWebSearch, ResponsesWebSearchToolCall, ResponsesWebSearchToolCallAction, ResponsesWebSearchUserLocation, RestoreInfo, ResultObject, RetrievalMetadata, RetrievedContext, ReveEdit, Role, RoleWithLiterals, SafetyAttribute, SafetyAttributes, SafetyRating, SafetySetting, Sampler, SamplerWithLiterals, SearchEntryPoint, SearchResultLocationCitation, Segment, Segmentation, ServerToolUse, Shadow, SimpleContentBlock, SimpleContentBlockTypeOneOf, SpeechChunk, SpeechModel, SpeechModelWithLiterals, SpiGenerationConfig, Statistics, StylePreset, StylePresetWithLiterals, SystemContentBlock, SystemInstruction, TaskInput, TaskInputWithLiterals, TaskType, TaskTypeWithLiterals, Text, TextBisonModel, TextBisonModelWithLiterals, TextBisonPredictRequest, TextBisonPredictResponse, TextBisonPrediction, TextContent, TextEditorTool, TextEmbeddingInstance, TextEmbeddingParameters, TextGenerationFailedEvent, TextGenerationSucceededEvent, TextInstance, TextPrompt, TextRemoval, TextToImageRequest, TextToImageRequestModel, TextToImageRequestModelWithLiterals, TextToImageRequestStylePreset, TextToImageRequestStylePresetWithLiterals, TextToImageResponse, TextToImageTaskResult, TextToSpeechChunk, TextToSpeechRequest, Thinking, ThinkingConfig, ThinkingTextContent, Threshold, ThresholdWithLiterals, TimestampGranularities, TimestampGranularity, TimestampGranularityWithLiterals, TokenCount, TokenMetadata, TokenUsage, Tool, ToolCall, ToolChoice, ToolChoiceType, ToolChoiceTypeWithLiterals, ToolConfig, ToolConfiguration, ToolResult, ToolResultContent, ToolResultContentBlock, ToolResultContentBlockTypeOneOf, ToolResultSearchResult, ToolSpecification, ToolUse, ToolUseContent, TranscriptionModel, TranscriptionModelWithLiterals, Type, TypeWithLiterals, UrlCitation, Usage, UsageCacheCreation, UsageMetadata, UsageServerToolUse, UserLocation, UserPerApplicationBudgetInfo, UserRequestInfo, V1AnthropicClaudeMessage, V1AnthropicStreamChunk, V1AnthropicStreamChunkContentOneOf, V1AnthropicStreamChunkMessageDelta, V1CacheControl, V1CacheControlType, V1CacheControlTypeWithLiterals, V1ChatCompletionChunk, V1ChatCompletionMessage, V1ChatCompletionMessageContentPart, V1ChatCompletionMessageContentPartContentValueOneOf, V1ChatCompletionMessageImageUrlContent, V1ChatCompletionMessageMessageRole, V1ChatCompletionMessageMessageRoleWithLiterals, V1Citation, V1CodeExecutionResult, V1ContentBlock, V1ContentBlockDelta, V1ContentBlockDeltaDeltaOneOf, V1ContentBlockTypeOneOf, V1ContentPart, V1CreateChatCompletionRequest, V1CreateChatCompletionRequestResponseFormat, V1CreateChatCompletionRequestTool, V1CreateChatCompletionResponse, V1CreateChatCompletionResponseChoice, V1CreateChatCompletionResponseTokenUsage, V1CreateEmbeddingsRequest, V1CreateEmbeddingsResponse, V1EditImageModel, V1EditImageModelWithLiterals, V1EditImageRequest, V1EditImageResponse, V1EmbeddingEncodingFormat, V1EmbeddingEncodingFormatWithLiterals, V1EmbeddingInfo, V1EmbeddingInfoEmbeddingResultOneOf, V1EmbeddingModel, V1EmbeddingModelWithLiterals, V1FineTuningSpec, V1FloatEmbedding, V1FluxPulid, V1GetResultRequest, V1GetResultResponse, V1ImageInput, V1ImageMediaTypeMediaType, V1ImageMediaTypeMediaTypeWithLiterals, V1ImageModel, V1ImageModelWithLiterals, V1ImageObject, V1ImageUrl, V1InputSchema, V1InvokeAnthropicClaudeModelRequest, V1InvokeAnthropicClaudeModelResponse, V1McpServer, V1McpServerToolConfiguration, V1McpServerType, V1McpServerTypeWithLiterals, V1MessageRoleRole, V1MessageRoleRoleWithLiterals, V1Model, V1ModelWithLiterals, V1OpenAiResponsesRequest, V1OpenAiResponsesResponse, V1OutputAnnotation, V1OutputAnnotationAnnotationTypeOneOf, V1RedactedThinking, V1ResponseTypeType, V1ResponseTypeTypeWithLiterals, V1ResponsesCodeInterpreter, V1ResponsesCodeInterpreterContainer, V1ResponsesCodeInterpreterContainerAuto, V1ResponsesCodeInterpreterContainerContainerTypeOneOf, V1ResponsesCodeInterpreterImageOutput, V1ResponsesCodeInterpreterLogsOutput, V1ResponsesCodeInterpreterOutput, V1ResponsesCodeInterpreterOutputOutputTypeOneOf, V1ResponsesCodeInterpreterToolCall, V1ResponsesFunction, V1ResponsesFunctionToolCall, V1ResponsesFunctionToolCallOutput, V1ResponsesInputItem, V1ResponsesInputItemItemOneOf, V1ResponsesInputMessage, V1ResponsesInputMessageContent, V1ResponsesInputMessageContentContentValueOneOf, V1ResponsesInputTokensDetails, V1ResponsesModel, V1ResponsesModelWithLiterals, V1ResponsesOutput, V1ResponsesOutputMessage, V1ResponsesOutputOutputOneOf, V1ResponsesOutputTokensDetails, V1ResponsesReasoning, V1ResponsesReasoningContent, V1ResponsesReasoningOutput, V1ResponsesReasoningSummaryContent, V1ResponsesTextFormat, V1ResponsesTextFormatFormatOneOf, V1ResponsesTokenUsage, V1ResponsesTool, V1ResponsesToolChoice, V1ResponsesToolToolTypeOneOf, V1ResponsesWebSearch, V1ResponsesWebSearchToolCall, V1Segment, V1SimpleContentBlock, V1SimpleContentBlockTypeOneOf, V1Text, V1TextToImageRequest, V1TextToImageResponse, V1Thinking, V1ThinkingConfig, V1TokenUsage, V1Tool, V1ToolChoice, V1ToolChoiceType, V1ToolChoiceTypeWithLiterals, V1ToolConfig, V1ToolKindOneOf, V1ToolResult, V1ToolUse, V1UrlCitation, V1Usage, V1VideoModel, V1VideoModelWithLiterals, VideoGenModel, VideoGenModelWithLiterals, VideoInferenceRequest, VideoInferenceResponse, VideoInferenceTaskResult, VideoJob, VideoModel, VideoModelWithLiterals, VoiceSettings, Web, WebFetchTool, WebFetchToolResult, WebFetchToolResultContentError, WebFetchToolResultContentOneOf, WebFetchToolResultContentSuccess, WebSearchResult, WebSearchResultList, WebSearchResultLocationCitation, WebSearchTool, WebSearchToolResult, WebSearchToolResultContentOneOf, WebSearchToolResultError, WebSearchUserLocation, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Wix_ai_gatewayV1EditImageRequest, Wix_ai_gatewayV1EditImageRequestRequestOneOf, Wix_ai_gatewayV1EditImageResponseResponseOneOf, Word } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
/** @internal */
|
|
6
6
|
declare function generateTextByPrompt$1(httpClient: HttpClient): GenerateTextByPromptSignature;
|
|
@@ -11,7 +11,7 @@ interface GenerateTextByPromptSignature {
|
|
|
11
11
|
* @param - Id of the Prompt that will be used to facilitate text generation request.
|
|
12
12
|
* @deprecated
|
|
13
13
|
*/
|
|
14
|
-
(promptId: string, options?: GenerateTextByPromptOptions): Promise<NonNullablePaths<GenerateTextByPromptResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.generatedTexts` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
|
|
14
|
+
(promptId: string, options?: GenerateTextByPromptOptions): Promise<NonNullablePaths<GenerateTextByPromptResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.generatedTexts` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
|
|
15
15
|
}
|
|
16
16
|
/** @internal */
|
|
17
17
|
declare function generateTextByPromptStreamed$1(httpClient: HttpClient): GenerateTextByPromptStreamedSignature;
|
|
@@ -22,7 +22,7 @@ interface GenerateTextByPromptStreamedSignature {
|
|
|
22
22
|
* The response is streamed back in chunks.
|
|
23
23
|
* @param - Id of the Prompt that will be used to facilitate text generation request.
|
|
24
24
|
*/
|
|
25
|
-
(promptId: string, options?: GenerateTextByPromptStreamedOptions): Promise<NonNullablePaths<GeneratedTextChunk, `azureChatCompletionChunk.choices` | `azureChatCompletionChunk.choices.${number}.delta.role` | `azureChatCompletionChunk.model` | `openaiChatCompletionChunk.choices` | `openaiChatCompletionChunk.choices.${number}.delta.role` | `openaiChatCompletionChunk.model` | `googleAnthropicStreamChunk.toolUse.cacheControl.type` | `googleAnthropicStreamChunk.contentBlockDelta.text` | `googleAnthropicStreamChunk.contentBlockDelta.partialJson` | `googleAnthropicStreamChunk.contentBlockDelta.thinking` | `googleAnthropicStreamChunk.contentBlockDelta.signature` | `googleAnthropicStreamChunk.messageDelta.usage.inputTokens` | `googleAnthropicStreamChunk.messageDelta.usage.outputTokens` | `googleAnthropicStreamChunk.redactedThinking.data` | `googleAnthropicStreamChunk.responseId` | `googleAnthropicStreamChunk.model` | `googleGeminiStreamChunk.candidates` | `googleGeminiStreamChunk.candidates.${number}.finishReason` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails.${number}.modality` | `googleGeminiStreamChunk.usageMetadata.candidatesTokensDetails` | `amazonAnthropicStreamChunk.toolUse.cacheControl.type` | `amazonAnthropicStreamChunk.contentBlockDelta.text` | `amazonAnthropicStreamChunk.contentBlockDelta.partialJson` | `amazonAnthropicStreamChunk.contentBlockDelta.thinking` | `amazonAnthropicStreamChunk.contentBlockDelta.signature` | `amazonAnthropicStreamChunk.messageDelta.usage.inputTokens` | `amazonAnthropicStreamChunk.messageDelta.usage.outputTokens` | `amazonAnthropicStreamChunk.redactedThinking.data` | `amazonAnthropicStreamChunk.responseId` | `amazonAnthropicStreamChunk.model` | `anthropicStreamChunk.toolUse.cacheControl.type` | `anthropicStreamChunk.webSearchToolResult.contentResults.items` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.textContent.text` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.image.mediaType` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.signature` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.thinking` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.redactedThinking.data` | `anthropicStreamChunk.webFetchToolResult.contentError.type` | `anthropicStreamChunk.webFetchToolResult.type` | `anthropicStreamChunk.contentBlockDelta.text` | `anthropicStreamChunk.contentBlockDelta.partialJson` | `anthropicStreamChunk.contentBlockDelta.thinking` | `anthropicStreamChunk.contentBlockDelta.signature` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral1hInputTokens` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral5mInputTokens` | `anthropicStreamChunk.messageDelta.usage.inputTokens` | `anthropicStreamChunk.messageDelta.usage.outputTokens` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webSearchRequests` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webFetchRequests` | `anthropicStreamChunk.responseId` | `anthropicStreamChunk.model` | `predictionId`, 10>>;
|
|
25
|
+
(promptId: string, options?: GenerateTextByPromptStreamedOptions): Promise<NonNullablePaths<GeneratedTextChunk, `azureChatCompletionChunk.choices` | `azureChatCompletionChunk.choices.${number}.delta.role` | `azureChatCompletionChunk.model` | `openaiChatCompletionChunk.choices` | `openaiChatCompletionChunk.choices.${number}.delta.role` | `openaiChatCompletionChunk.model` | `googleAnthropicStreamChunk.toolUse.cacheControl.type` | `googleAnthropicStreamChunk.contentBlockDelta.text` | `googleAnthropicStreamChunk.contentBlockDelta.partialJson` | `googleAnthropicStreamChunk.contentBlockDelta.thinking` | `googleAnthropicStreamChunk.contentBlockDelta.signature` | `googleAnthropicStreamChunk.messageDelta.usage.inputTokens` | `googleAnthropicStreamChunk.messageDelta.usage.outputTokens` | `googleAnthropicStreamChunk.redactedThinking.data` | `googleAnthropicStreamChunk.responseId` | `googleAnthropicStreamChunk.model` | `googleGeminiStreamChunk.candidates` | `googleGeminiStreamChunk.candidates.${number}.finishReason` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails.${number}.modality` | `googleGeminiStreamChunk.usageMetadata.candidatesTokensDetails` | `googleGeminiStreamChunk.usageMetadata.cacheTokensDetails` | `amazonAnthropicStreamChunk.toolUse.cacheControl.type` | `amazonAnthropicStreamChunk.contentBlockDelta.text` | `amazonAnthropicStreamChunk.contentBlockDelta.partialJson` | `amazonAnthropicStreamChunk.contentBlockDelta.thinking` | `amazonAnthropicStreamChunk.contentBlockDelta.signature` | `amazonAnthropicStreamChunk.messageDelta.usage.inputTokens` | `amazonAnthropicStreamChunk.messageDelta.usage.outputTokens` | `amazonAnthropicStreamChunk.redactedThinking.data` | `amazonAnthropicStreamChunk.responseId` | `amazonAnthropicStreamChunk.model` | `anthropicStreamChunk.toolUse.cacheControl.type` | `anthropicStreamChunk.webSearchToolResult.contentResults.items` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.textContent.text` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.image.mediaType` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.signature` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.thinking` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.redactedThinking.data` | `anthropicStreamChunk.webFetchToolResult.contentError.type` | `anthropicStreamChunk.webFetchToolResult.type` | `anthropicStreamChunk.contentBlockDelta.text` | `anthropicStreamChunk.contentBlockDelta.partialJson` | `anthropicStreamChunk.contentBlockDelta.thinking` | `anthropicStreamChunk.contentBlockDelta.signature` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral1hInputTokens` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral5mInputTokens` | `anthropicStreamChunk.messageDelta.usage.inputTokens` | `anthropicStreamChunk.messageDelta.usage.outputTokens` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webSearchRequests` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webFetchRequests` | `anthropicStreamChunk.responseId` | `anthropicStreamChunk.model` | `predictionId`, 10>>;
|
|
26
26
|
}
|
|
27
27
|
/** @internal */
|
|
28
28
|
declare function generateTextByPromptObject$1(httpClient: HttpClient): GenerateTextByPromptObjectSignature;
|
|
@@ -32,7 +32,7 @@ interface GenerateTextByPromptObjectSignature {
|
|
|
32
32
|
* Prompt object is used for all generate text request configuration, such as what vendor, what model and what parameters to use.
|
|
33
33
|
* @deprecated
|
|
34
34
|
*/
|
|
35
|
-
(options?: GenerateTextByPromptObjectOptions): Promise<NonNullablePaths<GenerateTextByPromptObjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.generatedTexts` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
|
|
35
|
+
(options?: GenerateTextByPromptObjectOptions): Promise<NonNullablePaths<GenerateTextByPromptObjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.generatedTexts` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
|
|
36
36
|
}
|
|
37
37
|
/** @internal */
|
|
38
38
|
declare function generateTextByPromptObjectStreamed$1(httpClient: HttpClient): GenerateTextByPromptObjectStreamedSignature;
|
|
@@ -42,7 +42,7 @@ interface GenerateTextByPromptObjectStreamedSignature {
|
|
|
42
42
|
* Prompt object is used for all generate text request configuration, such as what vendor, what model and what parameters to use.
|
|
43
43
|
* The response is streamed back in chunks.
|
|
44
44
|
*/
|
|
45
|
-
(options?: GenerateTextByPromptObjectStreamedOptions): Promise<NonNullablePaths<GeneratedTextChunk, `azureChatCompletionChunk.choices` | `azureChatCompletionChunk.choices.${number}.delta.role` | `azureChatCompletionChunk.model` | `openaiChatCompletionChunk.choices` | `openaiChatCompletionChunk.choices.${number}.delta.role` | `openaiChatCompletionChunk.model` | `googleAnthropicStreamChunk.toolUse.cacheControl.type` | `googleAnthropicStreamChunk.contentBlockDelta.text` | `googleAnthropicStreamChunk.contentBlockDelta.partialJson` | `googleAnthropicStreamChunk.contentBlockDelta.thinking` | `googleAnthropicStreamChunk.contentBlockDelta.signature` | `googleAnthropicStreamChunk.messageDelta.usage.inputTokens` | `googleAnthropicStreamChunk.messageDelta.usage.outputTokens` | `googleAnthropicStreamChunk.redactedThinking.data` | `googleAnthropicStreamChunk.responseId` | `googleAnthropicStreamChunk.model` | `googleGeminiStreamChunk.candidates` | `googleGeminiStreamChunk.candidates.${number}.finishReason` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails.${number}.modality` | `googleGeminiStreamChunk.usageMetadata.candidatesTokensDetails` | `amazonAnthropicStreamChunk.toolUse.cacheControl.type` | `amazonAnthropicStreamChunk.contentBlockDelta.text` | `amazonAnthropicStreamChunk.contentBlockDelta.partialJson` | `amazonAnthropicStreamChunk.contentBlockDelta.thinking` | `amazonAnthropicStreamChunk.contentBlockDelta.signature` | `amazonAnthropicStreamChunk.messageDelta.usage.inputTokens` | `amazonAnthropicStreamChunk.messageDelta.usage.outputTokens` | `amazonAnthropicStreamChunk.redactedThinking.data` | `amazonAnthropicStreamChunk.responseId` | `amazonAnthropicStreamChunk.model` | `anthropicStreamChunk.toolUse.cacheControl.type` | `anthropicStreamChunk.webSearchToolResult.contentResults.items` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.textContent.text` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.image.mediaType` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.signature` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.thinking` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.redactedThinking.data` | `anthropicStreamChunk.webFetchToolResult.contentError.type` | `anthropicStreamChunk.webFetchToolResult.type` | `anthropicStreamChunk.contentBlockDelta.text` | `anthropicStreamChunk.contentBlockDelta.partialJson` | `anthropicStreamChunk.contentBlockDelta.thinking` | `anthropicStreamChunk.contentBlockDelta.signature` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral1hInputTokens` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral5mInputTokens` | `anthropicStreamChunk.messageDelta.usage.inputTokens` | `anthropicStreamChunk.messageDelta.usage.outputTokens` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webSearchRequests` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webFetchRequests` | `anthropicStreamChunk.responseId` | `anthropicStreamChunk.model` | `predictionId`, 10>>;
|
|
45
|
+
(options?: GenerateTextByPromptObjectStreamedOptions): Promise<NonNullablePaths<GeneratedTextChunk, `azureChatCompletionChunk.choices` | `azureChatCompletionChunk.choices.${number}.delta.role` | `azureChatCompletionChunk.model` | `openaiChatCompletionChunk.choices` | `openaiChatCompletionChunk.choices.${number}.delta.role` | `openaiChatCompletionChunk.model` | `googleAnthropicStreamChunk.toolUse.cacheControl.type` | `googleAnthropicStreamChunk.contentBlockDelta.text` | `googleAnthropicStreamChunk.contentBlockDelta.partialJson` | `googleAnthropicStreamChunk.contentBlockDelta.thinking` | `googleAnthropicStreamChunk.contentBlockDelta.signature` | `googleAnthropicStreamChunk.messageDelta.usage.inputTokens` | `googleAnthropicStreamChunk.messageDelta.usage.outputTokens` | `googleAnthropicStreamChunk.redactedThinking.data` | `googleAnthropicStreamChunk.responseId` | `googleAnthropicStreamChunk.model` | `googleGeminiStreamChunk.candidates` | `googleGeminiStreamChunk.candidates.${number}.finishReason` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails.${number}.modality` | `googleGeminiStreamChunk.usageMetadata.candidatesTokensDetails` | `googleGeminiStreamChunk.usageMetadata.cacheTokensDetails` | `amazonAnthropicStreamChunk.toolUse.cacheControl.type` | `amazonAnthropicStreamChunk.contentBlockDelta.text` | `amazonAnthropicStreamChunk.contentBlockDelta.partialJson` | `amazonAnthropicStreamChunk.contentBlockDelta.thinking` | `amazonAnthropicStreamChunk.contentBlockDelta.signature` | `amazonAnthropicStreamChunk.messageDelta.usage.inputTokens` | `amazonAnthropicStreamChunk.messageDelta.usage.outputTokens` | `amazonAnthropicStreamChunk.redactedThinking.data` | `amazonAnthropicStreamChunk.responseId` | `amazonAnthropicStreamChunk.model` | `anthropicStreamChunk.toolUse.cacheControl.type` | `anthropicStreamChunk.webSearchToolResult.contentResults.items` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.textContent.text` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.image.mediaType` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.signature` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.thinking` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.redactedThinking.data` | `anthropicStreamChunk.webFetchToolResult.contentError.type` | `anthropicStreamChunk.webFetchToolResult.type` | `anthropicStreamChunk.contentBlockDelta.text` | `anthropicStreamChunk.contentBlockDelta.partialJson` | `anthropicStreamChunk.contentBlockDelta.thinking` | `anthropicStreamChunk.contentBlockDelta.signature` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral1hInputTokens` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral5mInputTokens` | `anthropicStreamChunk.messageDelta.usage.inputTokens` | `anthropicStreamChunk.messageDelta.usage.outputTokens` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webSearchRequests` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webFetchRequests` | `anthropicStreamChunk.responseId` | `anthropicStreamChunk.model` | `predictionId`, 10>>;
|
|
46
46
|
}
|
|
47
47
|
/** @internal */
|
|
48
48
|
declare function generateEmbedding$1(httpClient: HttpClient): GenerateEmbeddingSignature;
|
|
@@ -62,7 +62,7 @@ interface GenerateTextByProjectSignature {
|
|
|
62
62
|
* The project's default_prompt_id field will be used as prompt.
|
|
63
63
|
* @deprecated
|
|
64
64
|
*/
|
|
65
|
-
(projectId: string, options?: GenerateTextByProjectOptions): Promise<NonNullablePaths<GenerateTextByProjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.generatedTexts` | `promptId` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
|
|
65
|
+
(projectId: string, options?: GenerateTextByProjectOptions): Promise<NonNullablePaths<GenerateTextByProjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.generatedTexts` | `promptId` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
|
|
66
66
|
}
|
|
67
67
|
/** @internal */
|
|
68
68
|
declare function generateTextByProjectStreamed$1(httpClient: HttpClient): GenerateTextByProjectStreamedSignature;
|
|
@@ -74,7 +74,7 @@ interface GenerateTextByProjectStreamedSignature {
|
|
|
74
74
|
* @param - Id of the Project that will be used to facilitate text generation request.
|
|
75
75
|
* The project's default_prompt_id field will be used as prompt.
|
|
76
76
|
*/
|
|
77
|
-
(projectId: string, options?: GenerateTextByProjectStreamedOptions): Promise<NonNullablePaths<GeneratedTextChunk, `azureChatCompletionChunk.choices` | `azureChatCompletionChunk.choices.${number}.delta.role` | `azureChatCompletionChunk.model` | `openaiChatCompletionChunk.choices` | `openaiChatCompletionChunk.choices.${number}.delta.role` | `openaiChatCompletionChunk.model` | `googleAnthropicStreamChunk.toolUse.cacheControl.type` | `googleAnthropicStreamChunk.contentBlockDelta.text` | `googleAnthropicStreamChunk.contentBlockDelta.partialJson` | `googleAnthropicStreamChunk.contentBlockDelta.thinking` | `googleAnthropicStreamChunk.contentBlockDelta.signature` | `googleAnthropicStreamChunk.messageDelta.usage.inputTokens` | `googleAnthropicStreamChunk.messageDelta.usage.outputTokens` | `googleAnthropicStreamChunk.redactedThinking.data` | `googleAnthropicStreamChunk.responseId` | `googleAnthropicStreamChunk.model` | `googleGeminiStreamChunk.candidates` | `googleGeminiStreamChunk.candidates.${number}.finishReason` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails.${number}.modality` | `googleGeminiStreamChunk.usageMetadata.candidatesTokensDetails` | `amazonAnthropicStreamChunk.toolUse.cacheControl.type` | `amazonAnthropicStreamChunk.contentBlockDelta.text` | `amazonAnthropicStreamChunk.contentBlockDelta.partialJson` | `amazonAnthropicStreamChunk.contentBlockDelta.thinking` | `amazonAnthropicStreamChunk.contentBlockDelta.signature` | `amazonAnthropicStreamChunk.messageDelta.usage.inputTokens` | `amazonAnthropicStreamChunk.messageDelta.usage.outputTokens` | `amazonAnthropicStreamChunk.redactedThinking.data` | `amazonAnthropicStreamChunk.responseId` | `amazonAnthropicStreamChunk.model` | `anthropicStreamChunk.toolUse.cacheControl.type` | `anthropicStreamChunk.webSearchToolResult.contentResults.items` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.textContent.text` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.image.mediaType` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.signature` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.thinking` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.redactedThinking.data` | `anthropicStreamChunk.webFetchToolResult.contentError.type` | `anthropicStreamChunk.webFetchToolResult.type` | `anthropicStreamChunk.contentBlockDelta.text` | `anthropicStreamChunk.contentBlockDelta.partialJson` | `anthropicStreamChunk.contentBlockDelta.thinking` | `anthropicStreamChunk.contentBlockDelta.signature` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral1hInputTokens` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral5mInputTokens` | `anthropicStreamChunk.messageDelta.usage.inputTokens` | `anthropicStreamChunk.messageDelta.usage.outputTokens` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webSearchRequests` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webFetchRequests` | `anthropicStreamChunk.responseId` | `anthropicStreamChunk.model` | `predictionId`, 10>>;
|
|
77
|
+
(projectId: string, options?: GenerateTextByProjectStreamedOptions): Promise<NonNullablePaths<GeneratedTextChunk, `azureChatCompletionChunk.choices` | `azureChatCompletionChunk.choices.${number}.delta.role` | `azureChatCompletionChunk.model` | `openaiChatCompletionChunk.choices` | `openaiChatCompletionChunk.choices.${number}.delta.role` | `openaiChatCompletionChunk.model` | `googleAnthropicStreamChunk.toolUse.cacheControl.type` | `googleAnthropicStreamChunk.contentBlockDelta.text` | `googleAnthropicStreamChunk.contentBlockDelta.partialJson` | `googleAnthropicStreamChunk.contentBlockDelta.thinking` | `googleAnthropicStreamChunk.contentBlockDelta.signature` | `googleAnthropicStreamChunk.messageDelta.usage.inputTokens` | `googleAnthropicStreamChunk.messageDelta.usage.outputTokens` | `googleAnthropicStreamChunk.redactedThinking.data` | `googleAnthropicStreamChunk.responseId` | `googleAnthropicStreamChunk.model` | `googleGeminiStreamChunk.candidates` | `googleGeminiStreamChunk.candidates.${number}.finishReason` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails.${number}.modality` | `googleGeminiStreamChunk.usageMetadata.candidatesTokensDetails` | `googleGeminiStreamChunk.usageMetadata.cacheTokensDetails` | `amazonAnthropicStreamChunk.toolUse.cacheControl.type` | `amazonAnthropicStreamChunk.contentBlockDelta.text` | `amazonAnthropicStreamChunk.contentBlockDelta.partialJson` | `amazonAnthropicStreamChunk.contentBlockDelta.thinking` | `amazonAnthropicStreamChunk.contentBlockDelta.signature` | `amazonAnthropicStreamChunk.messageDelta.usage.inputTokens` | `amazonAnthropicStreamChunk.messageDelta.usage.outputTokens` | `amazonAnthropicStreamChunk.redactedThinking.data` | `amazonAnthropicStreamChunk.responseId` | `amazonAnthropicStreamChunk.model` | `anthropicStreamChunk.toolUse.cacheControl.type` | `anthropicStreamChunk.webSearchToolResult.contentResults.items` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.textContent.text` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.image.mediaType` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.signature` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.thinking` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.redactedThinking.data` | `anthropicStreamChunk.webFetchToolResult.contentError.type` | `anthropicStreamChunk.webFetchToolResult.type` | `anthropicStreamChunk.contentBlockDelta.text` | `anthropicStreamChunk.contentBlockDelta.partialJson` | `anthropicStreamChunk.contentBlockDelta.thinking` | `anthropicStreamChunk.contentBlockDelta.signature` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral1hInputTokens` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral5mInputTokens` | `anthropicStreamChunk.messageDelta.usage.inputTokens` | `anthropicStreamChunk.messageDelta.usage.outputTokens` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webSearchRequests` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webFetchRequests` | `anthropicStreamChunk.responseId` | `anthropicStreamChunk.model` | `predictionId`, 10>>;
|
|
78
78
|
}
|
|
79
79
|
/** @internal */
|
|
80
80
|
declare function generateModeration$1(httpClient: HttpClient): GenerateModerationSignature;
|
|
@@ -125,7 +125,7 @@ interface GenerateContentByPromptSignature {
|
|
|
125
125
|
* Prompt object is used for all generate content request configuration, such as what vendor, what model and what parameters to use.
|
|
126
126
|
* @param - Id of the Prompt that will be used to facilitate content generation request.
|
|
127
127
|
*/
|
|
128
|
-
(promptId: string, options?: GenerateContentByPromptOptions): Promise<NonNullablePaths<GenerateContentByPromptResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.amazonConverseResponse.output.message.role` | `response.amazonConverseResponse.output.message.content` | `response.amazonConverseResponse.output.message.content.${number}.text` | `response.amazonConverseResponse.output.message.content.${number}.reasoningContent.reasoningText.text` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.toolUseId` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.name` | `response.amazonConverseResponse.output.message.content.${number}.toolResult.toolUseId` | `response.amazonConverseResponse.usage.inputTokens` | `response.amazonConverseResponse.usage.outputTokens` | `response.amazonConverseResponse.usage.totalTokens` | `response.amazonConverseResponse.metrics.latencyMs` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 10>>;
|
|
128
|
+
(promptId: string, options?: GenerateContentByPromptOptions): Promise<NonNullablePaths<GenerateContentByPromptResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.amazonConverseResponse.output.message.role` | `response.amazonConverseResponse.output.message.content` | `response.amazonConverseResponse.output.message.content.${number}.text` | `response.amazonConverseResponse.output.message.content.${number}.reasoningContent.reasoningText.text` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.toolUseId` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.name` | `response.amazonConverseResponse.output.message.content.${number}.toolResult.toolUseId` | `response.amazonConverseResponse.usage.inputTokens` | `response.amazonConverseResponse.usage.outputTokens` | `response.amazonConverseResponse.usage.totalTokens` | `response.amazonConverseResponse.metrics.latencyMs` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 10>>;
|
|
129
129
|
}
|
|
130
130
|
/** @internal */
|
|
131
131
|
declare function generateContentByProject$1(httpClient: HttpClient): GenerateContentByProjectSignature;
|
|
@@ -136,7 +136,7 @@ interface GenerateContentByProjectSignature {
|
|
|
136
136
|
* @param - Id of the Project that will be used to facilitate content generation request.
|
|
137
137
|
* The project's default_prompt_id field will be used as prompt.
|
|
138
138
|
*/
|
|
139
|
-
(projectId: string, options?: GenerateContentByProjectOptions): Promise<NonNullablePaths<GenerateContentByProjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.amazonConverseResponse.output.message.role` | `response.amazonConverseResponse.output.message.content` | `response.amazonConverseResponse.output.message.content.${number}.text` | `response.amazonConverseResponse.output.message.content.${number}.reasoningContent.reasoningText.text` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.toolUseId` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.name` | `response.amazonConverseResponse.output.message.content.${number}.toolResult.toolUseId` | `response.amazonConverseResponse.usage.inputTokens` | `response.amazonConverseResponse.usage.outputTokens` | `response.amazonConverseResponse.usage.totalTokens` | `response.amazonConverseResponse.metrics.latencyMs` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `promptId` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 10>>;
|
|
139
|
+
(projectId: string, options?: GenerateContentByProjectOptions): Promise<NonNullablePaths<GenerateContentByProjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.amazonConverseResponse.output.message.role` | `response.amazonConverseResponse.output.message.content` | `response.amazonConverseResponse.output.message.content.${number}.text` | `response.amazonConverseResponse.output.message.content.${number}.reasoningContent.reasoningText.text` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.toolUseId` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.name` | `response.amazonConverseResponse.output.message.content.${number}.toolResult.toolUseId` | `response.amazonConverseResponse.usage.inputTokens` | `response.amazonConverseResponse.usage.outputTokens` | `response.amazonConverseResponse.usage.totalTokens` | `response.amazonConverseResponse.metrics.latencyMs` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `promptId` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 10>>;
|
|
140
140
|
}
|
|
141
141
|
/** @internal */
|
|
142
142
|
declare function generateContentByPromptObject$1(httpClient: HttpClient): GenerateContentByPromptObjectSignature;
|
|
@@ -145,7 +145,7 @@ interface GenerateContentByPromptObjectSignature {
|
|
|
145
145
|
* Generate different content such as text, image, and video according to Prompt object configuration
|
|
146
146
|
* Prompt object is used for all generate content request configuration, such as what vendor, what model and what parameters to use.
|
|
147
147
|
*/
|
|
148
|
-
(options?: GenerateContentByPromptObjectOptions): Promise<NonNullablePaths<GenerateContentByPromptObjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.amazonConverseResponse.output.message.role` | `response.amazonConverseResponse.output.message.content` | `response.amazonConverseResponse.output.message.content.${number}.text` | `response.amazonConverseResponse.output.message.content.${number}.reasoningContent.reasoningText.text` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.toolUseId` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.name` | `response.amazonConverseResponse.output.message.content.${number}.toolResult.toolUseId` | `response.amazonConverseResponse.usage.inputTokens` | `response.amazonConverseResponse.usage.outputTokens` | `response.amazonConverseResponse.usage.totalTokens` | `response.amazonConverseResponse.metrics.latencyMs` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 10>>;
|
|
148
|
+
(options?: GenerateContentByPromptObjectOptions): Promise<NonNullablePaths<GenerateContentByPromptObjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.amazonConverseResponse.output.message.role` | `response.amazonConverseResponse.output.message.content` | `response.amazonConverseResponse.output.message.content.${number}.text` | `response.amazonConverseResponse.output.message.content.${number}.reasoningContent.reasoningText.text` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.toolUseId` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.name` | `response.amazonConverseResponse.output.message.content.${number}.toolResult.toolUseId` | `response.amazonConverseResponse.usage.inputTokens` | `response.amazonConverseResponse.usage.outputTokens` | `response.amazonConverseResponse.usage.totalTokens` | `response.amazonConverseResponse.metrics.latencyMs` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 10>>;
|
|
149
149
|
}
|
|
150
150
|
/** @internal */
|
|
151
151
|
declare function generateTranscription$1(httpClient: HttpClient): GenerateTranscriptionSignature;
|