v1

latestOpenAPI 3.0.42026-08-04342835917.6 KB
ContextShortening

Shortens each context to the parts relevant to its question, returning results in input order.

Results are cached per (context, question, prompt version), so repeated requests do not re-call the model.

post/datasets/shorten-context

Request body

Response

OK