pub struct EvalRunOutputItems<'c, C: Config> {
pub eval_id: String,
pub run_id: String,
/* private fields */
}Fields§
§eval_id: String§run_id: StringImplementations§
Source§impl<'c, C: Config> EvalRunOutputItems<'c, C>
impl<'c, C: Config> EvalRunOutputItems<'c, C>
pub fn new(client: &'c Client<C>, eval_id: &str, run_id: &str) -> Self
Sourcepub async fn list<Q>(
&self,
query: &Q,
) -> Result<EvalRunOutputItemList, OpenAIError>
pub async fn list<Q>( &self, query: &Q, ) -> Result<EvalRunOutputItemList, OpenAIError>
Get a list of output items for an evaluation run. Get a list of output items for an evaluation run.
Sourcepub async fn list_byot<T0: Serialize, R: DeserializeOwned>(
&self,
query: T0,
) -> Result<R, OpenAIError>
pub async fn list_byot<T0: Serialize, R: DeserializeOwned>( &self, query: T0, ) -> Result<R, OpenAIError>
Get a list of output items for an evaluation run.
Sourcepub async fn retrieve(
&self,
output_item_id: &str,
) -> Result<EvalRunOutputItem, OpenAIError>
pub async fn retrieve( &self, output_item_id: &str, ) -> Result<EvalRunOutputItem, OpenAIError>
Get an evaluation run output item by ID. Get an evaluation run output item by ID.
Sourcepub async fn retrieve_byot<T0: Display, R: DeserializeOwned>(
&self,
output_item_id: T0,
) -> Result<R, OpenAIError>
pub async fn retrieve_byot<T0: Display, R: DeserializeOwned>( &self, output_item_id: T0, ) -> Result<R, OpenAIError>
Get an evaluation run output item by ID.
Auto Trait Implementations§
impl<'c, C> Freeze for EvalRunOutputItems<'c, C>
impl<'c, C> !RefUnwindSafe for EvalRunOutputItems<'c, C>
impl<'c, C> Send for EvalRunOutputItems<'c, C>
impl<'c, C> Sync for EvalRunOutputItems<'c, C>
impl<'c, C> Unpin for EvalRunOutputItems<'c, C>
impl<'c, C> !UnwindSafe for EvalRunOutputItems<'c, C>
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