pub struct OpenAiDecisionClient { /* private fields */ }Expand description
Serves typed questions through OpenAI’s Decisions API.
Implementations§
Trait Implementations§
Source§impl RoutedDecisionClient for OpenAiDecisionClient
impl RoutedDecisionClient for OpenAiDecisionClient
Source§fn call<'life0, 'async_trait>(
&'life0 self,
request: DecisionRequest,
) -> Pin<Box<dyn Future<Output = Result<DecisionResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn call<'life0, 'async_trait>(
&'life0 self,
request: DecisionRequest,
) -> Pin<Box<dyn Future<Output = Result<DecisionResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Evaluate the request using its selected model.
Auto Trait Implementations§
impl !RefUnwindSafe for OpenAiDecisionClient
impl !UnwindSafe for OpenAiDecisionClient
impl Freeze for OpenAiDecisionClient
impl Send for OpenAiDecisionClient
impl Sync for OpenAiDecisionClient
impl Unpin for OpenAiDecisionClient
impl UnsafeUnpin for OpenAiDecisionClient
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