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 store #69

Merged
merged 1 commit into from
Mar 24, 2023
Merged

Prompt store #69

merged 1 commit into from
Mar 24, 2023

Conversation

rgbkrk
Copy link
Owner

@rgbkrk rgbkrk commented Mar 24, 2023

There are currently two main prompts, designed for use in Notebooks:

  • Coding assistance
  • Exception diagnosis

The defaults used will come from the GlobalPromptStore. The user can override these defaults by passing in a custom prompt to
set_exception_prompt or set_assist_prompt.

>>> from genai.prompts import set_exception_prompt
>>> set_exception_prompt("You will get an exception. Do something with it.")

@rgbkrk rgbkrk mentioned this pull request Mar 24, 2023
@rgbkrk rgbkrk merged commit d318329 into main Mar 24, 2023
@rgbkrk rgbkrk deleted the prompt-store branch March 24, 2023 14:27
@rgbkrk
Copy link
Owner Author

rgbkrk commented Mar 24, 2023

Closes #42

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.

None yet

1 participant