-
Notifications
You must be signed in to change notification settings - Fork 10
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
Prompt should support generating markup cells #285
Merged
Merged
Conversation
This file contains 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
* Related to #284
✅ Deploy Preview for foyle canceled.
|
jlewi
added a commit
that referenced
this pull request
Oct 15, 2024
# Experiment Report After running an evaluation experiment, we compute a report that contains the key metrics we want to track. To start with this is * Number of cell match results * Number of errors and examples * Generate latency measured as percentiles * Level1 assertion stats # Level 1 Assertion stats * Add a level 1 assertion to test whether the document is zero. * I believe I observed this started happening when we included a fix to outputs not being included (#286) in #285. * I think the problem is the cell outputs could be very long and this could end up eating all the available context buffer # Reintegrate Level 1 Assertions Into Evaluation * Fix #261 * We start computing level 1 assertions at RunTime so that they are available in production and evaluation * Level1 assertions are computed and then logged * Our Analyzer pipeline reads the assertions from the logs and adds them to the trace * Our evaluation report accumulates assertion statistics and reports them
* During evaluation we are seeing ocassional timeouts on the server due to the HTTP read/write timeout occuring. It looks like this might happen because ChatGPT takes a really long time to respond occassionally. * Update StreamGenerate and GenerateCells to return DeadlineExceeded to indicate a server timeout * Implement a unaryinterceptor to automatically retry requests based on the status code. * The retry is pretty simplistic; its a fixed backoff.
* In 14 of our 424 examples in evaluation the input document sent to the model ends up being the empty string * This is the result of how our doc tailer works. Our doc tailer imposes a length cap on the tail of the document. There was a bug in the tailer where if the last cell in the document exceeded the cap (currently 1110 characters) then an empty string would be returned. * This PR fixes that. If the last cell exceeds the length then we take the tail of that cell. * This PR also checks in completer that the tail of the document is non empty; if its not empty then we fail the completion rather than continuing to generate the completion. * Fix #305
* Fix the cicd/job.yaml so that it can correctly release our containers.
jlewi
changed the title
Start generating markup cells
Prompt should support generating markup cells
Oct 23, 2024
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.
No issues flagged.
Standard Input can make mistakes. Check important info.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Suggest Markup Cells
Now that the frontend can render markup as ghost cells we want the agent to start generating them
This will allow the AI to
Related to Let the AI Suggest Markup Cells #284
Don't restrict the response to a single code block.
Remove the hack which only generated completions if the current cell was a markup cell. We should generate completions even if the cell is code or output cell
Change PostProcessing of responses
Proto Changes