UNPKG

@nomyx/assistant

Version:

A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)

4 lines (3 loc) 235 B
import { OpenRouterConfig } from './config'; export declare function embed(config: OpenRouterConfig, text: string): Promise<number[]>; export declare function embedBatch(config: OpenRouterConfig, texts: string[]): Promise<number[][]>;