๐ง Overview: Unleash Your LLM Superpowersยถ
๐ช What is CellMage?ยถ
CellMage is your magical companion for Jupyter notebooks, transforming ordinary code cells into powerful LLM interactions! Think of it as having an AI wizard ๐งโโ๏ธ sitting right next to you while you code, ready to assist whenever you summon it.
Under the hood, CellMage consists of several powerful magical components working together:
๐ง ChatManager: The central orchestrator that handles LLM interactions and manages the conversation flow
๐ HistoryManager: (Deprecated) Previously kept track of your conversation history and managed message persistence. Use ConversationManager instead.
๐ญ Personas: Predefined AI personalities with specific system prompts and parameters
๐ Snippets: Reusable context blocks that can be injected into conversations
๐ Adapters: Connects to different LLM providers (OpenAI, compatible APIs, and more)
๐พ Storage: Saves your conversations using SQLite (default) or Markdown files for easy reference
๐งฉ Integrations: Links CellMage to external tools like Jira, GitHub, GitLab, and Confluence
All these components work seamlessly together to create a frictionless LLM experience in your notebook environment.
โจ A Sprinkle of Magic Dustยถ
With CellMage, you can:
๐ฌ Chat with sophisticated AI models using simple
%%llmmagic commands๐ญ Switch between different AI personalities (personas) with a flick of your wand
๐ฎ Turn your entire notebook into an AI chat interface with Ambient Mode
๐ Save your magical conversations for later reference
๐งฉ Connect to external knowledge sources like GitHub, GitLab, Jira, and Confluence
โก Execute Python code generated by the LLM right in your notebook
๐ Getting Started in 10 Secondsยถ
# Install the magic
!pip install cellmage
# Load the extension
%load_ext cellmage
# Cast your first spell!
%%llm
Tell me a fun fact about wizards in computing history.
๐ฏ Perfect Forโฆยถ
๐งช Data scientists exploring datasets with AI assistance
๐ป Developers getting code explanations and suggestions
๐ Writers crafting documentation with AI help
๐ Students learning new concepts interactively
๐ Researchers analyzing complex information
โ๏ธ Automating repetitive LLM tasks in data workflows
Ready to start your magical journey? Check out the Magic Commands to learn all the spells in your new wizard toolkit!