Class ChunkPreviewResult
- Namespace
- Mythosia.AI.Rag.Diagnostics
- Assembly
- Mythosia.AI.Rag.dll
public class ChunkPreviewResult
- Inheritance
-
ChunkPreviewResult
- Inherited Members
-
Constructors
ChunkPreviewResult(IReadOnlyList<RagChunk>, int, IReadOnlyList<ChunkOverlapInfo>, string)
public ChunkPreviewResult(IReadOnlyList<RagChunk> chunks, int documentLength, IReadOnlyList<ChunkOverlapInfo> overlaps, string splitterType)
Parameters
chunks IReadOnlyList<RagChunk>
documentLength int
overlaps IReadOnlyList<ChunkOverlapInfo>
splitterType string
Properties
AverageChunkSize
public int AverageChunkSize { get; }
Property Value
- int
Chunks
public IReadOnlyList<RagChunk> Chunks { get; }
Property Value
- IReadOnlyList<RagChunk>
DocumentLength
public int DocumentLength { get; }
Property Value
- int
Overlaps
public IReadOnlyList<ChunkOverlapInfo> Overlaps { get; }
Property Value
- IReadOnlyList<ChunkOverlapInfo>
SplitterType
public string SplitterType { get; }
Property Value
- string
TotalChunks
public int TotalChunks { get; }
Property Value
- int
Methods
ToSummary()
public string ToSummary()
Returns
- string