Skip to Content

Features

Answer modes

Choose how strictly an engine's answers stay within your sources.

Some assistants must never say anything your documents don't support. Others are more useful when they add general background. An answer mode sets how strictly an engine stays within your sources.

The default is grounded. An answer then uses only your sources, and says the information isn't available when they don't cover the question.

Modes

ModeAnswers fromWhen the sources don't cover itBest for
groundedYour sources only, reasoning from what they saySays the information isn't availablePolicies, contracts, support, regulated content
blendedYour sources first, then general knowledge to fill gapsAnswers from general knowledgeAdvisory assistants and internal helpers
retrievalThe exact text of your sources, organized but not reasoned aboutSays the information isn't availableQuoting and lookup, where wording must not change

In every mode, a citation is required for any claim drawn from your sources.

Set the mode for one query

Pass mode to query. Over HTTP the field is query_mode:

result = lynk.query_sync("How should we handle a late refund request?", mode="blended")

The SDK's default mode is precise, which is the same as grounded. These names are also accepted:

NameSame as
precisegrounded
guidegrounded
exploreblended

Any other value falls back to grounded.

Set the engine's default

Open the engine in Knowledge Engines, go to Settings, and choose an Answer Mode. Streamed answers always use this setting. See Streaming answers.

Next steps

You've chosen how answers behave. Learn to read their citations and confidence next.

On this page