Struct LlmRequest
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub struct LlmRequest {
pub headers: Map<String, Value>,
pub content: Value,
}
JSON-shaped LLM request payload passed through the runtime.
Fields
headers: Map<String, Value>
Provider-specific request headers.
content: Value
Provider-specific request body.
Trait Implementations
impl Clone for LlmRequest
impl Clone for LlmRequest
clone
fn clone(&self) -> LlmRequest
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for LlmRequest
impl Debug for LlmRequest
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl<'de> Deserialize<'de> for LlmRequest
impl<'de> Deserialize<'de> for LlmRequest
deserialize
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LlmRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl From<LlmRequest> for LlmRequestInterceptOutcome
impl From<LlmRequest> for LlmRequestInterceptOutcome
from
fn from(request: LlmRequest) -> LlmRequestInterceptOutcome
impl PartialEq for LlmRequest
impl PartialEq for LlmRequest
eq
fn eq(&self, other: &LlmRequest) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for LlmRequest
impl Serialize for LlmRequest
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for LlmRequest
impl StructuralPartialEq for LlmRequest