Skip to content

Commit

Permalink
Merge pull request #89 from pufflyai/88-bug-input-is-not-updated-corr…
Browse files Browse the repository at this point in the history
…ectly-on-instruction-and-document-check-node

fix getInputDefinition methods
  • Loading branch information
au-re authored Oct 31, 2023
2 parents 282cb9e + 290f339 commit 3948067
Show file tree
Hide file tree
Showing 16 changed files with 1,779 additions and 1,096 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "0.21.0"
"version": "0.21.3"
}
4 changes: 2 additions & 2 deletions packages/@pufflig/ps-chains/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pufflig/ps-chains",
"version": "0.21.0",
"version": "0.21.1",
"license": "MIT",
"main": "./dist/ps-chains.umd.js",
"module": "./dist/ps-chains.es.js",
Expand All @@ -16,7 +16,7 @@
"test": "jest"
},
"devDependencies": {
"@pufflig/ps-types": "^0.21.0",
"@pufflig/ps-types": "^0.21.1",
"@types/react-dom": "^18.2.7",
"immer": "^10.0.2",
"prop-types": "^15.8.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/@pufflig/ps-models/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@pufflig/ps-models",
"private": false,
"version": "0.21.0",
"version": "0.21.1",
"description": "Configuration of models used in Prompt Studio",
"files": [
"dist"
Expand All @@ -16,7 +16,7 @@
"author": "Pufflig AB",
"license": "MIT",
"devDependencies": {
"@pufflig/ps-types": "^0.21.0",
"@pufflig/ps-types": "^0.21.1",
"typescript": "^5.1.6",
"vite": "^4.3.9",
"vite-plugin-dts": "^2.3.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/@pufflig/ps-nodes-config/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@pufflig/ps-nodes-config",
"private": false,
"version": "0.21.0",
"version": "0.21.3",
"description": "Configuration files for nodes used in prompt studio.",
"files": [
"dist"
Expand All @@ -16,10 +16,10 @@
"author": "Pufflig AB",
"license": "MIT",
"dependencies": {
"@pufflig/ps-models": "^0.21.0"
"@pufflig/ps-models": "^0.21.1"
},
"devDependencies": {
"@pufflig/ps-types": "^0.21.0",
"@pufflig/ps-types": "^0.21.1",
"@types/jest": "^29.5.1",
"jest": "^29.5.0",
"ts-jest": "^29.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export const documentCheck: NodeConfig = {
},
outputs: [
{
id: "list",
name: "List",
id: "result",
name: "Result",
description: "A list, checklist or other information about the document",
type: "text",
defaultValue: "",
Expand All @@ -47,7 +47,7 @@ export const documentCheck: NodeConfig = {
name: "Prompt",
description: "Prompt to check the document with",
type: "text",
defaultValue: `Extract information in the document below and insert them in the csv table, don't overwrite existing values and keep things empty if you cannot find information in the document:\n\nTABLE EXAMPLE:\ncharacters, age\nmickey mouse, 10\ndonald duck, -\n\nTABLE:\n[[table]]\n\nDOCUMENT:\n[[document]]\n\nTABLE:\n`,
defaultValue: `Extract information in the document below and insert them in the csv table, don't overwrite existing values and keep things empty if you cannot find information in the document:\n\nTABLE EXAMPLE:\ncharacters, age\nmickey mouse, 10\ndonald duck, -\n\nTABLE:\n{{table}}\n\nDOCUMENT:\n{{document}}\n\nTABLE:\n`,
},
{
id: "table",
Expand Down
10 changes: 5 additions & 5 deletions packages/@pufflig/ps-nodes/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@pufflig/ps-nodes",
"private": false,
"version": "0.21.0",
"version": "0.21.3",
"description": "Collection of nodes used in Prompt Studio",
"files": [
"dist"
Expand All @@ -17,7 +17,7 @@
"author": "Pufflig AB",
"license": "MIT",
"devDependencies": {
"@pufflig/ps-types": "^0.21.0",
"@pufflig/ps-types": "^0.21.1",
"@types/jest": "^29.5.1",
"@types/lodash": "^4.14.196",
"@types/mustache": "^4.2.2",
Expand All @@ -33,9 +33,9 @@
},
"dependencies": {
"@dqbd/tiktoken": "^1.0.7",
"@pufflig/ps-models": "^0.21.0",
"@pufflig/ps-nodes-config": "^0.21.0",
"@pufflig/ps-sdk": "^0.21.0",
"@pufflig/ps-models": "^0.21.1",
"@pufflig/ps-nodes-config": "^0.21.3",
"@pufflig/ps-sdk": "^0.21.1",
"axios": "^1.5.0",
"langchain": "^0.0.160",
"lodash": "^4.17.21",
Expand Down
Loading

0 comments on commit 3948067

Please sign in to comment.