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

Add route files content to prompt for user instructions. #1024

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

gperetin
Copy link
Contributor

This fixes the issue where Pythagora would provide incorrect links in user testing instructions, because that's what we got from the LLM. LLM couldn't have know the correct routes because we never told it what those were, so this PR addressed that by adding the contents of the routes files into the prompt for user testing instructions.

Tested by loading 2 user databases that had the issue with incorrect links in user testing instructions, and confirming that the correct links are generated.

Went with the gpt-4o here as it was significantly more accurate on selecting files from a list.

@LeonOstrez LeonOstrez merged commit ac5d077 into main Jun 19, 2024
6 checks passed
@LeonOstrez LeonOstrez deleted the add-routes-to-user-instructions branch June 19, 2024 07:58
Copy link

@invisiblepancake invisiblepancake left a comment

Choose a reason for hiding this comment

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

=)

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.

3 participants