Class: Anthropic::Models::Beta::Organization::BetaAnalyticsSkillChatMetrics
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaAnalyticsSkillChatMetrics
- Defined in:
- lib/anthropic/models/beta/organization/beta_analytics_skill_chat_metrics.rb,
sig/anthropic/models/beta/organization/beta_analytics_skill_chat_metrics.rbs
Instance Attribute Summary collapse
-
#distinct_conversation_skill_used_count ⇒ Integer?
Number of distinct conversations in which the skill was used.
Instance Method Summary collapse
-
#initialize(distinct_conversation_skill_used_count:) ⇒ void
constructor
Claude.ai activity metrics for a single skill on a given day.
- #to_hash ⇒ { distinct_conversation_skill_used_count: Integer? }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(distinct_conversation_skill_used_count:) ⇒ void
Claude.ai activity metrics for a single skill on a given day.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaAnalyticsSkillChatMetrics for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_analytics_skill_chat_metrics.rb', line 21
|
Instance Attribute Details
#distinct_conversation_skill_used_count ⇒ Integer?
Number of distinct conversations in which the skill was used. A skill counts as used only when it is explicitly activated — the model (or the user, via the skill's slash command) invokes it, reading its instructions into context as part of that activation. Skills that are merely installed or listed as available, or whose content reaches the context without an activation (preloaded, hook-injected, or read as a plain file), are not counted. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
19 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_skill_chat_metrics.rb', line 19 required :distinct_conversation_skill_used_count, Integer, nil?: true |
Instance Method Details
#to_hash ⇒ { distinct_conversation_skill_used_count: Integer? }
15 |
# File 'sig/anthropic/models/beta/organization/beta_analytics_skill_chat_metrics.rbs', line 15
def to_hash: -> { distinct_conversation_skill_used_count: Integer? }
|