get_metadata
Retrieve document metadata, structure, and key terms to analyze content organization and identify important topics using TF-IDF scoring.
Instructions
Get metadata, structure, and statistics for a document or segment.
Includes top terms by TF-IDF.
Args: document_id: ID of the document to get metadata for. segment_id: ID of the segment to get metadata for. include_structure: Include document structure in response. top_terms: Number of top terms to return (default: 10).
Returns: Metadata including structure and top terms.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | No | ||
| segment_id | No | ||
| include_structure | No | ||
| top_terms | No |