pub struct LLMResult {
pub generations: Vec<Vec<Generation>>,
pub llm_output: Option<HashMap<String, Value>>,
}Expand description
The output of a batch LLM invocation.
Fields§
§generations: Vec<Vec<Generation>>Generations for each input.
llm_output: Option<HashMap<String, Value>>Additional LLM output.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LLMResult
impl<'de> Deserialize<'de> for LLMResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LLMResult
impl RefUnwindSafe for LLMResult
impl Send for LLMResult
impl Sync for LLMResult
impl Unpin for LLMResult
impl UnsafeUnpin for LLMResult
impl UnwindSafe for LLMResult
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