-
Notifications
You must be signed in to change notification settings - Fork 66
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
Add docs for permission in 03 and add enable_trace in 04 #21
base: main
Are you sure you want to change the base?
Conversation
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.
Thanks for adding this @chengyineng38 ! Just one small thing about which data we use for review.
rag_app_sample_code/A_POC_app/pdf_uc_volume/03_deploy_poc_to_review_app.py
Outdated
Show resolved
Hide resolved
rag_app_sample_code/A_POC_app/pdf_uc_volume/04_create_evaluation_set.py
Outdated
Show resolved
Hide resolved
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.
LGTM. I'm not an official maintainer of this repo so adding @smurching to approve
@chengyineng38 could you share proof of manual testing that this change works (feel free to reach out directly to me with a notebook link etc)? Otherwise looks good, thanks for the updates! |
|
||
from databricks.agents import enable_trace_reviews | ||
|
||
request_id_list = request_log_df.select(F.col("request_id")).rdd.flatMap(lambda x: x).collect() |
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.
QQ, why do we need the .rdd.flatMap
call? It might be cleaner to e.g. use .toPandas
instead, since RDDs and their APIs are deprecated
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.
Good point. Simplified below.
No description provided.