Skip to content

Fix time.gpt example to add more guidance to arg description and nodejs-imagegen example to use the dalle-image-generation repo. #284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/nodejs-imagegen/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down
4 changes: 2 additions & 2 deletions examples/time.gpt
Original file line number Diff line number Diff line change
Expand Up @@ -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
TZ=${timezone} date