pipeline

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PipelineCmd = &cobra.Command{
	Use:     "pipeline",
	Aliases: []string{"pipe", "p"},
	Short:   "Pipeline commands for batch document ingestion",
	Long: `Pipeline commands for batch document ingestion.

The pipeline command provides tools for ingesting large numbers of documents
from directories into vector databases. It supports:

- Recursive directory scanning
- Glob pattern matching
- Batch processing with configurable workers
- Multiple file types (PDF, TXT, MD, JSON, YAML)
- Resume capability for interrupted operations
- Dry-run mode for previewing operations
- JSON/YAML/Table output formats

Examples:
  # Ingest all PDFs from a directory
  weave pipeline ingest ./docs --glob "**/*.pdf" --collection documents

  # Ingest with custom batch size and workers
  weave pipeline ingest ./docs --collection docs --batch-size 50 --workers 8

  # Dry run to preview what will be ingested
  weave pipeline ingest ./docs --collection docs --dry-run

  # Resume interrupted ingestion
  weave pipeline ingest ./docs --collection docs --resume --state-file .weave-state.json
`,
}

PipelineCmd represents the pipeline command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL