Skip to content

Exclusion of keys

The exclusion of keys can be very beneficial to the performance and quality of the created aggregations for various reasons:

  • Improved clarity --> Allow the LLM to better focus on relevant data
  • Distraction elimination --> Eliminate fields that contradict each other or might otherwise confuse the LLM
  • Better guidance --> Help the LLM to better align with the user intent
  • Reduce context size --> Less keys result in faster responses
  • Cut costs --> Fewer tokens used per request

How it works

By default, all fields are included. To exclude a field, you navigate to the collection structure and just switch the Include toggle to off:

Exclude keys