Skip to main content

Crate terraphim_service

Crate terraphim_service 

Source
Expand description

Main service layer for Terraphim AI.

Provides document search, indexing, and AI-assisted summarisation across multiple haystack backends. Integrates the knowledge graph, thesaurus, and relevance-scoring pipeline into a single async service facade.

Re-exports§

pub use auto_route::AutoRouteContext;
pub use auto_route::AutoRouteReason;
pub use auto_route::AutoRouteResult;
pub use auto_route::JMAP_MISSING_TOKEN_PENALTY;
pub use auto_route::auto_select_role;

Modules§

auto_route
Intent-based role auto-routing.
context
conversation_service
error
http_client
llm
llm_proxy
Terraphim LLM Proxy Service
logging
Centralized logging initialization utilities
rate_limiter
summarization_manager
summarization_queue
summarization_worker

Structs§

TerraphimService
Main entry point for search, indexing, and AI operations in Terraphim.

Enums§

ServiceError
Top-level error type for the Terraphim service layer.

Type Aliases§

Result