@byokey/types
v0.2.0
Published
Shared TypeScript types for the BYOK Infrastructure Toolkit
Downloads
419
Readme
@byokey/types
Shared TypeScript types and interfaces for the BYOK Infrastructure Toolkit.
Installation
npm install @byokey/typesKey Interfaces
StandardRequest— The unified request format all adapters acceptStandardResponse— The normalized response returned byexecute()StreamChunk— Individual chunk from streaming responsesProviderAdapter— The interface all provider adapters implementModelInfo— Model metadata (context window, pricing, capabilities)
Usage
import type { StandardRequest, ProviderAdapter } from '@byokey/types';