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

@promptbook/azure-openai

Package Overview
Dependencies
Maintainers
1
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/azure-openai - npm Package Compare versions

Comparing version 0.52.0-7 to 0.52.0-8

17

esm/typings/library/constructors/createPromptbookLibraryFromDirectory.d.ts

@@ -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
*/

4

package.json
{
"name": "@promptbook/azure-openai",
"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
*/
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