-
Notifications
You must be signed in to change notification settings - Fork 62
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
feat: send sample documents to the model for better results VSCODE-580 #806
feat: send sample documents to the model for better results VSCODE-580 #806
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.
Looks reasonable to me. I have a few nitty comments - the only meaningful suggestion is considering returning an array of formatted documents and then appending them one by one to the prompt (checking for exceeding the max prompt length before each append) rather than as a all-or-nothing kind of thing.
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, left a couple comments
…SCODE-580-send-sample-documents # Conflicts: # src/test/ai-accuracy-tests/ai-accuracy-tests.ts
Description
Provide the passing of sample documents to the AI generations:
Checklist
Motivation and Context
Types of changes