Skip to content

DocumentManager

Description: Manages a collection of documents and provides search functionality. Automatically embeds and syncs documents ( provided by loader) into similarity memory where they can be searched.

PropertyPatternTypeDeprecatedDefinitionTitle/Description
- implementationNoconstNo-DocumentManager
+ nameNostringNo-Name
- recheck_frequencyNointegerNo-Recheck Frequency
- loaderNoReference[DocumentLoader]NoIn DocumentLoaderOverview of DocumentLoader components
- doc_processorNoReference[DocumentProcessor]NoIn DocumentProcessorOverview of DocumentProcessor components
- concurrencyNointegerNo-Concurrency

1. Property implementation

Typeconst
RequiredNo

Description: DocumentManager

Specific value: "DocumentManager"

2. Property name

Title: Name

Typestring
RequiredYes

Description: The name of the document manager (used to name database collections).

3. Property recheck_frequency

Title: Recheck Frequency

Typeinteger
RequiredNo
Default60

Description: The number of seconds between checks.

4. Property loader

TypeReference[DocumentLoader]
RequiredNo
Default{"implementation": "DocumentLoader"}
Defined inDocumentLoader

Description: Overview of DocumentLoader components

5. Property doc_processor

TypeReference[DocumentProcessor]
RequiredNo
Default{"implementation": "DocumentProcessor"}
Defined inDocumentProcessor

Description: Overview of DocumentProcessor components

6. Property concurrency

Title: Concurrency

Typeinteger
RequiredNo
Default8

Description: The number of concurrent tasks to run.