Kind: Function
Source: atloria-monorepo/packages/doc-automation/src/v2/stages/stage-11-verification/grounding-checker.ts
Extract potential entity references from generated markdown.
Looks for:
- Capitalized phrases (2+ words starting with uppercase): "Sales Order", "Journal Entry"
- Quoted terms: "something" or 'something'
- Bold terms: something
- Menu paths: "X > Y > Z" or "X → Y → Z"
Returns a deduplicated, normalized (lowercase, trimmed) array.
Signature
tsfunction extractEntityMentions(markdown: string): string[]
Parameters
| Name | Type |
|---|---|
markdown | string |
Returns: string[]
Was this page helpful?