Class KnowledgeEndpointOptions

Assembly: redb.Route.Llm.dll

Options for a knowledge:// endpoint (URI query auto-binds by name).

public sealed class KnowledgeEndpointOptions : EndpointOptions

Inheritance

Object→EndpointOptions→KnowledgeEndpointOptions

Inherited Members

Properties

ChunkChars

Target chunk size in characters.

public int ChunkChars { get; set; }

Collection

Collection fallback when the URI has no path (knowledge://?collection=...).

public string? Collection { get; set; }

DocId

Stable document id base — chunk ids are {DocId}#{index}, so a re-ingest

public string? DocId { get; set; }

Embed

Embed chunks on ingest when an is

public bool Embed { get; set; }

Overlap

Overlap (chars) between consecutive chunks. Must be in [0, ChunkChars).

public int Overlap { get; set; }

Methods

Validate()

Validates required parameters and constraints. Called after BindFromUri.

public override void Validate()