Skip to content

💻 Command Line Interface

DeepSearcher provides a convenient command line interface for loading data and querying.

📥 Loading Data

Load data from files or URLs:

deepsearcher load "your_local_path_or_url"

Load into a specific collection:

deepsearcher load "your_local_path_or_url" --collection_name "your_collection_name" --collection_desc "your_collection_description"

Examples

Loading from local files:

# Load a single file
deepsearcher load "/path/to/your/local/file.pdf"

# Load multiple files at once
deepsearcher load "/path/to/your/local/file1.pdf" "/path/to/your/local/file2.md"

Loading from URL:

Note: Set FIRECRAWL_API_KEY in your environment variables. See FireCrawl documentation for more details.

deepsearcher load "https://www.wikiwand.com/en/articles/DeepSeek"

🔍 Querying Data

Query your loaded data:

deepsearcher query "Write a report about xxx."

❓ Help Commands

Get general help information:

deepsearcher --help

Get help for specific subcommands:

# Help for load command
deepsearcher load --help

# Help for query command
deepsearcher query --help