pub struct TelemetryContentSettings {
pub system_instructions: Option<bool>,
pub input_messages: Option<bool>,
pub output_messages: Option<bool>,
pub tool_definitions: Option<bool>,
pub tool_calls: Option<bool>,
}Fields§
§system_instructions: Option<bool>Set gen_ai.system_instructions on chat spans.
input_messages: Option<bool>Set gen_ai.input.messages on turn and chat spans.
output_messages: Option<bool>Set gen_ai.output.messages on turn and chat spans.
tool_definitions: Option<bool>Set gen_ai.tool.definitions on chat spans.
tool_calls: Option<bool>Set gen_ai.tool.call.arguments / gen_ai.tool.call.result on tool spans.
Implementations§
Source§impl TelemetryContentSettings
impl TelemetryContentSettings
pub fn system_instructions(&self) -> bool
pub fn input_messages(&self) -> bool
pub fn output_messages(&self) -> bool
pub fn tool_definitions(&self) -> bool
pub fn tool_calls(&self) -> bool
Trait Implementations§
Source§impl Clone for TelemetryContentSettings
impl Clone for TelemetryContentSettings
Source§impl Debug for TelemetryContentSettings
impl Debug for TelemetryContentSettings
Source§impl Default for TelemetryContentSettings
impl Default for TelemetryContentSettings
Source§impl<'de> Deserialize<'de> for TelemetryContentSettings
impl<'de> Deserialize<'de> for TelemetryContentSettings
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
impl Eq for TelemetryContentSettings
Source§impl JsonSchema for TelemetryContentSettings
impl JsonSchema for TelemetryContentSettings
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for TelemetryContentSettings
impl PartialEq for TelemetryContentSettings
Source§impl Serialize for TelemetryContentSettings
impl Serialize for TelemetryContentSettings
impl StructuralPartialEq for TelemetryContentSettings
Auto Trait Implementations§
impl Freeze for TelemetryContentSettings
impl RefUnwindSafe for TelemetryContentSettings
impl Send for TelemetryContentSettings
impl Sync for TelemetryContentSettings
impl Unpin for TelemetryContentSettings
impl UnsafeUnpin for TelemetryContentSettings
impl UnwindSafe for TelemetryContentSettings
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.