compare_segments
Analyze two document segments to identify shared themes, unique terms, and similarity scores, helping understand relationships between chapters or sections.
Instructions
Compare two segments to find shared themes, unique terms, and similarity.
Useful for understanding relationships between chapters.
Args: segment_id_a: ID of the first segment to compare. segment_id_b: ID of the second segment to compare. find_bridges: Find intermediate segments that connect the two. max_bridges: Maximum number of bridge segments to return.
Returns: Comparison result with similarity and themes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment_id_a | Yes | ||
| segment_id_b | Yes | ||
| find_bridges | No | ||
| max_bridges | No |