GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagFile (google_api_ai_platform v0.27.0)

View Source

A RagFile contains user data for chunking, embedding and indexing.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. Timestamp when this RagFile was created.
  • description (type: String.t, default: nil) - Optional. The description of the RagFile.
  • directUploadSource (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1DirectUploadSource.t, default: nil) - Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
  • displayName (type: String.t, default: nil) - Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters.
  • fileStatus (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FileStatus.t, default: nil) - Output only. State of the RagFile.
  • gcsSource (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GcsSource.t, default: nil) - Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the Cloud Storage uri for now.
  • googleDriveSource (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GoogleDriveSource.t, default: nil) - Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
  • jiraSource (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1JiraSource.t, default: nil) - The RagFile is imported from a Jira query.
  • name (type: String.t, default: nil) - Output only. The resource name of the RagFile.
  • sharePointSources (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SharePointSources.t, default: nil) - The RagFile is imported from a SharePoint source.
  • slackSource (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SlackSource.t, default: nil) - The RagFile is imported from a Slack channel.
  • updateTime (type: DateTime.t, default: nil) - Output only. Timestamp when this RagFile was last updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagFile{
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  directUploadSource:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1DirectUploadSource.t()
    | nil,
  displayName: String.t() | nil,
  fileStatus:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FileStatus.t() | nil,
  gcsSource:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GcsSource.t() | nil,
  googleDriveSource:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GoogleDriveSource.t()
    | nil,
  jiraSource:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1JiraSource.t() | nil,
  name: String.t() | nil,
  sharePointSources:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SharePointSources.t()
    | nil,
  slackSource:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SlackSource.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.