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

@promptbook/core

Package Overview
Dependencies
Maintainers
1
Versions
460
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/core - npm Package Compare versions

Comparing version 0.12.0 to 0.13.0

8

esm/typings/execution/plugins/natural-execution-tools/remote/interfaces/Ptps_Error.d.ts

@@ -0,3 +1,11 @@

/**
* Socket.io error for remote text generation
*
* This is sent from server to client when error occurs and stops the process
*/
export interface Ptps_Error {
/**
* The error message which caused the error
*/
readonly errorMessage: string;
}
import { TaskProgress } from '../../../../../types/TaskProgress';
/**
* Socket.io progress for remote text generation
*
* This is sent from server to client arbitrarily and may be sent multiple times
*/
export interface Ptps_Progress {
/**
* The progress of text generation
*/
readonly taskProgress: TaskProgress;
}
import { uuid } from '../../../../.././types/typeAliases';
import { Prompt } from '../../../../../types/Prompt';
/**
* Socket.io progress for remote text generation
*
* This is a request from client to server
*/
export interface Ptps_Request {
/**
* Client responsible for the requests
*/
readonly clientId: uuid;
/**
* The Prompt to execute
*/
readonly prompt: Prompt;
}
import { PromptResult } from '../../../../../execution/PromptResult';
/**
* Socket.io error for remote text generation
*
* This is sent from server to client when the generated text is completed
*/
export interface Ptps_Response {
/**
* The result of the prompt
*/
promptResult: PromptResult;
}

9

esm/typings/execution/plugins/natural-execution-tools/remote/interfaces/RemoteServerOptions.d.ts
import { PromptTemplatePipelineLibrary } from '../../../../../classes/PromptTemplatePipelineLibrary';
import { uuid } from '../../../../../types/typeAliases';
import { string_uri, uuid } from '../../../../../types/typeAliases';
import { CommonExecutionToolsOptions } from '../../../../CommonExecutionToolsOptions';

@@ -11,2 +11,9 @@ import { NaturalExecutionTools } from '../../../../NaturalExecutionTools';

/**
* Path for the Socket.io server to listen
*
* @default '/socket.io'
* @example '/promptbook/socket.io'
*/
readonly path: string_uri;
/**
* Prompt template pipeline library to use

@@ -13,0 +20,0 @@ *

2

package.json
{
"name": "@promptbook/core",
"version": "0.12.0",
"version": "0.13.0",
"description": "Library to supercharge your use of large language models",

@@ -5,0 +5,0 @@ "private": false,

@@ -0,3 +1,11 @@

/**
* Socket.io error for remote text generation
*
* This is sent from server to client when error occurs and stops the process
*/
export interface Ptps_Error {
/**
* The error message which caused the error
*/
readonly errorMessage: string;
}
import { TaskProgress } from '../../../../../types/TaskProgress';
/**
* Socket.io progress for remote text generation
*
* This is sent from server to client arbitrarily and may be sent multiple times
*/
export interface Ptps_Progress {
/**
* The progress of text generation
*/
readonly taskProgress: TaskProgress;
}
import { uuid } from '../../../../.././types/typeAliases';
import { Prompt } from '../../../../../types/Prompt';
/**
* Socket.io progress for remote text generation
*
* This is a request from client to server
*/
export interface Ptps_Request {
/**
* Client responsible for the requests
*/
readonly clientId: uuid;
/**
* The Prompt to execute
*/
readonly prompt: Prompt;
}
import { PromptResult } from '../../../../../execution/PromptResult';
/**
* Socket.io error for remote text generation
*
* This is sent from server to client when the generated text is completed
*/
export interface Ptps_Response {
/**
* The result of the prompt
*/
promptResult: PromptResult;
}
import { PromptTemplatePipelineLibrary } from '../../../../../classes/PromptTemplatePipelineLibrary';
import { uuid } from '../../../../../types/typeAliases';
import { string_uri, uuid } from '../../../../../types/typeAliases';
import { CommonExecutionToolsOptions } from '../../../../CommonExecutionToolsOptions';

@@ -11,2 +11,9 @@ import { NaturalExecutionTools } from '../../../../NaturalExecutionTools';

/**
* Path for the Socket.io server to listen
*
* @default '/socket.io'
* @example '/promptbook/socket.io'
*/
readonly path: string_uri;
/**
* Prompt template pipeline library to use

@@ -13,0 +20,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