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

Harrison/new api chain #623

Merged
merged 2 commits into from
Jan 16, 2023
Merged

Harrison/new api chain #623

merged 2 commits into from
Jan 16, 2023

Conversation

hwchase17
Copy link
Contributor

No description provided.

fpingham and others added 2 commits January 15, 2023 17:10
Included in the API prompt to ask for as least information in possible
in API calls.
Asked in the SQL prompt to add a limit clause when building SQL queries.
Included a 'top_k' parameter which suggests a reasonable limit size for
the query.

Co-authored-by: lesscomfortable <[email protected]>
Co-authored-by: Harrison Chase <[email protected]>
@hwchase17 hwchase17 merged commit 3d43906 into master Jan 16, 2023
@hwchase17 hwchase17 deleted the harrison/new-api-chain branch January 16, 2023 02:34
{api_docs}
Using this documentation, generate the full API url to call for answering the user question.
You should build the API url so as to get a response that is as short as possible, while still getting the necessary information to answer the question. Pay attention in the following example, how there are many pieces of information that are deliberately not included in the API call. You should do the same.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Given that we have no example, I would change this for:

"You should build the API url so as to get a response that is as short as possible, while still getting the necessary information to answer the question. Pay attention to deliberately exclude unnecessary pieces of information in the API call."

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