ContextShortening

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

Changed on

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

post/datasets/shorten-context

Request

  • Base URL
    https://api.rapidata.ai
  • URL
    https://api.rapidata.ai/datasets/shorten-context
  • Auth
    OpenID Connect (https://auth.rapidata.ai/.well-known/openid-configuration, scopes: openid, profile, email, offline_access, api)

Request body

Response

OK

Changes