Module providers

Module providers 

Source
Expand description

Source provider abstraction

Provides a unified interface for indexing content from different sources:

  • File system (local files)
  • GitHub (repositories, files, gists)
  • URLs (web pages, PDFs)
  • Databases (SQL, NoSQL)
  • Calendar/Notes/Books

Each provider implements the SourceProvider trait to enable seamless integration with agentroot’s indexing and search capabilities.

Re-exports§

pub use csv::CSVProvider;
pub use file::FileProvider;
pub use github::GitHubProvider;
pub use json::JSONProvider;
pub use pdf::PDFProvider;
pub use sql::SQLProvider;
pub use url::URLProvider;

Modules§

csv
CSV Provider for indexing CSV files row-by-row
file
File system provider
github
GitHub provider
json
JSON Provider for indexing JSON files with semantic object/array splitting
pdf
PDF Provider for extracting text from PDF files
sql
SQL Provider for indexing database content
url
URL Provider for fetching content from web pages

Structs§

ProviderConfig
Configuration for a provider instance
ProviderRegistry
Registry for managing provider instances
SourceItem
Item from a source provider

Traits§

SourceProvider
Source provider trait - all content sources must implement this