Skip to content

pickGapProposal

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/web/src/app/app/desk/components/copilotUtils.ts

Best proposal with token overlap ≥ 2 against the thread title/question, or null.

Signature

ts
function pickGapProposal(proposals: TicketTopicProposal[], threadText: string): TicketTopicProposal | null

Parameters

NameType
proposalsTicketTopicProposal[]
threadTextstring

Returns: TicketTopicProposal | null

Was this page helpful?

Download as PDF