pub fn new(id: impl Into<Cow<'static, str>>, max_tokens: usize) -> Self {
        Self {
            id: id.into(),
            max_tokens,
        }
    }
/// Creates a new custom engine definition with the given id and maximum amount of tokens.
Creates a new custom engine definition with the given id and maximum amount of tokens.
Creates a new custom engine definition with the given id and maximum amount of tokens .
pub fn new(id: impl Into<Cow<'static, str>>, max_tokens: usize) -> Self {
        Self {
            id: id.into(),
            max_tokens,
        }
    }
pub fn new ( id : impl Into < Cow < ' static , str > > , max_tokens : usize ) -> Self { Self { id : id . into ( ) , max_tokens , } }
Creates a new custom engine definition with the given id and maximum amount of tokens.
Creates a new custom engine definition with the given id and maximum amount of tokens .
id
impl Into<Cow<'static, str>>
max_tokens
usize
id
impl Into<Cow<'static, str>>
max_tokens
usize