Class RagFile
- Namespace
- GenerativeAI.Types.RagEngine
- Assembly
- GenerativeAI.dll
A RagFile contains user data for chunking, embedding and indexing.
public class RagFile
- Inheritance
-
RagFile
- Inherited Members
- Extension Methods
Properties
CreateTime
Output only. Timestamp when this RagFile was created.
[JsonPropertyName("createTime")]
public string? CreateTime { get; set; }
Property Value
Description
Optional. The description of the RagFile.
[JsonPropertyName("description")]
public string? Description { get; set; }
Property Value
DirectUploadSource
Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
[JsonPropertyName("directUploadSource")]
public DirectUploadSource? DirectUploadSource { get; set; }
Property Value
DisplayName
Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters.
[JsonPropertyName("displayName")]
public string? DisplayName { get; set; }
Property Value
FileStatus
Output only. State of the RagFile.
[JsonPropertyName("fileStatus")]
public FileStatus? FileStatus { get; set; }
Property Value
GcsSource
Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the Cloud Storage uri for now.
[JsonPropertyName("gcsSource")]
public GcsSource? GcsSource { get; set; }
Property Value
GoogleDriveSource
Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
[JsonPropertyName("googleDriveSource")]
public GoogleDriveSource? GoogleDriveSource { get; set; }
Property Value
JiraSource
The RagFile is imported from a Jira query.
[JsonPropertyName("jiraSource")]
public JiraSource? JiraSource { get; set; }
Property Value
Name
Output only. The resource name of the RagFile.
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
RagFileType
Output only. The type of the RagFile.
[JsonPropertyName("ragFileType")]
public RagFileType? RagFileType { get; set; }
Property Value
SharePointSources
The RagFile is imported from a SharePoint source.
[JsonPropertyName("sharePointSources")]
public SharePointSources? SharePointSources { get; set; }
Property Value
SizeBytes
Output only. The size of the RagFile in bytes.
[JsonPropertyName("sizeBytes")]
public string? SizeBytes { get; set; }
Property Value
SlackSource
The RagFile is imported from a Slack channel.
[JsonPropertyName("slackSource")]
public SlackSource? SlackSource { get; set; }
Property Value
UpdateTime
Output only. Timestamp when this RagFile was last updated.
[JsonPropertyName("updateTime")]
public string? UpdateTime { get; set; }