LLM Providers

OpenAI

Connect OpenAI for GPT models and embedding generation.

Features

✓GPT-4 and GPT-4o support
✓text-embedding-3 models
✓Function calling
✓Streaming responses
✓Token management
✓Rate limit handling

Quick Start

import { Metalogue } from '@metalogue/sdk';

const client = new Metalogue({ apiKey: 'mtlg_...' });

// Connect OpenAI
await client.sync('openai', {
  // Configuration options
});

// Query OpenAI data
const results = await client.query({
  question: 'Your question here',
  sources: ['openai']
});
View Documentation← All Integrations