index_records
Bulk-index extracted records into the yearly Elasticsearch index cnreport-{year} for searchable financial report data.
Instructions
Bulk-index extracted records into cnreport-{year}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | report year → determines the index name. | |
| company | No | ||
| records | Yes | list of record dicts (e.g. from ai_extract). | |
| section | No | ||
| report_id | Yes | ||
| section_id | Yes | ||
| stock_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||