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.
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|---|---|---|---|---|
| + implementation | No | const | No | - | Implementation |
| + name | No | string | No | - | Name |
| - recheck_frequency | No | integer | No | - | Recheck Frequency |
| - loader | No | Reference[DocumentLoader] | No | - | - |
| - concurrency | No | integer | No | - | Concurrency |
| - doc_processor | No | Reference[DocumentProcessor] | No | - | - |
1. Property implementation
Title: Implementation
| Type | const |
| Required | Yes |
Specific value: "DocumentManager"
2. Property name
Title: Name
| Type | string |
| Required | Yes |
Description: The name of the document manager (used to name database collections).
3. Property recheck_frequency
Title: Recheck Frequency
| Type | integer |
| Required | No |
| Default | 60 |
Description: The number of seconds between checks.
4. Property loader
| Type | Reference[DocumentLoader] |
| Required | No |
| Default | {"implementation": "DocumentLoader"} |
5. Property concurrency
Title: Concurrency
| Type | integer |
| Required | No |
| Default | 8 |
Description: The number of concurrent tasks to run.
6. Property doc_processor
| Type | Reference[DocumentProcessor] |
| Required | No |
| Default | {"implementation": "DocumentProcessor"} |