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

@prompt-foundry/typescript-sdk

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prompt-foundry/typescript-sdk - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

2

build/main/helpers/openAi.d.ts
import { ChatCompletionCreateParamsNonStreaming, ChatCompletionMessageParam, ChatCompletionToolChoiceOption } from 'openai/resources';
import { PromptConfiguration, PromptMessage, PromptTool } from '../types';
export declare const mapMessagesToOpenAI: (promptMessages: PromptMessage[]) => ChatCompletionMessageParam[];
export declare const mapToolChoiceToOpenAI: (tools: PromptTool[], toolChoice?: string | null) => ChatCompletionToolChoiceOption;
export declare const mapToolChoiceToOpenAI: (tools: PromptTool[], toolChoice?: string | null) => ChatCompletionToolChoiceOption | undefined;
export declare const mapPromptToOpenAIConfig: (promptConfig: PromptConfiguration) => ChatCompletionCreateParamsNonStreaming;

@@ -60,3 +60,3 @@ "use strict";

if (tools.length === 0) {
return 'none';
return undefined;
}

@@ -119,2 +119,2 @@ if (toolChoice === 'auto' || (!toolChoice && tools.length !== 0)) {

exports.mapPromptToOpenAIConfig = mapPromptToOpenAIConfig;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3BlbkFpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2hlbHBlcnMvb3BlbkFpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQVdPLE1BQU0sbUJBQW1CLEdBQUcsQ0FBQyxjQUErQixFQUFnQyxFQUFFO0lBQ25HLE9BQU8sY0FBYyxDQUFDLEdBQUcsQ0FBQyxDQUFDLE9BQU8sRUFBOEIsRUFBRTs7UUFDaEUsTUFBTSxJQUFJLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQyxXQUFXL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JBb0JuQyJ9
import { ChatCompletionCreateParamsNonStreaming, ChatCompletionMessageParam, ChatCompletionToolChoiceOption } from 'openai/resources';
import { PromptConfiguration, PromptMessage, PromptTool } from '../types';
export declare const mapMessagesToOpenAI: (promptMessages: PromptMessage[]) => ChatCompletionMessageParam[];
export declare const mapToolChoiceToOpenAI: (tools: PromptTool[], toolChoice?: string | null) => ChatCompletionToolChoiceOption;
export declare const mapToolChoiceToOpenAI: (tools: PromptTool[], toolChoice?: string | null) => ChatCompletionToolChoiceOption | undefined;
export declare const mapPromptToOpenAIConfig: (promptConfig: PromptConfiguration) => ChatCompletionCreateParamsNonStreaming;

@@ -55,3 +55,3 @@ export const mapMessagesToOpenAI = (promptMessages) => {

if (tools.length === 0) {
return 'none';
return undefined;
}

@@ -112,2 +112,2 @@ if (toolChoice === 'auto' || (!toolChoice && tools.length !== 0)) {

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3BlbkFpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2hlbHBlcnMvb3BlbkFpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVdBLE1BQU0sQ0FBQyxNQUFNLG1CQUFtQixHQUFHLENBQUMsY0FBK0IsRUFBZ0MsRUFBRTtJQUNuRyxPQUFPLGNBQWMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxPQUFPLEVBQThCLEVBQUU7UUFDaEUsTUFBTSxJQUFJLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQyxXQUFXLEVBQXdCLENBQUE7UUFDN0QsSUFBSSxJQUFJLEtBQUssTUFBTSxFQUFFLENBQUM7WUFDcEIsSUFBSSxDQUFDLE9BQU8sQ0FBQyxVQUFVLEVBQUUsQ0FBQztnQkFDeEIsTUFBTSxJQUFJLEtBQUssQ0FBQyxnQ0FBZ0MsQ0FBQyxDQUFBO1lBQ25ELENBQUM7WUFFRCxJQUFJ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9BQU87UUFDTCxRQUFRO1FBQ1IsS0FBSyxFQUFFLGdCQUFnQixDQUFDLFNBQVM7UUFDakMsS0FBSyxFQUFFLGdCQUFnQixDQUFDLElBQUk7UUFDNUIsVUFBVSxFQUFFLGdCQUFnQixDQUFDLFNBQVM7UUFDdEMsV0FBVyxFQUFFLGdCQUFnQixDQUFDLFdBQVc7UUFDekMsSUFBSSxFQUFFLGdCQUFnQixDQUFDLElBQUk7UUFDM0IsZ0JBQWdCLEVBQUUsZ0JBQWdCLENBQUMsZUFBZTtRQUNsRCxpQkFBaUIsRUFBRSxnQkFBZ0IsQ0FBQyxnQkFBZ0I7UUFDcEQsV0FBVyxFQUFFLHFCQUFxQixDQUFDLFdBQVcsRUFBRSxnQkFBZ0IsQ0FBQyxVQUFVLENBQUM7UUFDNUUsZUFBZSxFQUFFO1lBQ2YsSUFBSSxFQUFFLGdCQUFnQixDQUFDLGNBQWMsS0FBSyxNQUFNLENBQUMsQ0FBQyxDQUFDLGFBQWEsQ0FBQyxDQUFDLENBQUMsTUFBTTtTQUMxRTtRQUNELEtBQUssRUFBRSxRQUFRLENBQUMsV0FBVyxDQUFDO0tBQzdCLENBQUE7QUFDSCxDQUFDLENBQUEifQ==

@@ -5,2 +5,2 @@ # Changelog

### [1.0.15](https://github.com/prompt-foundry/typescript-sdk/compare/v1.0.14...v1.0.15) (2024-05-24)
### [1.0.16](https://github.com/prompt-foundry/typescript-sdk/compare/v1.0.15...v1.0.16) (2024-05-24)
{
"name": "@prompt-foundry/typescript-sdk",
"version": "1.0.15",
"version": "1.0.16",
"description": "The Typescript SDK for the prompt engineering, prompt management, and prompt testing tool Prompt Foundry.",

@@ -5,0 +5,0 @@ "main": "build/main/index.js",

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