List Entities
- 07 Jun 2024
- 1 Minute to read
- Print
- PDF
List Entities
- Updated on 07 Jun 2024
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
List extraction behaves similarly to pattern extraction. However, you'll be able to add different occurrences of your entity with corresponding synonyms.
Let's take Airport Codes as an example:
Extraction will go like this:
User Input | Type | Value |
---|---|---|
"Find a flight from SFO to Mumbai" | "Airport Codes" | ["SFO", "BOM"] |
[ { name: 'Airport Codes' , type: 'list' , meta: { confidence: 1 , provider: 'native' , source: 'SFO' , start: 19 , end: 22 , raw: {} }, data: { extras: {}, value: 'SFO' , unit: 'string' } }, { name: 'Airport Codes' , type: 'list' , meta: { confidence: 1 , provider: 'native' , source: 'Mumbai' , start: 26 , end: 32 , raw: {} }, data: { extras: {}, value: 'BOM' , unit: 'string' } } ] |
Was this article helpful?