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

@ -31,7 +31,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
GPT3_5_TURBO_0613.to_string(),
vec![chat_completion::ChatCompletionMessage {
role: chat_completion::MessageRole::user,
content: String::from("What is the price of Ethereum?"),
content: chat_completion::Content::Text(String::from("What is the price of Ethereum?")),
name: None,
}],
)