We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd28869 commit f55dba7Copy full SHA for f55dba7
libs/observe/samples/sample_chainlit.py
@@ -151,6 +151,8 @@ def on_llm_end(
151
semconv.SemanticConvention.MESSAGE_ID: self.message_id,
152
semconv.SemanticConvention.LATENCY: round(latency, 1),
153
semconv.SemanticConvention.LATENCT_FIRST_RESP: self.latency_first_resp,
154
+ semconv.SemanticConvention.MODEL_ID: model_id,
155
+ semconv.SemanticConvention.MODEL_NAME: model_name,
156
semconv.SemanticConvention.SPAN_TYPE: semconv.SpanType.LLM.value,
157
semconv.SemanticConvention.INPUT: json.dumps(
158
{
0 commit comments