-
Notifications
You must be signed in to change notification settings - Fork 73
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 datapoint count on dataset table #288
Conversation
Readme fixes and global colors
Update landing and welcome email, contrib experience, minor fixes
Improve onboarding, fix eval page placeholder
Explicit mapping in labels + frontend improvements
Labeling queues
parse litellm attributes (lmnr-ai#171)
add claude-3-5-haiku to pipeline and prices (lmnr-ai#174)
fix evaluations query in labeling queue (lmnr-ai#176)
Middleware auth, traces page efficiency
fixed post requests (lmnr-ai#185)
improve UI for workspaces + internal fixes
Store label values sent from association properties
Playgrounds v0
* initial work to compare evals * remove unnecessary div * design --------- Co-authored-by: Din <[email protected]>
disable all clickhouse queries for non-full builds (lmnr-ai#213)
update models in pipeline templates to 4o family (lmnr-ai#215)
Fix realtime and manual spans
Labeling queues
Semantic search API, blogs, minor fixes
update rust deps and fix blog images (lmnr-ai#246)
Minor fixes in evals
Allow disabling tracing, search by spans
Events and landing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Reviewed everything up to c4cf0bd in 10 seconds
More details
- Looked at
56
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. frontend/app/api/projects/[projectId]/datasets/route.ts:55
- Draft comment:
The use ofCOALESCE
and casting toint
is unnecessary here sinceCOUNT(*)
already returns an integer. You can simplify the SQL expression by removingCOALESCE
and the cast toint
. - Reason this comment was not posted:
Confidence changes required:50%
The SQL query for counting datapoints is correct, but the use ofCOALESCE
and casting toint
is unnecessary sinceCOUNT(*)
already returns an integer. Simplifying this can improve readability.
Workflow ID: wflow_9xSSko7q41uApSNX
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@devansh-m12 looks good overall, quick question: did you test it with empty datasets? By definition SQL's COALESCE
may return null, because it returns first non-null value out of its arguments. Just to make sure things are working fine, we should test that case too.
Also, can you set the target branch to dev
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@devansh-m12 left a small nit. I'll merge this once it's fixed
fixes #274
@dinmukhamedm added "DataPoints Count" in dataset table, ss for refrence let me know for any changes
Important
Add datapoints count to dataset table in both backend and frontend.
route.ts
, addeddatapointsCount
to the dataset query using a subquery to count datapoints fromdatasetDatapoints
.datasets.tsx
, added a new columndatapointsCount
to the dataset table to display the count of datapoints.This description was created by for c4cf0bd. It will automatically update as commits are pushed.