> ## Documentation Index > Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt > Use this file to discover all available pages before exploring further. # ObservabilityFilterRuleGroupValue ## Supported Types ### ```go theme={null} observabilityFilterRuleGroupValue := components.CreateObservabilityFilterRuleGroupValueStr(string{/* values here */}) ``` ### ```go theme={null} observabilityFilterRuleGroupValue := components.CreateObservabilityFilterRuleGroupValueNumber(float64{/* values here */}) ``` ## Union Discrimination Use the `Type` field to determine which variant is active, then access the corresponding field: ```go theme={null} switch observabilityFilterRuleGroupValue.Type { case components.ObservabilityFilterRuleGroupValueTypeStr: // observabilityFilterRuleGroupValue.Str is populated case components.ObservabilityFilterRuleGroupValueTypeNumber: // observabilityFilterRuleGroupValue.Number is populated } ```