Lelemon SDK - Core
This is the core module. For observing LLM clients, use provider-specific imports:
import { init, observe, flush } from '@lelemondev/sdk/openai'; Copy
import { init, observe, flush } from '@lelemondev/sdk/openai';
import { init, observe, flush } from '@lelemondev/sdk/anthropic'; Copy
import { init, observe, flush } from '@lelemondev/sdk/anthropic';
import { init, observe, flush } from '@lelemondev/sdk/bedrock'; Copy
import { init, observe, flush } from '@lelemondev/sdk/bedrock';
import { init, observe, flush } from '@lelemondev/sdk/gemini'; Copy
import { init, observe, flush } from '@lelemondev/sdk/gemini';
import { init, observe, flush } from '@lelemondev/sdk/openrouter'; Copy
import { init, observe, flush } from '@lelemondev/sdk/openrouter';
Initialize the SDK Call once at app startup
Lelemon SDK - Core
This is the core module. For observing LLM clients, use provider-specific imports:
Example: OpenAI
Example: Anthropic
Example: AWS Bedrock
Example: Google Gemini
Example: OpenRouter