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

Implement Langfuse Telemetry for generateImage #507

Open
toyamarinyon opened this issue Mar 24, 2025 · 0 comments
Open

Implement Langfuse Telemetry for generateImage #507

toyamarinyon opened this issue Mar 24, 2025 · 0 comments
Assignees

Comments

@toyamarinyon
Copy link
Contributor

toyamarinyon commented Mar 24, 2025

Currently, the generateImage function does not send telemetry data to Langfuse. While the AI SDK provides telemetry functionality, it is not yet implemented for generateImage (as of version 4.2.0).

This issue proposes implementing Langfuse telemetry specifically for generateImage. Langfuse supports image outputs (see https://langfuse.com/docs/tracing-features/multi-modality), allowing us to track and analyze the performance and characteristics of generated images.

Goal:

  • Implement telemetry reporting to Langfuse when the generateImage function is executed.
  • Ensure the telemetry data includes relevant information about the generated image, leveraging Langfuse's multi-modality support.

Considerations:

  • This implementation will need to be independent of the existing AI SDK telemetry, as it's not yet supported for generateImage.
  • Careful consideration should be given to the specific data points to include in the telemetry to provide meaningful insights into image generation performance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants