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-6 to 0.52.0-7

3

esm/typings/_packages/core.index.d.ts

@@ -12,2 +12,3 @@ import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';

import { checkExpectations, isPassingExpectations } from '../execution/utils/checkExpectations';
import { createPromptbookLibraryFromDirectory } from '../library/constructors/createPromptbookLibraryFromDirectory';
import { createPromptbookLibraryFromPromise } from '../library/constructors/createPromptbookLibraryFromPromise';

@@ -23,3 +24,3 @@ import { createPromptbookLibraryFromSources } from '../library/constructors/createPromptbookLibraryFromSources';

export { assertsExecutionSuccessful, checkExpectations, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, isPassingExpectations, prettifyPromptbookString, };
export { createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookSublibrary, SimplePromptbookLibrary, };
export { createPromptbookLibraryFromDirectory, createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookSublibrary, SimplePromptbookLibrary, };
export { SimplePromptInterfaceTools };

@@ -26,0 +27,0 @@ export { promptbookJsonToString, promptbookStringToJson, validatePromptbookJson };

@@ -1,20 +0,7 @@

import { ScriptExecutionTools, ScriptExecutionToolsExecuteOptions } from '../../../ScriptExecutionTools';
import { JavascriptExecutionToolsOptions } from './JavascriptExecutionToolsOptions';
import { JavascriptEvalExecutionTools } from './JavascriptEvalExecutionTools';
/**
* ScriptExecutionTools for JavaScript implemented via vm2
* Placeholder for better implementation of JavascriptExecutionTools - some propper sandboxing
*
* Warning: This is not implemented yet
* @alias JavascriptExecutionTools
*/
export declare class JavascriptExecutionTools implements ScriptExecutionTools {
private readonly options;
constructor(options?: JavascriptExecutionToolsOptions);
/**
* Executes a JavaScript
*/
execute(options: ScriptExecutionToolsExecuteOptions): Promise<string>;
}
/**
* TODO: !! Pass isVerbose to constructor and use it
* TODO: !! Probbably make some common util createStatementToEvaluate
* TODO: !! Implement via vm2
*/
export declare const JavascriptExecutionTools: typeof JavascriptEvalExecutionTools;
{
"name": "@promptbook/azure-openai",
"version": "0.52.0-6",
"version": "0.52.0-7",
"description": "Library to supercharge your use of large language models",

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

"peerDependencies": {
"@promptbook/core": "0.52.0-6"
"@promptbook/core": "0.52.0-7"
},

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

@@ -12,2 +12,3 @@ import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';

import { checkExpectations, isPassingExpectations } from '../execution/utils/checkExpectations';
import { createPromptbookLibraryFromDirectory } from '../library/constructors/createPromptbookLibraryFromDirectory';
import { createPromptbookLibraryFromPromise } from '../library/constructors/createPromptbookLibraryFromPromise';

@@ -23,3 +24,3 @@ import { createPromptbookLibraryFromSources } from '../library/constructors/createPromptbookLibraryFromSources';

export { assertsExecutionSuccessful, checkExpectations, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, isPassingExpectations, prettifyPromptbookString, };
export { createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookSublibrary, SimplePromptbookLibrary, };
export { createPromptbookLibraryFromDirectory, createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookSublibrary, SimplePromptbookLibrary, };
export { SimplePromptInterfaceTools };

@@ -26,0 +27,0 @@ export { promptbookJsonToString, promptbookStringToJson, validatePromptbookJson };

@@ -1,20 +0,7 @@

import { ScriptExecutionTools, ScriptExecutionToolsExecuteOptions } from '../../../ScriptExecutionTools';
import { JavascriptExecutionToolsOptions } from './JavascriptExecutionToolsOptions';
import { JavascriptEvalExecutionTools } from './JavascriptEvalExecutionTools';
/**
* ScriptExecutionTools for JavaScript implemented via vm2
* Placeholder for better implementation of JavascriptExecutionTools - some propper sandboxing
*
* Warning: This is not implemented yet
* @alias JavascriptExecutionTools
*/
export declare class JavascriptExecutionTools implements ScriptExecutionTools {
private readonly options;
constructor(options?: JavascriptExecutionToolsOptions);
/**
* Executes a JavaScript
*/
execute(options: ScriptExecutionToolsExecuteOptions): Promise<string>;
}
/**
* TODO: !! Pass isVerbose to constructor and use it
* TODO: !! Probbably make some common util createStatementToEvaluate
* TODO: !! Implement via vm2
*/
export declare const JavascriptExecutionTools: typeof JavascriptEvalExecutionTools;
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