UNPKG

@nomyx/assistant

Version:

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

5 lines (4 loc) 309 B
import { ChatMessage, ChatOptions, ProviderResponse } from '../../../types/chat'; import { Tool } from '../../../types/tool'; import { OpenAIConfig } from './config'; export declare function chat(config: OpenAIConfig, messages: ChatMessage[], options: ChatOptions, tools?: Tool[]): Promise<ProviderResponse>;