pub struct DebugOutput {Show 13 fields
pub attempts: i32,
pub request: String,
pub prompt: String,
pub engine_request: String,
pub responses: Vec<String>,
pub chunks: Vec<String>,
pub cache_read_count: i32,
pub cache_read_input_bytes: i64,
pub cache_write_count: i32,
pub cache_write_input_bytes: i64,
pub lb_address: String,
pub sampler_tag: String,
pub sampler_checkpoint_mount: String,
}Expand description
Debug output. Only available to trusted testers.
Fields§
§attempts: i32Number of attempts made to the model.
request: StringThe request received from the user.
prompt: StringThe prompt sent to the model in text form.
engine_request: StringJSON-serialized request sent to the inference engine.
responses: Vec<String>The response(s) received from the model.
chunks: Vec<String>The individual chunks returned from the pipeline of samplers.
cache_read_count: i32Number of cache reads.
cache_read_input_bytes: i64Size of cache read.
cache_write_count: i32Number of cache writes.
cache_write_input_bytes: i64Size of cache write.
lb_address: StringThe load balancer address.
sampler_tag: StringThe tag of the actual engines sitting behind the GTP address.
sampler_checkpoint_mount: StringThe underlying checkpoint mount path for the sampler that served this request.
Trait Implementations§
Source§impl Clone for DebugOutput
impl Clone for DebugOutput
Source§fn clone(&self) -> DebugOutput
fn clone(&self) -> DebugOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DebugOutput
impl Debug for DebugOutput
Source§impl Default for DebugOutput
impl Default for DebugOutput
Source§fn default() -> DebugOutput
fn default() -> DebugOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DebugOutput
impl<'de> Deserialize<'de> for DebugOutput
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
Source§impl PartialEq for DebugOutput
impl PartialEq for DebugOutput
Source§impl Serialize for DebugOutput
impl Serialize for DebugOutput
impl StructuralPartialEq for DebugOutput
Auto Trait Implementations§
impl Freeze for DebugOutput
impl RefUnwindSafe for DebugOutput
impl Send for DebugOutput
impl Sync for DebugOutput
impl Unpin for DebugOutput
impl UnwindSafe for DebugOutput
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