@promptbook/anthropic-claude
Advanced tools
Comparing version 0.52.0-7 to 0.52.0-8
@@ -0,3 +1,15 @@ | ||
import { string_folder_path } from '../../types/typeAliases'; | ||
import { PromptbookLibrary } from '../PromptbookLibrary'; | ||
/** | ||
* Options for `createPromptbookLibraryFromDirectory` function | ||
*/ | ||
type CreatePromptbookLibraryFromDirectoryOptions = { | ||
/** | ||
* If true, the directory is searched recursively for promptbooks | ||
* | ||
* @default true | ||
*/ | ||
isRecursive?: boolean; | ||
}; | ||
/** | ||
* Constructs Promptbook from given directory | ||
@@ -9,7 +21,10 @@ * | ||
* | ||
* @param path - path to the directory with promptbooks | ||
* @param options - Misc options for the library | ||
* @returns PromptbookLibrary | ||
*/ | ||
export declare function createPromptbookLibraryFromDirectory(): PromptbookLibrary; | ||
export declare function createPromptbookLibraryFromDirectory(path: string_folder_path, options?: CreatePromptbookLibraryFromDirectoryOptions): PromptbookLibrary; | ||
export {}; | ||
/*** | ||
* TODO: [🍓][🚯] !!! Add to README and samples + maybe make `@promptbook/library` package | ||
*/ |
{ | ||
"name": "@promptbook/anthropic-claude", | ||
"version": "0.52.0-7", | ||
"version": "0.52.0-8", | ||
"description": "Library to supercharge your use of large language models", | ||
@@ -51,3 +51,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.52.0-7" | ||
"@promptbook/core": "0.52.0-8" | ||
}, | ||
@@ -54,0 +54,0 @@ "main": "./umd/index.umd.js", |
@@ -0,3 +1,15 @@ | ||
import { string_folder_path } from '../../types/typeAliases'; | ||
import { PromptbookLibrary } from '../PromptbookLibrary'; | ||
/** | ||
* Options for `createPromptbookLibraryFromDirectory` function | ||
*/ | ||
type CreatePromptbookLibraryFromDirectoryOptions = { | ||
/** | ||
* If true, the directory is searched recursively for promptbooks | ||
* | ||
* @default true | ||
*/ | ||
isRecursive?: boolean; | ||
}; | ||
/** | ||
* Constructs Promptbook from given directory | ||
@@ -9,7 +21,10 @@ * | ||
* | ||
* @param path - path to the directory with promptbooks | ||
* @param options - Misc options for the library | ||
* @returns PromptbookLibrary | ||
*/ | ||
export declare function createPromptbookLibraryFromDirectory(): PromptbookLibrary; | ||
export declare function createPromptbookLibraryFromDirectory(path: string_folder_path, options?: CreatePromptbookLibraryFromDirectoryOptions): PromptbookLibrary; | ||
export {}; | ||
/*** | ||
* TODO: [🍓][🚯] !!! Add to README and samples + maybe make `@promptbook/library` 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
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
470129
7886