Add vision

This commit is contained in:
Dongri Jin
2024-01-07 16:33:58 +09:00
parent c8d376ea08
commit f99645c37e
5 changed files with 89 additions and 7 deletions

View File

@ -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,
}],
);