llmmeter-anthropic
v0.1.1
Published
Anthropic SDK adapter for llmmeter.
Readme
llmmeter-anthropic
Anthropic SDK adapter for llmmeter. Wraps an Anthropic client so messages.create (streaming and non-streaming) is recorded.
import Anthropic from "@anthropic-ai/sdk";
import { meter } from "llmmeter-anthropic";
const anthropic = meter(new Anthropic());Or via the umbrella:
import { meter } from "@amit641/llmmeter/anthropic";