Use tags in chat
Filter workspace documents by tag before asking grounded questions.
What this does
Tags in chat narrow the document pool used by Grounded Search. This guide chooses scope, tags, optional documents, and a document action before sending a question.
Video planned
Use tags in chat walkthrough
Recording planned. Show use tags in chat end to end and explain why this task helps a user.
To publish this video:
- Upload the recording to YouTube or Microsoft Stream.
- Save a poster frame as
docs/images/video-posters/guide-use-tags-in-chat.png. - Add the watch URL to
this slotindocs/_data/media.yml.
Why you would use this
Use tag filters when a workspace contains many documents but your question belongs to one project, case, client, or review batch. Tags reduce irrelevant citations and avoid selecting files one by one; skip them when you need every accessible document.
Before you start
- Workspaces must be enabled with
enable_user_workspace,enable_group_workspaces, orenable_public_workspaces; see Workspaces settings. - Documents must be processed and tagged.
- You need access to the workspace that contains the tagged documents.
Steps
- Open Chat.
- Select Workspaces to open Grounded Search.
- Under Scope, choose a workspace or leave All.
Screenshot needed
Use tags in chat step 3
Capture the use tags in chat task at this step in SimpleChat with realistic sample data and redact secrets.
Save as docs/images/guides/use-tags-in-chat-step-3.png
Drop the file at that path and it replaces this card automatically. No other change needed.
- Under Tags, select one or more tags.
- Leave Document at All Documents or choose specific documents to narrow further.
- Choose Search, Analyze, or Compare in Action.
Screenshot needed
Use tags in chat step 6
Capture the use tags in chat task at this step in SimpleChat with realistic sample data and redact secrets.
Save as docs/images/guides/use-tags-in-chat-step-6.png
Drop the file at that path and it replaces this card automatically. No other change needed.
- Type your question and select Send Message.
Verify it worked
The answer should cite or discuss documents from the selected tag set. The conversation may show Scope locked after a grounded response.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| The Tags dropdown stays disabled | No tags loaded for the selected scope | Choose the correct scope and confirm the workspace has tags. |
| Expected files are missing | The documents are untagged or unprocessed | Check the workspace Documents tab and Filter by Tags. |