Integrating models v7

Models are the AI engines that power AIDB's core operations — embedding generation, text chunking, summarization, OCR, and completions. Every pipeline step and SQL function that performs an AI operation requires a model to be registered and reachable before it can run.

When to add models: Register your models after installing and configuring AIDB, and before creating pipelines or knowledge bases that reference them. If you're using one of AIDB's default local models (such as BERT or CLIP), no registration is needed — they're available immediately. For external APIs (OpenAI, NVIDIA NIM, Gemini) or custom HuggingFace variants, use aidb.create_model() to register the model first.

PageWhat it covers
Local modelsThe local model providers (Candle and llama.cpp) and which one to pick, the default models, then per provider: tested models, registration example, and parameters
Remote modelsThe remote model providers and which one to pick, then per provider: supported models, registration example, and parameters