Skip to content
New issue

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

[llama-index] support for llamaindex tags #765

Closed
mikeldking opened this issue Aug 6, 2024 · 1 comment
Closed

[llama-index] support for llamaindex tags #765

mikeldking opened this issue Aug 6, 2024 · 1 comment
Labels
enhancement New feature or request instrumentation: llama-index Related to llama-index instrumentation module language: python Related to Python integration

Comments

@mikeldking
Copy link
Contributor

Of interest to arize, we just merged/released an interesting update to instrumentation
Basically, users can add arbitrary tags to their spans/events
from llama_index.core.instrumentation.dispatcher import instrument_tags

with instrument_tags({"user_id": 1234}):
  agent.chat("Hello!")

Any events/spans emitted under the with block will have a .tags attribute with the provided tags

@mikeldking mikeldking added enhancement New feature or request triage Issues that require triage labels Aug 6, 2024
@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix Aug 6, 2024
@mikeldking mikeldking added language: python Related to Python integration instrumentation: llama-index Related to llama-index instrumentation module labels Aug 6, 2024
@mikeldking mikeldking removed the triage Issues that require triage label Aug 23, 2024
Copy link

dosubot bot commented Jan 22, 2025

Hi, @mikeldking. I'm Dosu, and I'm helping the OpenInference team manage their backlog. I'm marking this issue as stale.

Issue Summary

  • You requested support for arbitrary tags to spans/events in the llama-index.
  • The functionality has been updated to allow custom tags using the instrument_tags function.
  • No further comments or developments have been made on this issue.

Next Steps

  • Please confirm if this issue is still relevant to the latest version of the OpenInference repository. If so, you can keep the discussion open by commenting on the issue.
  • Otherwise, this issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Jan 22, 2025
@dosubot dosubot bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 29, 2025
@dosubot dosubot bot removed the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Jan 29, 2025
@github-project-automation github-project-automation bot moved this from 📘 Todo to ✅ Done in phoenix Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request instrumentation: llama-index Related to llama-index instrumentation module language: python Related to Python integration
Projects
Status: Done
Development

No branches or pull requests

1 participant