Skip to content

upload_router

diapason.server.upload_router

Upload / Paste router for ingesting documents into the knowledge store.

ingest_files(files=File(...), title=Form(None)) async

Ingest uploaded files into the knowledge store.

ingest_paste(body) async

Ingest pasted text into the knowledge store.