File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,6 @@ async encodeImage(image: Uint8Array | string): Promise<string> {
286
286
287
287
/**
288
288
* Embeds a text prompt into a vector.
289
- * @deprecated Use the `embed` method instead.
290
289
* @param request {EmbeddingsRequest} - The request object.
291
290
* @returns {Promise<EmbeddingsResponse> } - The response object.
292
291
*/
Original file line number Diff line number Diff line change @@ -150,9 +150,6 @@ export interface EmbedRequest {
150
150
options ?: Partial < Options >
151
151
}
152
152
153
- /**
154
- * @deprecated Use the EmbedRequest interface with the embed() method instead.
155
- */
156
153
export interface EmbeddingsRequest {
157
154
model : string
158
155
prompt : string
@@ -197,9 +194,6 @@ export interface EmbedResponse {
197
194
embeddings : number [ ] [ ]
198
195
}
199
196
200
- /**
201
- * @deprecated Use the embed() method with the EmbedResponse instead.
202
- */
203
197
export interface EmbeddingsResponse {
204
198
embedding : number [ ]
205
199
}
You can’t perform that action at this time.
0 commit comments