You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the help! I would like to bring up two minor issues I encountered while completing this assignment:
Course API key issue: The API key provided for the module was not working on my end (authentication failures). To complete the assignment and ensure the notebook runs successfully, I temporarily used my own personal OpenAI API key during development.
GitHub push protection (secret detection)
When creating the pull request, GitHub blocked the push due to a secret detection violation. This appears to be related to an API key was accidentally included in the notebook output/history.
I have since removed the key.
If you would prefer a different approach for handling the API configuration, or if there is a course-specific setup I should follow, please let me know. I will make necessary updates accordingly.
Great work! No need to worry about usage of your own api / self-hosted model.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
What did you learn from the changes you have made?
How to evaluate LLM summaries using DeepEval with custom questions and multiple metrics.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Yes: using chunked summarization (map-reduce) for long documents.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Avoiding secret leakage (API key) in the notebook.
How were these changes tested?
Confirmed DeepEval returns scores + explanations for each metric and that the enhanced summary is re-evaluated successfully.
A reference to a related issue in your repository (if applicable)
NA
Checklist