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

Various updates to AI Editor stuff #933

Merged
merged 9 commits into from
Sep 9, 2024
Merged

Conversation

richard-to
Copy link
Collaborator

@richard-to richard-to commented Sep 8, 2024

Probably the best way to review this is to look at the individual commits (is there an easy way to chain pull requests?)

Changes:

  1. Added some new goldens
  2. Also renamed golden directories a bit. Added a timestamp suffix (used for roughly determining which goldens have not been fine tuned
  3. Added .env file support
  4. Added a way to include un-fine-tuned goldens to the prompt (quick way to sort of test the new goldens without doing a fine tuning run)
  5. Some minor refactoring (not really for ideal code structure, but the minimal amount of changes to include the adjustments added here
  6. Also add support for using Gemini client instead of OpenAI client (not using a fine tuned version yet, but bundling the goldens into the prompt for now)

- Allow usage of .env files to make it easier to manage env vars
- Add google-generativeai for testing gemini models
Add timestamps so we can split goldens that have not been fine tuned and use them as part of the prompt.

Format is YYYYMMDDHHMM
- Allow untuned examples to be used as part of the chat prompt
- Updates format goldens to generate the untuned examples subset
- Minor adjustments to prompt
Some of the refactoring led to a regression. Add a quick fix.
Copy link
Collaborator

@wwwillchen wwwillchen left a comment

Choose a reason for hiding this comment

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

LGTM - btw, I'm prototyping a more structured way to manage evals and goldens, hope to send it out soon.

@richard-to richard-to merged commit 4d9f803 into google:main Sep 9, 2024
5 checks passed
@richard-to
Copy link
Collaborator Author

LGTM - btw, I'm prototyping a more structured way to manage evals and goldens, hope to send it out soon.

Nice. I'm looking forward to see that change. Definitely a lot of room for improvement there.

@richard-to richard-to deleted the ai-ai-ai branch September 28, 2024 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants