# Search and AI assistant

# Search and AI assistant

Two ways to find things: **search** for exact retrieval, the **AI assistant** for drafting and summarizing. Both respect your permissions - you only ever see what you are allowed to see.

**In short:** search finds; the assistant writes. Quotes from your documents always carry citations you can verify.

## Unified search

One search box covers five areas: documents (including extracted text), collective agreements, members, cases and notes. Results blend **keyword matching** (exact words, tolerant to typos) with **semantic matching** (meaning: « congé parental » also finds parental-leave clauses worded differently).

## AI assistant

The assistant offers four modes: **ask** a question over your organization's content, **generate** a first draft, **summarize** a long thread or document, and the **library** tab for collective-agreement questions with cited sources.

1.  Open the AI assistant from your organization.
2.  Pick a mode and write your request with context (which case, which period).
3.  Read the answer **with its citations**: each claim points to a document title, page and quote.
4.  Give feedback on the answer - it improves future responses.

## What happens behind the scenes

Search runs keyword, typo-tolerant and vector indexes in parallel and merges the rankings. The assistant retrieves the most relevant passages first, then writes strictly from them - that is why it cites sources instead of inventing. Retrieval is permission-filtered _before_ writing, so confidential content from areas you cannot access never reaches the answer. Your organization's data never trains shared models.

**Good to know:** the assistant drafts, you decide. Always verify citations on sensitive matters (grievance wording, legal deadlines) before acting.

## See also

-   [Working with documents](/docs/guides-documents) - what gets indexed.
-   [Knowledge and library](/docs/guides-knowledge) - the sources it quotes.
