pub enum LLMCallState {
Normal = 0,
Waiting = 1,
Finish = 2,
Error = 3,
GetLastHiddenLayer = 4,
}Expand description
Represents the state of an LLM call.
Variants§
Normal = 0
The LLM call is in a normal running state.
Waiting = 1
The LLM call is waiting for a complete UTF-8 encoded character.
Finish = 2
The LLM call has finished execution.
Error = 3
An error occurred during the LLM call.
GetLastHiddenLayer = 4
Retrieve the last hidden layer during inference.
Trait Implementations§
Source§impl Debug for LLMCallState
impl Debug for LLMCallState
Source§impl PartialEq for LLMCallState
impl PartialEq for LLMCallState
impl Eq for LLMCallState
impl StructuralPartialEq for LLMCallState
Auto Trait Implementations§
impl Freeze for LLMCallState
impl RefUnwindSafe for LLMCallState
impl Send for LLMCallState
impl Sync for LLMCallState
impl Unpin for LLMCallState
impl UnwindSafe for LLMCallState
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