Прочитать документ
read_documentRetrieve a Tolstoy document—letter, diary entry, or chapter—segment by segment with its header; optionally show a window around a specific segment for context.
Instructions
Прочитать документ (письмо, дневниковую запись, главу) по порядку сегментов, с шапкой.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| start | No | ord, с которого читать (next_start) | |
| doc_id | Yes | doc_id из recall | |
| segment_id | No | показать окно вокруг этого сегмента (segment_ids из recall) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| bibl | Yes | библиографическая ссылка | |
| pages | Yes | ||
| title | Yes | ||
| voice | Yes | ||
| author | Yes | ||
| corpus | Yes | ||
| volume | Yes | том ПСС | |
| segments | Yes | ||
| addressee | Yes | адресат письма | |
| date_text | Yes | ||
| next_start | Yes | start для следующей порции; null — документ дочитан | |
| total_segments | Yes |