thoth.cli¶
Command-line interface for Thoth ingestion pipeline.
This module provides a Click-based CLI for running the ingestion pipeline, checking status, and managing the vector store.
Functions
|
Creates and configures a secure logger with automatic sensitive data redaction. |
|
Set up the ingestion pipeline with given configuration. |
Classes
|
Renders a visual progress bar. |
|
A high level console interface. |
|
Generate embeddings from text using sentence-transformers. |
|
Manages the GitLab handbook repository. |
|
Orchestrates the complete ingestion pipeline. |
|
Intelligent markdown-aware chunking. |
|
A console renderable that draws a border around its contents. |
|
PurePath subclass that can make system calls. |
|
Renders an auto-updating progress bar(s). |
|
A column with a 'spinner' animation. |
|
A console renderable to draw a table. |
|
Show task progress as a percentage. |
|
A column containing text. |
|
Renders estimated time remaining. |
|
Vector store for managing document embeddings using ChromaDB. |
- thoth.cli.setup_pipeline(repo_url: str | None, clone_path: str | None, db_path: str | None, collection: str | None) IngestionPipeline[source]¶
Set up the ingestion pipeline with given configuration.
- Parameters:
repo_url – Repository URL (None for default)
clone_path – Local clone path (None for default)
db_path – Database path (None for default)
collection – Collection name (None for default)
- Returns:
Configured IngestionPipeline instance