We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 717c302 commit dc7d7ffCopy full SHA for dc7d7ff
3 files changed
langfuse/_client/attributes.py
@@ -95,7 +95,7 @@ def create_span_attributes(
95
level: Optional[SpanLevel] = None,
96
status_message: Optional[str] = None,
97
version: Optional[str] = None,
98
- observation_type: Optional[Literal["span", "guardrail"]] = "span",
+ observation_type: Optional[Literal["span", "guardrail", "event"]] = "span",
99
) -> dict:
100
attributes = {
101
LangfuseOtelSpanAttributes.OBSERVATION_TYPE: observation_type,
0 commit comments