Vertex AI v1 API - Class RagChunk (3.25.0)

public sealed class RagChunk : IMessage<RagChunk>, IEquatable<RagChunk>, IDeepCloneable<RagChunk>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1 API class RagChunk.

A RagChunk includes the content of a chunk of a RagFile, and associated metadata.

Inheritance

object > RagChunk

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.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