public sealed class RagChunk : IMessage<RagChunk>, IEquatable<RagChunk>, IDeepCloneable<RagChunk>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class RagChunk.
A RagChunk includes the content of a chunk of a RagFile, and associated metadata.
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
RagChunk()
public RagChunk()
RagChunk(RagChunk)
public RagChunk(RagChunk other)
Parameter | |
---|---|
Name | Description |
other |
RagChunk |
Properties
PageSpan
public RagChunk.Types.PageSpan PageSpan { get; set; }
If populated, represents where the chunk starts and ends in the document.
Property Value | |
---|---|
Type | Description |
RagChunkTypesPageSpan |
Text
public string Text { get; set; }
The content of the chunk.
Property Value | |
---|---|
Type | Description |
string |