We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
Spit balling here:
from openinference.instrumentation import agent, chain, trace @agent(name="calculator-agent") def agent(): .... @chain def apply_parameters(): ....
In addition I may want to imparatively create a span inside of a function body:
tracer = tracer_provider.get_tracer(__name__) def some_llm_function(input): with tracer.start_as_current_span( name="name", kind="chain", attributes={}, ) as span: # do work span.set_input(output) span.set_output(output)
Sorry, something went wrong.
axiomofjoy
Successfully merging a pull request may close this issue.
No description provided.
The text was updated successfully, but these errors were encountered: