@promptbook/remote-client
Advanced tools
Comparing version 0.50.0-7 to 0.50.0-8
@@ -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 |
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
415018
6872
0