Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

suggest_similar

Function
This function is defined in the config module.

Signature

def suggest_similar(input: string,
  options: string[],
  maxDistance: number = 2) -> string[]

Returns

Returns
string[]
The result of the operation.

Uses

  • startsWith
  • levenshteinDistance

Source

View on GitHub

src/config/index.ts at line 962