Skip to content

Commit

Permalink
Minor refactor - set appropriate type of span to ag.span decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
aybruhm committed Apr 12, 2024
1 parent 97f77ac commit 5746d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/app_with_observability/app_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}]
Expand Down

0 comments on commit 5746d02

Please sign in to comment.