@nomyx/assistant
Version:
A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)
22 lines (21 loc) • 549 B
text/typescript
export interface AnthropicParameterDefinition {
type: string;
description?: string;
enum?: string[];
items?: AnthropicParameterDefinition;
properties?: Record<string, AnthropicParameterDefinition>;
required?: string[];
}
export interface AnthropicFunctionSchema {
name: string;
description: string;
input_schema: {
type: string;
properties: Record<string, AnthropicParameterDefinition>;
required?: string[];
};
output_schema: {
type: string;
properties: Record<string, AnthropicParameterDefinition>;
};
}