@gptp/openai
Advanced tools
Comparing version 0.7.12 to 0.7.13
@@ -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 |
303164
4306