Socket
Socket
Sign inDemoInstall

@gptp/openai

Package Overview
Dependencies
35
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.12 to 0.7.13

6

esm/typings/classes/PromptTemplatePipeline.d.ts

@@ -19,4 +19,4 @@ import { string_name } from '.././types/typeAliases';

readonly ptpUrl: URL | null;
private readonly parameters;
private readonly promptTemplates;
readonly parameters: Record<string_name, PromptTemplateParameterJson>;
readonly promptTemplates: Array<PromptTemplateJson>;
/**

@@ -64,2 +64,4 @@ * Constructs PromptTemplatePipeline from any source

/**
* TODO: !! [👐][🧠] Split of PromptTemplatePipeline,PromptTemplatePipelineLibrary between interface and class
* TODO: !! [👐] Make parameters and promptTemplates private WHEN split between interface and class
* TODO: !! Add generic type for entry and result parameters

@@ -66,0 +68,0 @@ * TODO: Can be Array elegantly typed such as it must have at least one element?

@@ -44,4 +44,4 @@ import { string_name } from '.././types/typeAliases';

/**
* TODO: !! [🧠] Split of PromptTemplatePipelineLibrary between interface and class
* TODO: !! Make promptTemplatePipelines private WHEN split between interface and class
* TODO: !! [👐][🧠] Split of PromptTemplatePipeline,PromptTemplatePipelineLibrary between interface and class
* TODO: !! [👐] Make promptTemplatePipelines private WHEN split between interface and class
* TODO: [🧠] Maybe isPromptInLibrary should be separate utility function

@@ -48,0 +48,0 @@ * TODO: [🧠] Maybe createExecutor should be separate utility function

{
"name": "@gptp/openai",
"version": "0.7.12",
"version": "0.7.13",
"description": "Library to supercharge your use of large language models",

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

"peerDependencies": {
"@gptp/core": "0.7.12"
"@gptp/core": "0.7.13"
},

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

@@ -19,4 +19,4 @@ import { string_name } from '.././types/typeAliases';

readonly ptpUrl: URL | null;
private readonly parameters;
private readonly promptTemplates;
readonly parameters: Record<string_name, PromptTemplateParameterJson>;
readonly promptTemplates: Array<PromptTemplateJson>;
/**

@@ -64,2 +64,4 @@ * Constructs PromptTemplatePipeline from any source

/**
* TODO: !! [👐][🧠] Split of PromptTemplatePipeline,PromptTemplatePipelineLibrary between interface and class
* TODO: !! [👐] Make parameters and promptTemplates private WHEN split between interface and class
* TODO: !! Add generic type for entry and result parameters

@@ -66,0 +68,0 @@ * TODO: Can be Array elegantly typed such as it must have at least one element?

@@ -44,4 +44,4 @@ import { string_name } from '.././types/typeAliases';

/**
* TODO: !! [🧠] Split of PromptTemplatePipelineLibrary between interface and class
* TODO: !! Make promptTemplatePipelines private WHEN split between interface and class
* TODO: !! [👐][🧠] Split of PromptTemplatePipeline,PromptTemplatePipelineLibrary between interface and class
* TODO: !! [👐] Make promptTemplatePipelines private WHEN split between interface and class
* TODO: [🧠] Maybe isPromptInLibrary should be separate utility function

@@ -48,0 +48,0 @@ * TODO: [🧠] Maybe createExecutor should be separate utility function

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc