@nomyx/assistant
Version:
A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)
6 lines (5 loc) • 415 B
TypeScript
import { GenericToolSchema, StandardizedToolCall } from '../../../types/tool';
import { OpenAIFunction, OpenAIToolCall } from './types';
export declare function convertToolSchema(schema: GenericToolSchema): OpenAIFunction;
export declare function convertToolCall(call: OpenAIToolCall): StandardizedToolCall;
export declare function convertToolCalls(toolCalls: OpenAIToolCall[] | undefined): StandardizedToolCall[];