@promptbook/remote-client
Advanced tools
Comparing version 0.36.2 to 0.36.3
@@ -9,2 +9,15 @@ import { string_name } from '.././types/typeAliases'; | ||
/** | ||
* Options for PromptbookLibrary | ||
*/ | ||
type PromptbookLibraryOptions = { | ||
/** | ||
* The library of promptbooks | ||
*/ | ||
readonly library: Record<string_name, PromptbookJson>; | ||
/** | ||
* Optional settings for creating a PromptbookExecutor | ||
*/ | ||
readonly settings?: Partial<CreatePromptbookExecutorSettings>; | ||
}; | ||
/** | ||
* Library of promptbooks that groups together promptbooks for an application. This is a very thin wrapper around the Array / Set of promptbooks. | ||
@@ -19,3 +32,3 @@ * | ||
export declare class PromptbookLibrary { | ||
private readonly options; | ||
protected readonly options: PromptbookLibraryOptions; | ||
/** | ||
@@ -50,2 +63,3 @@ * Constructs Promptbook from any sources | ||
} | ||
export {}; | ||
/** | ||
@@ -52,0 +66,0 @@ * TODO: [π΄] Identify promptbooks by url `promptbookUrls` + `getPromptbookByUrl` |
{ | ||
"name": "@promptbook/remote-client", | ||
"version": "0.36.2", | ||
"version": "0.36.3", | ||
"description": "Library to supercharge your use of large language models", | ||
@@ -40,3 +40,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.36.2" | ||
"@promptbook/core": "0.36.3" | ||
}, | ||
@@ -43,0 +43,0 @@ "main": "./umd/index.umd.js", |
@@ -9,2 +9,15 @@ import { string_name } from '.././types/typeAliases'; | ||
/** | ||
* Options for PromptbookLibrary | ||
*/ | ||
type PromptbookLibraryOptions = { | ||
/** | ||
* The library of promptbooks | ||
*/ | ||
readonly library: Record<string_name, PromptbookJson>; | ||
/** | ||
* Optional settings for creating a PromptbookExecutor | ||
*/ | ||
readonly settings?: Partial<CreatePromptbookExecutorSettings>; | ||
}; | ||
/** | ||
* Library of promptbooks that groups together promptbooks for an application. This is a very thin wrapper around the Array / Set of promptbooks. | ||
@@ -19,3 +32,3 @@ * | ||
export declare class PromptbookLibrary { | ||
private readonly options; | ||
protected readonly options: PromptbookLibraryOptions; | ||
/** | ||
@@ -50,2 +63,3 @@ * Constructs Promptbook from any sources | ||
} | ||
export {}; | ||
/** | ||
@@ -52,0 +66,0 @@ * TODO: [π΄] Identify promptbooks by url `promptbookUrls` + `getPromptbookByUrl` |
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
336857
5602