src/anthropic/types/citation_page_location.py
raw| 1 | from typing import Optional |
| 2 | from typing_extensions import Literal |
| 3 | |
| 4 | from .._models import BaseModel |
| 5 | |
| 6 | __all__ = ["CitationPageLocation"] |
| 7 | |
| 8 | |
| 9 | class CitationPageLocation(BaseModel): |
| 10 | cited_text: str |
| 11 | |
| 12 | document_index: int |
| 13 | |
| 14 | document_title: Optional[str] = None |
| 15 | |
| 16 | end_page_number: int |
| 17 | |
| 18 | file_id: Optional[str] = None |
| 19 | |
| 20 | start_page_number: int |
| 21 | |
| 22 | type: Literal["page_location"] |