When executed without the argument --api, the application runs a command-line interface (CLI) for interacting with it directly.
The CLI provides the following main functionality:
-
Chat with Video Transcripts
- Purpose: Interact with stored video transcripts via a conversational interface.
- Workflow:
- Enter a valid YouTube URL or type
/exitto return to the main menu. - The system checks if the transcript exists locally; if not, it attempts to download and process it.
- Once the transcript is available, users can enter queries or use commands like
/clearto clear message history or/exitto leave chat mode. - The system processes each query using the inferencer and embedder services and returns relevant responses based on the transcript content.
- Enter a valid YouTube URL or type
The CLI also includes an exit option to terminate the application gracefully.