Skip to contents

Core Functions

Core functions for cell type annotation

annotate_cell_types()
Cell Type Annotation with Multi-LLM Framework
interactive_consensus_annotation()
Interactive consensus building for cell type annotation
compare_model_predictions()
Compare predictions from different models

API and Providers

API processing functions for different LLM providers

get_provider()
Determine provider from model name
get_api_key()
Utility functions for API key management
register_custom_model()
Register a custom model for a provider
register_custom_provider()
Register a custom LLM provider
list_custom_providers()
Get list of registered custom providers
list_custom_models()
Get list of registered custom models

Processor Classes

LLM processor classes for different providers

BaseAPIProcessor
Base API Processor Class
AnthropicProcessor
Anthropic API Processor
DeepSeekProcessor
DeepSeek API Processor
GeminiProcessor
Gemini API Processor
GrokProcessor
Grok API Processor
MinimaxProcessor
Minimax API Processor
OpenAIProcessor
OpenAI API Processor
OpenRouterProcessor
OpenRouter API Processor
QwenProcessor
Qwen API Processor
StepFunProcessor
StepFun API Processor
ZhipuProcessor
Zhipu API Processor

Logging and Utilities

Logging system and utility functions

UnifiedLogger
Unified Logger for mLLMCelltype Package
configure_logger()
Set global logger configuration
get_logger()
Get the global logger instance
log_debug() log_info() log_warn() log_error()
Convenience functions for logging
CacheManager
Cache Manager Class
create_annotation_prompt()
Prompt templates for mLLMCelltype