HaystackOutline · haystack-ai · Python 3.10+
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
5 small wins to finish your pathNext lesson

Metadata filters: who may see what

Filters restrict retrieval by fields such as department or access level.

Outline
This lesson is an outline of what it will teach. The full lesson, with code you can run, is being written.

What this lesson covers

  • Adding metadata to documents
  • Filtering at query time
  • Using filters for permissions

Why it matters

Filtering by permission before retrieval is how you stop an assistant leaking documents.

Slow is fine. Stopping is the only problem.