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.56.0 to 0.57.0-0

2

esm/index.es.js

@@ -1021,5 +1021,5 @@ import { OpenAIClient, AzureKeyCredential } from '@azure/openai';

*/
var PROMPTBOOK_VERSION = '0.56.0-4';
var PROMPTBOOK_VERSION = '0.56.0';
export { AzureOpenAiExecutionTools, PROMPTBOOK_VERSION };
//# sourceMappingURL=index.es.js.map

@@ -25,3 +25,3 @@ import type { Prompt } from '../../../../types/Prompt';

*/
gptChat(prompt: Pick<Prompt, 'content' | 'modelRequirements'>): Promise<PromptChatResult>;
gptChat(prompt: Pick<Prompt, 'content' | 'modelRequirements' | 'expectFormat'>): Promise<PromptChatResult>;
/**

@@ -28,0 +28,0 @@ * Calls OpenAI API to use a complete model.

@@ -0,1 +1,5 @@

import type { PostprocessingFunction } from '../execution/plugins/script-execution-tools/javascript/JavascriptExecutionToolsOptions';
import type { ExpectFormatCommand } from './Command';
import type { ModelRequirements } from './ModelRequirements';
import type { Expectations } from './PromptbookJson/PromptTemplateJson';
import type { string_name } from './typeAliases';

@@ -5,5 +9,2 @@ import type { string_prompt } from './typeAliases';

import type { string_title } from './typeAliases';
import type { PostprocessingFunction } from '../execution/plugins/script-execution-tools/javascript/JavascriptExecutionToolsOptions';
import type { ModelRequirements } from './ModelRequirements';
import type { Expectations } from './PromptbookJson/PromptTemplateJson';
/**

@@ -44,2 +45,9 @@ * Prompt in a text along with model requirements, but without any execution or templating logic.

/**
* Expect this format of the answer
*
* Note: Expectations are performed after all postprocessing steps
* @deprecated [๐Ÿ’]
*/
readonly expectFormat?: ExpectFormatCommand['format'];
/**
* Unique identifier of the promptbook with specific template name as hash

@@ -46,0 +54,0 @@ *

{
"name": "@promptbook/azure-openai",
"version": "0.56.0",
"version": "0.57.0-0",
"description": "Library to supercharge your use of large language models",

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

"peerDependencies": {
"@promptbook/core": "0.56.0"
"@promptbook/core": "0.57.0-0"
},

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

@@ -1028,3 +1028,3 @@ (function (global, factory) {

*/
var PROMPTBOOK_VERSION = '0.56.0-4';
var PROMPTBOOK_VERSION = '0.56.0';

@@ -1031,0 +1031,0 @@ exports.AzureOpenAiExecutionTools = AzureOpenAiExecutionTools;

@@ -25,3 +25,3 @@ import type { Prompt } from '../../../../types/Prompt';

*/
gptChat(prompt: Pick<Prompt, 'content' | 'modelRequirements'>): Promise<PromptChatResult>;
gptChat(prompt: Pick<Prompt, 'content' | 'modelRequirements' | 'expectFormat'>): Promise<PromptChatResult>;
/**

@@ -28,0 +28,0 @@ * Calls OpenAI API to use a complete model.

@@ -0,1 +1,5 @@

import type { PostprocessingFunction } from '../execution/plugins/script-execution-tools/javascript/JavascriptExecutionToolsOptions';
import type { ExpectFormatCommand } from './Command';
import type { ModelRequirements } from './ModelRequirements';
import type { Expectations } from './PromptbookJson/PromptTemplateJson';
import type { string_name } from './typeAliases';

@@ -5,5 +9,2 @@ import type { string_prompt } from './typeAliases';

import type { string_title } from './typeAliases';
import type { PostprocessingFunction } from '../execution/plugins/script-execution-tools/javascript/JavascriptExecutionToolsOptions';
import type { ModelRequirements } from './ModelRequirements';
import type { Expectations } from './PromptbookJson/PromptTemplateJson';
/**

@@ -44,2 +45,9 @@ * Prompt in a text along with model requirements, but without any execution or templating logic.

/**
* Expect this format of the answer
*
* Note: Expectations are performed after all postprocessing steps
* @deprecated [๐Ÿ’]
*/
readonly expectFormat?: ExpectFormatCommand['format'];
/**
* Unique identifier of the promptbook with specific template name as hash

@@ -46,0 +54,0 @@ *

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