From 5746d020ff3ea654218516e457c0f745dd3f1ef2 Mon Sep 17 00:00:00 2001 From: Abram Date: Fri, 12 Apr 2024 14:38:56 +0100 Subject: [PATCH] Minor refactor - set appropriate type of span to ag.span decorator --- examples/app_with_observability/app_async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/app_with_observability/app_async.py b/examples/app_with_observability/app_async.py index 6f0612c15d..0e437d7c5e 100644 --- a/examples/app_with_observability/app_async.py +++ b/examples/app_with_observability/app_async.py @@ -14,7 +14,7 @@ ) -@ag.span(type="llm_request") # su types are: llm_request, embedding +@ag.span(type="LLM") async def llm_call(prompt): chat_completion = await client.chat.completions.create( model="gpt-3.5-turbo", messages=[{"role": "user", "content": prompt}]