A request sent to an AI system or database to retrieve information or generate a response. In RAG, queries trigger retrieval from the knowledge base.
In AI systems, a query is a request for information or action. The term applies both to user requests to AI systems and to the search operations performed against knowledge bases in RAG architectures.
Query types in AI:
Query processing stages:
Query optimisation techniques:
Query design affects both response quality and costs. Well-structured queries improve relevance and reduce token usage.
We implement sophisticated query processing for Australian businesses, including query expansion, routing, and optimisation to ensure users get accurate answers.
"A customer asking "What's your return policy?" triggers a query to find relevant documentation, which is then used to generate an accurate response."