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

Prompt Improvement #21

Closed
wants to merge 3 commits into from
Closed

Prompt Improvement #21

wants to merge 3 commits into from

Conversation

conbon
Copy link
Contributor

@conbon conbon commented Sep 30, 2024

  • trim back some of the extraneous prompt to improve the agents SQL probing.
  • remove dependency on the Utils prompts - include everything required in the system prompt
  • fix some of the templating vars - printing the full prompt prior to this change showed incorrect templating
  • remove the additional database tables - this appears to be a potential perf win, but the agent never seems to use the data
  • fix and pin judge to a more capable model

"input": "List all the characters in Anna Karenina",
"query": "SELECT DISTINCT characterNames FROM novels WHERE novelName = 'Anna Karenina'",
"ex_input": "What am I subscribed to?",
"ex_thought": "I need to find out what I am subscribed to. I will the tools available to me to query the "
Copy link
Contributor

Choose a reason for hiding this comment

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

I will use the tools

…r utils to system prompt and add formatted examples.
@StephanieBracaloni
Copy link

Can this go against the "feature" branch, please?

@conbon conbon closed this Sep 30, 2024
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