ContextShortening
Shortens each context to the parts relevant to its question, returning results in input order.
Changed onResults are cached per (context, question, prompt version), so repeated requests do not re-call the model.
post/datasets/shorten-context
Request
- Base URLhttps://api.rapidata.ai
- URLhttps://api.rapidata.ai/datasets/shorten-context
- AuthOpenID Connect (https://auth.rapidata.ai/.well-known/openid-configuration, scopes: openid, profile, email, offline_access, api)
Request body
Response
OK
Changes
- info
the security scope
apiwas added to the endpoint's security schemeOpenIdConnect
- info