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 modelsDefault local models (BERT, CLIP, T5, Llama), model providers, and how to register custom local models — including llama.cpp GGUF models
External model connectionsConnecting to OpenAI-compatible APIs, NVIDIA NIM, Google Gemini, and OpenRouter
Support matrixPre-vetted local model variants and supported NVIDIA NIM models