Skip to content

Commit

Permalink
0.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
haouarihk authored Mar 28, 2024
1 parent a9e33c1 commit 1bc185f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"packageId": "dalle",
"name": "OpenAI Dalle Package",
"version": "0.0.8",
"version": "0.0.9",
"minTextGeneratorVersion": "0.7.0",
"description": "The package contains some interessting Dalle-2/Dalle-3 prompt templates",
"author": "Noureddine Haouari",
Expand Down
6 changes: 3 additions & 3 deletions prompts/getPhotos.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
promptId: getPhoto
name: 🖼️ Generate 4 photos (dalle-3)
description: select a text and 4 photos about it will be generated using Dalle-3
name: 🖼️ Generate 4 photos (dalle-2)
description: select a text and 4 photos about it will be generated using Dalle-2
author: Noureddine
tags:
- photo
- dalle-3
- dalle-2
version: 0.0.1
sanatization_response: "// catch error\rif (res.status >= 300) {\r const err = data?.error?.message || JSON.stringify(data);\r throw err;\r}\r\r// get choices\rconst choices = data.data.map(c=> ({ type: \"image_url\", image_url: c.url}));\r\r// the return object should be in the format of \r// { content: string }[] \r// if there's only one response, put it in the array of choices.\rreturn choices;"
provider: custom
Expand Down

0 comments on commit 1bc185f

Please sign in to comment.