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

Added sample interaction telemetry event. #178

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

azchohfi
Copy link
Contributor

TODO: add to other samples after initial review.

AIDevGallery/Samples/BaseSamplePage.cs Outdated Show resolved Hide resolved
public override PartA_PrivTags PartA_PrivTags => PrivTags.ProductAndServiceUsage;

public string SampleId { get; }
public string Model1Id { get; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not make a models array instead of hardcoding model1, model2, etc?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, since these are not just models - we should think about how we make this more readable and move away from just calling everything model

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are reflected by the telemetry [EventData], so we should be very clear with what we call them.
We do not have plans on having samples with more than two models/endpoints (only the rag and multipose samples uses this). Adding more than two would make the UI very complex too.

@azchohfi azchohfi requested a review from nmetulev February 10, 2025 23:22
@nmetulev nmetulev merged commit 912ce16 into main Feb 10, 2025
3 checks passed
@nmetulev nmetulev deleted the alzollin/sampleInteractionTelemetry branch February 10, 2025 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants