WIP
This commit is contained in:
parent
75e2329028
commit
cb55356106
2 changed files with 20 additions and 16 deletions
|
@ -7,7 +7,7 @@ use serde::{Deserialize, Serialize};
|
|||
use std::fmt::{self, Display};
|
||||
|
||||
// Data types for chat completion requests
|
||||
#[derive(Serialize)]
|
||||
#[derive(Debug, Serialize)]
|
||||
struct OpenAIRequest {
|
||||
model: String,
|
||||
messages: Vec<RequestMessage>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue