UNPKG

@nyrra/foundry-ai

Version:

Thin Palantir Foundry provider adapters and model catalog for the Vercel AI SDK.

17 lines (14 loc) 792 B
import { F as FoundryLanguageModel } from '../middleware-Dzb9N4ik.cjs'; import { b as ThirdPartyModelId } from '../third-party-models-CPrRV_3P.cjs'; import { F as FoundryConfig } from '../types-DauuBLWL.cjs'; import 'ai'; interface FoundryThirdPartyProvider { (modelId: ThirdPartyModelId): FoundryLanguageModel; specificationVersion: FoundryLanguageModel['specificationVersion']; languageModel(modelId: ThirdPartyModelId): FoundryLanguageModel; embeddingModel(modelId: string): never; imageModel(modelId: string): never; } /** Routes known third-party aliases and RIDs through their verified Foundry proxy. */ declare function createFoundryThirdParty(config: FoundryConfig): FoundryThirdPartyProvider; export { type FoundryThirdPartyProvider, createFoundryThirdParty };