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
process_openrouter()
Process request using OpenRouter API
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

Utility Functions

Helper tools and utility functions

CacheManager
Cache Manager Class
DiscussionLogger
Logger class for cell type annotation discussions
create_annotation_prompt()
Prompt templates for mLLMCelltype
write_log()
Write Log Utility Function