From 800a0f7be27ae950cbc68404913c652274bd12a7 Mon Sep 17 00:00:00 2001 From: Michael Doyle Date: Mon, 13 May 2024 22:05:05 -0400 Subject: [PATCH 1/3] Enable system prompt on Dev UI --- plugins/openai/src/dalle.ts | 1 + plugins/openai/src/gpt.ts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/plugins/openai/src/dalle.ts b/plugins/openai/src/dalle.ts index f28fb58..4c9ad10 100644 --- a/plugins/openai/src/dalle.ts +++ b/plugins/openai/src/dalle.ts @@ -29,6 +29,7 @@ export const dallE3 = modelRef({ media: false, output: ['media'], multiturn: false, + systemRole: false, tools: false, }, }, diff --git a/plugins/openai/src/gpt.ts b/plugins/openai/src/gpt.ts index 04d5e34..ef93a4b 100644 --- a/plugins/openai/src/gpt.ts +++ b/plugins/openai/src/gpt.ts @@ -60,6 +60,7 @@ export const gpt4Turbo = modelRef({ multiturn: true, tools: true, media: false, + systemRole: true, output: ['text', 'json'], }, }, @@ -75,6 +76,7 @@ export const gpt4Vision = modelRef({ multiturn: true, tools: false, media: true, + systemRole: true, output: ['text'], }, }, @@ -90,6 +92,7 @@ export const gpt4 = modelRef({ multiturn: true, tools: true, media: false, + systemRole: true, output: ['text'], }, }, @@ -105,6 +108,7 @@ export const gpt35Turbo = modelRef({ multiturn: true, tools: true, media: false, + systemRole: true, output: ['json', 'text'], }, }, From 2b7351e0ed98e11013709f7590b9a7b808b5187a Mon Sep 17 00:00:00 2001 From: Michael Doyle Date: Mon, 13 May 2024 22:19:05 -0400 Subject: [PATCH 2/3] Point to official genkit release 0.5.0 --- plugins/openai/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/openai/package.json b/plugins/openai/package.json index 64f348b..0fdb1e5 100644 --- a/plugins/openai/package.json +++ b/plugins/openai/package.json @@ -24,8 +24,8 @@ "author": "Dabolus", "license": "Apache-2.0", "dependencies": { - "@genkit-ai/ai": "0.5.0-rc.9", - "@genkit-ai/core": "0.5.0-rc.9", + "@genkit-ai/ai": "0.5.0", + "@genkit-ai/core": "0.5.0", "openai": "^4.43.0", "zod": "^3.23.8" }, From eca82f5e68651d269e4391558cd879d498125953 Mon Sep 17 00:00:00 2001 From: Michael Doyle Date: Mon, 13 May 2024 22:20:11 -0400 Subject: [PATCH 3/3] Point to official genkit release 0.5.0 --- plugins/anthropic/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/anthropic/package.json b/plugins/anthropic/package.json index 4c23f66..34fd4fe 100644 --- a/plugins/anthropic/package.json +++ b/plugins/anthropic/package.json @@ -26,8 +26,8 @@ "license": "Apache-2.0", "dependencies": { "@anthropic-ai/sdk": "^0.20.9", - "@genkit-ai/ai": "0.5.0-rc.9", - "@genkit-ai/core": "0.5.0-rc.9", + "@genkit-ai/ai": "0.5.0", + "@genkit-ai/core": "0.5.0", "zod": "^3.23.8" }, "devDependencies": {