File size: 412 Bytes
62e1b50 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | CREATE TABLE ai_models (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
name TEXT NOT NULL,
provider TEXT NOT NULL CHECK (provider IN ('openai',
'anthropic',
'meta')),
model_id TEXT NOT NULL,
description TEXT,
capabilities TEXT[] DEFAULT '{}',
is_active BOOLEAN DEFAULT true,
api_endpoint TEXT,
created_at TIMESTAMP WITH TIME ZONE DEFAULT timezone('utc',
now())
); |