View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata (google_api_ai_platform v0.13.0)

The metadata of Datasets that contain Text Prompt data.

Attributes

  • candidateCount (type: String.t, default: nil) - Number of candidates.
  • gcsUri (type: String.t, default: nil) - The Google Cloud Storage URI that stores the prompt data.
  • groundingConfig (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig.t, default: nil) - Grounding checking configuration.
  • hasPromptVariable (type: boolean(), default: nil) - Whether the prompt dataset has prompt variable.
  • maxOutputTokens (type: String.t, default: nil) - Value of the maximum number of tokens generated set when the dataset was saved.
  • note (type: String.t, default: nil) - User-created prompt note. Note size limit is 2KB.
  • promptType (type: String.t, default: nil) - Type of the prompt dataset.
  • stopSequences (type: list(String.t), default: nil) - Customized stop sequences.
  • systemInstruction (type: String.t, default: nil) - The content of the prompt dataset system instruction.
  • systemInstructionGcsUri (type: String.t, default: nil) - The Google Cloud Storage URI that stores the system instruction, starting with gs://.
  • temperature (type: number(), default: nil) - Temperature value used for sampling set when the dataset was saved. This value is used to tune the degree of randomness.
  • text (type: String.t, default: nil) - The content of the prompt dataset.
  • topK (type: String.t, default: nil) - Top K value set when the dataset was saved. This value determines how many candidates with highest probability from the vocab would be selected for each decoding step.
  • topP (type: number(), default: nil) - Top P value set when the dataset was saved. Given topK tokens for decoding, top candidates will be selected until the sum of their probabilities is topP.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata{
    candidateCount: String.t() | nil,
    gcsUri: String.t() | nil,
    groundingConfig:
      GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig.t()
      | nil,
    hasPromptVariable: boolean() | nil,
    maxOutputTokens: String.t() | nil,
    note: String.t() | nil,
    promptType: String.t() | nil,
    stopSequences: [String.t()] | nil,
    systemInstruction: String.t() | nil,
    systemInstructionGcsUri: String.t() | nil,
    temperature: number() | nil,
    text: String.t() | nil,
    topK: String.t() | nil,
    topP: number() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.