Table of Contents

Class RagChunk

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

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

public class RagChunk
Inheritance
RagChunk
Inherited Members
Extension Methods

Properties

PageSpan

If populated, represents where the chunk starts and ends in the document.

[JsonPropertyName("pageSpan")]
public RagChunkPageSpan? PageSpan { get; set; }

Property Value

RagChunkPageSpan

Text

The content of the chunk.

[JsonPropertyName("text")]
public string? Text { get; set; }

Property Value

string