pub struct Request {
pub llm_request: LlmRequest,
pub raw_request: Option<Value>,
pub metadata: Option<Metadata>,
}Expand description
A request an algorithm routes: the normalized LlmRequest plus optional
host-owned raw data and correlation Metadata.
Fields§
§llm_request: LlmRequestThe normalized request an algorithm routes.
raw_request: Option<Value>An optional whole request body retained by the host. libsy and the translation
codecs do not read it. Exact same-format codec replay instead uses
LlmRequest::preservation.
metadata: Option<Metadata>Correlation metadata carried through the request.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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