Skip to content

ai Overview

GitHub Action edited this page May 21, 2026 · 1 revision

@quatrain/ai

AI adapters commons. Provides an abstraction layer for various Artificial Intelligence providers.

Purpose

This package is part of the Quatrain Core monorepo. It provides functionality related to ai adapters commons. provides an abstraction layer for various artificial intelligence providers.

HOWTO / Usage Examples

import { Ai } from '@quatrain/ai'

// Register an adapter
Ai.registerAdapter(myAdapter)

// Use AI features
const response = await Ai.generate('Hello world')

Conventions & Technical Details

  • Follows the standard Quatrain architecture patterns.
  • Ensure proper configuration before usage.
  • See the root monorepo documentation for more details on building and testing this package.

Clone this wiki locally