semantic_search_all
Find relevant content across transcripts and comments using natural language queries. Automatically indexes missing content for comprehensive search results.
Instructions
Search across all content types (transcripts and comments).
Performs unified semantic search over both video transcripts and comments. Automatically indexes any missing content before searching.
Args: query: Natural language search query (e.g., "Nix garbage collection"). content_types: List of content types to search: ["transcript", "comment"]. If None, searches all types. channel_ids: Optional list of YouTube channel IDs to scope the search. video_ids: Optional list of specific video IDs to scope the search. k: Number of results to return (default: 10). language: Preferred transcript language code (default: "en"). max_comments_per_video: Maximum comments to index per video (default: 100). max_videos_per_channel: Maximum videos to fetch per channel (default: 50). min_score: Optional minimum similarity score threshold (lower is better).
Returns: Dictionary with search results including: - query: The original search query - results: List of matches with content_type field indicating source - total_results: Number of results returned - indexing_stats: Statistics for both transcripts and comments - content_types_searched: List of content types that were searched
Note: - Results are sorted by relevance score across all content types - Each result includes content_type field ("transcript" or "comment") - Transcript results include timestamp_url, comment results include author
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| query | Yes | ||
| language | No | en | |
| min_score | No | ||
| video_ids | No | ||
| channel_ids | No | ||
| content_types | No | ||
| max_comments_per_video | No | ||
| max_videos_per_channel | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||