Skip to main content

Citation Configs

Objective: show which sources actually support a summary or agent answer.

Done when: a summary shows a Sources list with a confidence score next to each source.

What a Citation Config Does​

After a summary or agent answer is written, a citation config scores each source the model was given against the answer: how well does this source support what the answer says? Sources that score at or above the Minimum Confidence are listed under the answer, highest first, each with its score as a percentage.

It uses the same kind of model as a rerank config, a cross-encoder, and the same providers. If scoring fails, the answer still appears, without citations.

Before You Start​

You need a self-hosted Infinity server running a cross-encoder model, or an API key for Cohere, Jina or Voyage AI. You can use the same server or key as your rerank config.

1. Create the Config​

  1. Open Citation Configs in the sidebar and click New Config.
  2. Fill in Name, Provider, Model, Base URL and API Key the same way as a rerank config, plus:
FieldWhat to enter
Minimum Confidence (optional)Sources scoring below this, from 0 to 1, aren't cited. Default 0.5.
  1. Click Create.

Yew sends the model one test request when you save, so a wrong key, model or address shows an error now.

2. Search With It​

On the Search page, open Show Advanced Options and pick your config under Citations, along with a Summary Model. Choose No Citations to turn it off. Changing it after a search runs the search again. To use it on every search, click Set as Default on its card, or pick it in Settings.

Choosing Minimum Confidence​

A higher value shows fewer sources that each clearly support the answer. A lower value shows more sources, including some that only loosely relate to it. When no source reaches the cutoff, the Sources list doesn't appear at all. If summaries often show no sources, lower it.

Editing and Deleting​

Click the edit icon to change a config. Leave API Key blank to keep the saved key. Every save sends a new test request, even when you only changed the name. A Base URL can't be removed by clearing the field: a blank Base URL keeps the saved one. To stop using a Base URL, create a new config without one and delete the old one.

Deleting a config also deletes its saved key. This can't be undone. If it was your default, the default is cleared.