View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPromptApiSchema (google_api_ai_platform v0.23.0)

The A2 schema of a prompt.

Attributes

  • apiSchemaVersion (type: String.t, default: nil) - The Schema version that represents changes to the API behavior.
  • executions (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPromptInstancePromptExecution.t), default: nil) - A list of execution instances for constructing a ready-to-use prompt.
  • multimodalPrompt (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPromptSpecMultimodalPrompt.t, default: nil) - Multimodal prompt which embeds preambles to prompt string.
  • structuredPrompt (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt.t, default: nil) - The prompt variation that stores preambles in separate fields.
  • translationPrompt (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPromptSpecTranslationPrompt.t, default: nil) - The prompt variation for Translation use case.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.