Skip to content

Commit 1c3fcea

Browse files
author
Julien Salinas
committed
Fix the embeddings TS types.
1 parent 7d5b410 commit 1c3fcea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ declare class Client {
111111
status: number;
112112
statusText: string;
113113
data: {
114-
score: number[][];
114+
embeddings: number[][];
115115
};
116116
}>;
117117

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nlpcloud",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "NLP Cloud serves high performance pre-trained or custom models for NER, sentiment-analysis, classification, summarization, paraphrasing, text generation, image generation, code generation, question answering, automatic speech recognition, machine translation, language detection, semantic search, semantic similarity, tokenization, POS tagging, speech synthesis, embeddings, and dependency parsing. It is ready for production, served through a REST API.\n\nThis is the Node.js client for the NLP Cloud API.\n\nMore details here: https://nlpcloud.io\n\nDocumentation: https://docs.nlpcloud.io",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)