Skip to main content
What this builds. A KB that ingests a local markdown file via both the fire-and-forget and the blocking-wait APIs. You’ll end up with. An IngestionTask you can poll, then a completed task whose item_ids are now searchable in the KB.

Expected output

custom_metadata isn’t accepted at ingestion time — apply it per-item after the task lands using update_item_metadata.

See also

Add folder

Ingest a local folder tree, preserving structure.

Add URLs

Ingest single pages or recursive crawls.

KB reference

Every public method.