latestOpenAPI 3.0.42026-08-213579001013.0 KB

5f993bd211f5

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