pub struct BatchJob {
pub model: String,
pub prompt: String,
pub title: Option<String>,
pub system_prompt: Option<String>,
pub max_tokens: Option<i64>,
}Expand description
A single job in a batch submission.
Fields§
§model: StringModel to use for this job.
prompt: StringThe prompt text.
title: Option<String>Optional title for this job.
system_prompt: Option<String>Optional system prompt.
max_tokens: Option<i64>Optional maximum tokens to generate.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BatchJob
impl RefUnwindSafe for BatchJob
impl Send for BatchJob
impl Sync for BatchJob
impl Unpin for BatchJob
impl UnsafeUnpin for BatchJob
impl UnwindSafe for BatchJob
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more