Skip to main content

Examples

const knowledgeComponent = new RemoteKnowledgeComponent({
maxCharsPerChunk: 1500,
maxChunksPerDocument: 20
});

Constructors

Interfaces


Constructors

constructor

new RemoteKnowledgeComponent(props: RemoteKnowledgeComponentProps): RemoteKnowledgeComponent
Creates a new RemoteKnowledgeComponent instance.

Parameters

props
RemoteKnowledgeComponentProps
required
Configuration for the remote knowledge component.

Returns

RemoteKnowledgeComponent

Interfaces

RemoteKnowledgeComponentProps

Configuration options for RemoteKnowledgeComponent creation.

Properties

maxCharsPerChunk?: number Maximum characters per chunk (default: 1000). maxChunksPerDocument?: number Maximum chunks per document (default: 10).