@nomyx/assistant
Version:
A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)
10 lines (8 loc) • 458 B
text/typescript
import { AnthropicConfig } from './config';
import { AnthropicProviderError } from './errors';
export async function embed(config: AnthropicConfig, text: string): Promise<number[]> {
throw new AnthropicProviderError('Embedding is not supported by Anthropic API');
}
export async function embedBatch(config: AnthropicConfig, texts: string[]): Promise<number[][]> {
throw new AnthropicProviderError('Batch embedding is not supported by Anthropic API');
}