effect-io-ai

Package: @effect/ai-anthropic
Module: AnthropicLanguageModel

AnthropicLanguageModel.model

Creates an Anthropic model descriptor that can be provided with Effect.provide.

When to use

Use when you want an Anthropic Claude model value that carries provider and model metadata and can be supplied directly to an Effect program.

See

Signature

declare const model: (model: (string & {}) | Model, config?: Omit<typeof Config.Service, "model">) => AiModel.Model<"anthropic", LanguageModel.LanguageModel, AnthropicClient>

Source

Since v4.0.0