Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nlpcloud

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nlpcloud - npm Package Compare versions

Comparing version 1.0.24 to 1.0.25

2

dist/index.d.ts

@@ -24,3 +24,3 @@ export = Client;

}>;
chatbot(input: string, history: { input: string, response: string }[]): Promise<{
chatbot(input: string, context: string, history: { input: string, response: string }[]): Promise<{
status: number;

@@ -27,0 +27,0 @@ statusText: string;

@@ -48,5 +48,6 @@ const axios = require('axios')

chatbot(input, history = null) {
chatbot(input, context = null, history = null) {
const payload = {
'input': input,
'context': context,
'history': history

@@ -53,0 +54,0 @@ };

{
"name": "nlpcloud",
"version": "1.0.24",
"version": "1.0.25",
"description": "NLP Cloud serves high performance pre-trained or custom models for NER, sentiment-analysis, classification, summarization, paraphrasing, text generation, blog post generation, code generation, question answering, machine translation, language detection, semantic similarity, tokenization, POS tagging, 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",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -173,2 +173,3 @@ # Node.js Client For NLP Cloud

1. Your input
1. (Optional) `context` A general context about the conversation
1. (Optional) `history` The history of your previous exchanges with the model

@@ -175,0 +176,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc