diff --git a/src/browser.ts b/src/browser.ts index d83e25e..40ba369 100644 --- a/src/browser.ts +++ b/src/browser.ts @@ -286,7 +286,6 @@ async encodeImage(image: Uint8Array | string): Promise { /** * Embeds a text prompt into a vector. - * @deprecated Use the `embed` method instead. * @param request {EmbeddingsRequest} - The request object. * @returns {Promise} - The response object. */ diff --git a/src/interfaces.ts b/src/interfaces.ts index dca0e7b..af7f4d6 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -150,9 +150,6 @@ export interface EmbedRequest { options?: Partial } -/** - * @deprecated Use the EmbedRequest interface with the embed() method instead. - */ export interface EmbeddingsRequest { model: string prompt: string @@ -197,9 +194,6 @@ export interface EmbedResponse { embeddings: number[][] } -/** - * @deprecated Use the embed() method with the EmbedResponse instead. - */ export interface EmbeddingsResponse { embedding: number[] }