@cloudgrid-io/ai
v0.3.0
Published
Deprecated — renamed to @cloudgrid-io/runtime. AI is now runtime.ai.*. This package re-exports @cloudgrid-io/runtime so existing imports keep working.
Readme
@cloudgrid-io/ai (deprecated)
This package has been renamed to @cloudgrid-io/runtime.
AI now lives under runtime.ai.*. This package is a thin shim that re-exports @cloudgrid-io/runtime, so existing code keeps working with no change:
// Still works — resolves through the shim to @cloudgrid-io/runtime
import { createClient, ai } from '@cloudgrid-io/ai';New code should install the new package and use the runtime surface:
npm install @cloudgrid-io/runtimeimport { runtime } from '@cloudgrid-io/runtime';
const { text } = await runtime.ai.chat({ prompt: 'Hello' });
const vec = await runtime.ai.embeddings({ text: 'hello world' });See the @cloudgrid-io/runtime README for the full API.
