JSON
As the preceding image shows, here’s the output of the example field:
JSON
For a more complete SenseML example, see the SenseML introduction.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
{
"fields": [
{
"id": "name_of_output_key",
"anchor": "an anchor is some text to match. An anchor can be an array of matches",
"method": {
"id": "label",
"position": "below"
}
},
]
}
As the preceding image shows, here’s the output of the example field:
{
"name_of_output_key": {
"type": "string",
"value": "Below the matching anchor, this is the data to extract. The anchor is a label for this data."
}
}
| key | description |
|---|---|
| field | A query that extracts data in relationship to matched text. Its ID is the key for the extracted data. In this example, name_of_output_key. |
| anchor | Matched text that helps narrow down a location in the document from which to extract data. In this example, “an anchor is some text to match…“. |
| method | Defines how to expand out from the anchor and extract data. In this example, the Label method extracts data that’s below the anchor (“position”: “below”). For a list of methods, see Methods. |
