Knowledge Fetcher¶
Cluster: Uncategorised | Type: component | MCP Tools: None
Overview¶
Public API¶
FetchResult¶
Typed wrapper around an adapter's
list[RawRecord]output.
| Field | Type | Default |
|---|---|---|
status | FetchStatus | required |
records | list[RawRecord] | field(default_factory=list) |
error_code | str | '' |
operator_message | str | '' |
partial | bool | False |
source_count_expected | int \| None | None |
FetchSpec¶
| Field | Type | Default |
|---|---|---|
domain | str | required |
source_type | str | required |
source_url | str | required |
since_date | str | required |
set_spec | str | '' |
max_docs | int | 1000 |
reference_only | bool | False |
Functions¶
fetch_typed(spec: FetchSpec) -> FetchResult¶
Fetch
specand return a typed :class:FetchResult.
fetch(spec: FetchSpec) -> list[RawRecord]¶
Dispatch FetchSpec to the correct adapter.