pub struct GenerationClient { /* private fields */ }Implementations§
Source§impl GenerationClient
impl GenerationClient
Sourcepub async fn generate_document(
&self,
request: GenerateDocumentRequest,
options: Option<&RequestOptions>,
) -> Result<GenerateDocumentResponse, Error>
pub async fn generate_document( &self, request: GenerateDocumentRequest, options: Option<&RequestOptions>, ) -> Result<GenerateDocumentResponse, Error>
Run the evidence-grounded generation pipeline for a root term.
Trait Implementations§
Source§impl Clone for GenerationClient
impl Clone for GenerationClient
Source§fn clone(&self) -> GenerationClient
fn clone(&self) -> GenerationClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GenerationClient
impl !RefUnwindSafe for GenerationClient
impl Send for GenerationClient
impl Sync for GenerationClient
impl Unpin for GenerationClient
impl UnsafeUnpin for GenerationClient
impl !UnwindSafe for GenerationClient
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