Function: dedupeSuggestions()
dedupeSuggestions(
questions):string[]
Dedupe + cap a single flat list of suggested questions (e.g. the initial Genie sample questions). Shares the similarity dedupe and MAX_SUGGESTIONS cap with the follow-up extractor so initial and follow-up suggestions behave identically.
Parameters
Section titled “Parameters”questions
Section titled “questions”string[] | undefined
Returns
Section titled “Returns”string[]