From b4496b3c233b2a2cb82c04c4871d53877d186dc8 Mon Sep 17 00:00:00 2001 From: Sangeetha Hariharan Date: Thu, 25 Apr 2024 13:09:55 -0700 Subject: [PATCH] Fix time.gpt example to add more guidance to arg description. Fix nodejs-imagegen example to use the dalle-image-generation repo. --- examples/nodejs-imagegen/server.js | 2 +- examples/time.gpt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/nodejs-imagegen/server.js b/examples/nodejs-imagegen/server.js index e9ea0e33..aa209176 100644 --- a/examples/nodejs-imagegen/server.js +++ b/examples/nodejs-imagegen/server.js @@ -51,7 +51,7 @@ app.post('/generate-logo', async (req, res) => { } `; const tool = new gptscript.Tool({ - tools: ['github.com/gptscript-ai/image-generation'], + tools: ['github.com/gptscript-ai/dalle-image-generation'], jsonResponse: true, instructions: instructions, }) diff --git a/examples/time.gpt b/examples/time.gpt index 7d695678..9bef92db 100644 --- a/examples/time.gpt +++ b/examples/time.gpt @@ -5,10 +5,10 @@ Ask time to get you the time in different timezones. --- name: time description: Can tell current time in any timezone, -args: timezone: The timezone you want time in. +args: timezone: The timezone you want time in e.g. 'Pacific/Honolulu' #!/bin/bash echo "Your current date and time is " date echo "Time in your requested timezone ${timezone} is " -TZ=${timezone} date \ No newline at end of file +TZ=${timezone} date