Skip to content

RAG & Search

Query rewriting

Rephrasing a user's request into a form that works better for search or retrieval.

Example

The system rewrites “What about contractors?” using the prior conversation before searching.

Why it matters

It turns incomplete or conversational requests into clearer searches.

You'll hear it

“Use the earlier question to explain what 'those ones' refers to.”

Can you control it?

Set by the team

The people building or running the AI choose this setup. An everyday user generally needs their help to change how this part works.

Common questions

Can rewriting change the intended meaning?
Yes. The system may guess the wrong subject or add an assumption the user never made.
Does a rewrite have to be shown to the user?
Not always. Some products perform the step in the background.
Can a clear original question still need rewriting?
Sometimes. The search service may work better with a different form or selected terms.

AI chatbot

Still have questions?

Ask the AI chatbot about this term or another AI concept.

Up to 500 characters.

Ask LATHIC about AI. Relevant glossary entries may be included.

Your question, the glossary entries it matches, and a rotating pseudonymous identifier go to Microsoft Azure’s OpenAI service through Vercel AI Gateway to generate an answer. Zero retention and no training are required of the provider, and LATHIC does not save your question or answer. Privacy Notice