Skip to content

Commit 15e8056

Browse files
author
Julien Salinas
committed
Decommission the lib versions endpoint.
1 parent 431acf4 commit 15e8056

File tree

4 files changed

+1
-20
lines changed

4 files changed

+1
-20
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -297,14 +297,6 @@ Call the `langdetection()` method and pass the text you want to analyze in order
297297
client.langdetection({text:'<The text you want to analyze>'})
298298
```
299299
300-
### Library Versions Endpoint
301-
302-
Call the `libVersions()` method to know the versions of the libraries used behind the hood with the model (for example the PyTorch, TensorFlow, or spaCy version used).
303-
304-
```js
305-
client.libVersions()
306-
```
307-
308300
### Question Answering Endpoint
309301
310302
Call the `question()` method and pass the following:

dist/index.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,6 @@ declare class Client {
205205
};
206206
}>;
207207

208-
libVersions(): Promise<{
209-
status: number;
210-
statusText: string;
211-
data: any;
212-
}>;
213-
214208
paraphrasing(params: {
215209
text: string
216210
}): Promise<{

index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,6 @@ class Client {
225225
return axios.post(this.rootURL + '/' + 'langdetection', payload, { headers: this.headers })
226226
}
227227

228-
229-
libVersions() {
230-
return axios.get(this.rootURL + '/' + 'versions', { headers: this.headers })
231-
}
232-
233228
paraphrasing(params) {
234229
var text = params.text
235230

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.3",
3+
"version": "2.0.4",
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)