mirror of
https://github.com/mii443/openai-api-rs.git
synced 2025-08-22 15:15:34 +00:00
Add vision
This commit is contained in:
@ -10,7 +10,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
GPT4.to_string(),
|
||||
vec![chat_completion::ChatCompletionMessage {
|
||||
role: chat_completion::MessageRole::user,
|
||||
content: String::from("What is Bitcoin?"),
|
||||
content: chat_completion::Content::Text(String::from("What is bitcoin?")),
|
||||
name: None,
|
||||
}],
|
||||
);
|
||||
|
Reference in New Issue
Block a user