mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-24 16:10:38 +00:00
Better image alt prompt
This commit is contained in:
parent
28ab417b0a
commit
4dbe04a5d4
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ public struct OpenAIClient {
|
|||
case let .emphasize(input):
|
||||
ChatRequest(content: "Make this text catchy, more fun: \(input)", temperature: 1)
|
||||
case let .imageDescription(image):
|
||||
VisionRequest(messages: [.init(content: [.init(type: "text", text: "What’s in this image?", imageUrl: nil)
|
||||
VisionRequest(messages: [.init(content: [.init(type: "text", text: "What’s in this image? Be brief, it's for image alt description on a social network. Don't write in the first person.", imageUrl: nil)
|
||||
, .init(type: "image_url", text: nil, imageUrl: .init(url: image))])])
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue