pub struct ChatContextResponse {
pub context: String,
pub profile: ProfileContext,
pub knowledge: KnowledgeContext,
pub took_ms: f64,
pub token_estimates: TierTokenEstimates,
}Fields§
§context: String§profile: ProfileContext§knowledge: KnowledgeContext§took_ms: f64§token_estimates: TierTokenEstimatesTrait Implementations§
Source§impl Debug for ChatContextResponse
impl Debug for ChatContextResponse
Source§impl<'de> Deserialize<'de> for ChatContextResponse
impl<'de> Deserialize<'de> for ChatContextResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChatContextResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChatContextResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ChatContextResponse
impl Serialize for ChatContextResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ChatContextResponse
impl RefUnwindSafe for ChatContextResponse
impl Send for ChatContextResponse
impl Sync for ChatContextResponse
impl Unpin for ChatContextResponse
impl UnsafeUnpin for ChatContextResponse
impl UnwindSafe for ChatContextResponse
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