pub const fn new(engine: &'e Engine<'ts>, prompt: String) -> Self {
        Self {
            engine,
            prompt,
            max_tokens: None,
            temperature: None,
            top_k: None,
            top_p: None,
        }
    }
/// Create a new text completion builder.
Create a new text completion builder.
Create a new text completion builder .
pub const fn new(engine: &'e Engine<'ts>, prompt: String) -> Self {
        Self {
            engine,
            prompt,
            max_tokens: None,
            temperature: None,
            top_k: None,
            top_p: None,
        }
    }
pub const fn new ( engine : & ' e Engine < ' ts > , prompt : String ) -> Self { Self { engine , prompt , max_tokens : None , temperature : None , top_k : None , top_p : None , } }
Create a new text completion builder.
Create a new text completion builder .
engine
&'e Engine<'ts>
prompt
String
engine
&'e Engine<'ts>
prompt
String