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

Fix: change SQL Boxcar to use the name of the database in the prompt #14

Open
francis opened this issue Feb 18, 2023 · 0 comments
Open
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@francis
Copy link
Contributor

francis commented Feb 18, 2023

This should be pretty straight forward. The current prompt does not use the name of the database anywhere.

It probably should go in the action description area:

> Entering Zero Shot#run
multiply the total number of tickets by 2 pi?
Prompt after formatting:
Answer the following questions as best you can. You have access to the following actions:

Calculator: useful for when you need to answer questions about math
SQLdatabase: useful for when you need to query a SQL database

Use the following format:

Question: the input question you must answer
Thought: you should always think about what to do
Action: the action to take, should be one of [Calculator, SQLdatabase]
Action Input: the input to the action
Observation: the result of the action
... (this Thought/Action/Action Input/Observation sequence can repeat N times)
Thought: I now know the final answer
Final Answer: the final answer to the original input question


Begin!

Question: multiply the total number of tickets by 2 pi?
Thought:
@francis francis added bug Something isn't working good first issue Good for newcomers labels Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant