Class KnowledgeComponent

Assembly: redb.Route.Llm.dll

Ingest transport for the knowledge base. Scheme: knowledge.

To("knowledge://<collection>?chunkChars=1000&overlap=100&embed=true") —
takes the inbound exchange body as a document, splits it into chunks, optionally
embeds them (when an is registered),
and upserts into the . Producer-only.


From("file://docs?include=*.md").To("knowledge://handbook");

[EndpointRole(EndpointRole.Producer, Hint = "It ingests: use To(\"knowledge://<collection>\").")]
public sealed class KnowledgeComponent : ComponentBase, IComponent, IAsyncDisposable

Inheritance

Object→ComponentBase→KnowledgeComponent

Implements

Inherited Members

Properties

Scheme

The URI scheme this component handles (e.g., "kafka", "rabbitmq").

public override string Scheme { get; }

Methods

CreateEndpoint(EndpointUri)

Creates an endpoint from a parsed URI.

public override IEndpoint CreateEndpoint(EndpointUri uri)