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, Json>,
pub content: Json,
}
JSON-shaped LLM request payload passed through the runtime.
Fields
headers: Map<String, Json>
Provider-specific request headers.
content: Json
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
impl<'de> Deserialize<'de> for LlmRequest
impl<'de> Deserialize<'de> for LlmRequest
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl From<LlmRequest> for LlmRequestInterceptOutcome
impl From<LlmRequest> for LlmRequestInterceptOutcome
from
fn from(request: LlmRequest) -> Self
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::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for LlmRequest
impl StructuralPartialEq for LlmRequest