Socket
Socket
Sign inDemoInstall

@promptbook/remote-client

Package Overview
Dependencies
Maintainers
1
Versions
406
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/remote-client - npm Package Compare versions

Comparing version 0.50.0-7 to 0.50.0-8

8

esm/typings/execution/plugins/llm-execution-tools/openai/OpenAiExecutionTools.d.ts

@@ -29,2 +29,10 @@ import type { Prompt } from '../../../../types/Prompt';

/**
* Default model for chat variant.
*/
private getDefaultChatModel;
/**
* Default model for completion variant.
*/
private getDefaultCompletionModel;
/**
* List all available OpenAI models that can be used

@@ -31,0 +39,0 @@ */

3

esm/typings/types/ModelRequirements.d.ts

@@ -29,6 +29,7 @@ import type { string_model_name } from './typeAliases';

* Note: Model must be compatible with the model variant
* Note: If not specified, the best model for the variant will be used
*
* @example 'gpt-4', 'gpt-4-32k-0314', 'gpt-3.5-turbo-instruct',...
*/
readonly modelName: string_model_name;
readonly modelName?: string_model_name;
/**

@@ -35,0 +36,0 @@ * Maximum number of tokens that can be generated by the model

{
"name": "@promptbook/remote-client",
"version": "0.50.0-7",
"version": "0.50.0-8",
"description": "Library to supercharge your use of large language models",

@@ -50,3 +50,3 @@ "private": false,

"peerDependencies": {
"@promptbook/core": "0.50.0-7"
"@promptbook/core": "0.50.0-8"
},

@@ -53,0 +53,0 @@ "main": "./umd/index.umd.js",

@@ -29,2 +29,10 @@ import type { Prompt } from '../../../../types/Prompt';

/**
* Default model for chat variant.
*/
private getDefaultChatModel;
/**
* Default model for completion variant.
*/
private getDefaultCompletionModel;
/**
* List all available OpenAI models that can be used

@@ -31,0 +39,0 @@ */

@@ -29,6 +29,7 @@ import type { string_model_name } from './typeAliases';

* Note: Model must be compatible with the model variant
* Note: If not specified, the best model for the variant will be used
*
* @example 'gpt-4', 'gpt-4-32k-0314', 'gpt-3.5-turbo-instruct',...
*/
readonly modelName: string_model_name;
readonly modelName?: string_model_name;
/**

@@ -35,0 +36,0 @@ * Maximum number of tokens that can be generated by the model

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