@open-schemas/types@2.0.0Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
open-assist/open_schemasType definitions for the API of LLM providers.
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
100%
Published
a year ago (2.0.0)
@open-schemas/types
Typescript types for the API of LLM providers:
- Anthropic
- Ollama
- OpenAI
- Vertex AI
Installtion
From npm
deno add npm:@open-schemas/types
npm add @open-schemas/types
yarn add @open-schemas/types
pnpm add @open-schemas/types
bun add @open-schemas/types
From JSR
deno add @open-schemas/types
npx jsr add @open-schemas/types
yarn dlx jsr add @open-schemas/types
pnpm dlx jsr add @open-schemas/types
bunx jsr add @open-schemas/types
Usage
Anthropic
import { CreateMessageRequest } from "@open-schemas/types/anthropic"; const request: CreateMessageRequest = {};
OpenAI
import { CreateChatCompletionRequest } from "@open-schemas/types/openai"; const request: CreateChatCompletionRequest = {};
Built and signed on
GitHub Actions