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 as class #72

Open
YY-SONG0718 opened this issue Dec 14, 2023 · 2 comments · May be fixed by #77
Open

prompt as class #72

YY-SONG0718 opened this issue Dec 14, 2023 · 2 comments · May be fixed by #77
Assignees

Comments

@YY-SONG0718
Copy link
Member

YY-SONG0718 commented Dec 14, 2023

We plan to change the prompts (system messages) to a class and make schema-specific inputs as class parameters. This will facilitate improving prompts over time and enable benchmarking across prompts.

@YY-SONG0718 YY-SONG0718 self-assigned this Dec 14, 2023
YY-SONG0718 added a commit that referenced this issue Dec 14, 2023
YY-SONG0718 added a commit that referenced this issue Dec 14, 2023
YY-SONG0718 added a commit that referenced this issue Dec 14, 2023
@slobentanzer
Copy link
Contributor

Parent class Prompt, has input space of a message with placeholders (how do we format them)

and a list of elements (of length same as the placeholders) to insert at the placeholders

YY-SONG0718 added a commit that referenced this issue Dec 14, 2023
YY-SONG0718 added a commit that referenced this issue Dec 14, 2023
YY-SONG0718 added a commit that referenced this issue Dec 15, 2023
@YY-SONG0718 YY-SONG0718 linked a pull request Dec 15, 2023 that will close this issue
YY-SONG0718 added a commit that referenced this issue Dec 15, 2023
YY-SONG0718 added a commit that referenced this issue Dec 15, 2023
YY-SONG0718 added a commit that referenced this issue Dec 15, 2023
YY-SONG0718 added a commit that referenced this issue Dec 15, 2023
YY-SONG0718 added a commit that referenced this issue Dec 15, 2023
YY-SONG0718 added a commit that referenced this issue Dec 15, 2023
@YY-SONG0718 YY-SONG0718 linked a pull request Dec 15, 2023 that will close this issue
@slobentanzer
Copy link
Contributor

Would be most useful in the automated benchmarking matrix, to be able to change the prompts in isolation from the other components of the benchmarking tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ideas
Development

Successfully merging a pull request may close this issue.

2 participants