ReferenceAsk
Remy Reference/agent/dataSources.link
?

dataSources.link

Shows what the current dictionary finds in a piece of text.
DataSource.link(text) → { version: number | null, mentions: { ids, text }[] }

Runs the source's dictionary over any text and returns each mention, in order, with the ids it tags. Use it to check a dictionary before you rely on it. version is null when the source has no dictionary. The call shares the search rate limit.

Parameters
text
string
RequiredAny text to run the dictionary over.
Check a dictionary
const { mentions } = await Manuals.link('Replaced the seal on P101A.');
// [{ text: 1, ids: [2] }]