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

Create a way to override the default prompts #42

Closed
rgbkrk opened this issue Mar 12, 2023 · 1 comment
Closed

Create a way to override the default prompts #42

rgbkrk opened this issue Mar 12, 2023 · 1 comment

Comments

@rgbkrk
Copy link
Owner

rgbkrk commented Mar 12, 2023

I'd like to be able to experiment with the prompts to do tuning outside of making another release.

import genai

genai.set_default_error_prompt(
    """
You are a data scientist diagnosing errors from your colleagues.
They ran into an error in their notebook. Be concise. Format your response in markdown.
Be extremely minimal with prose, aiming primarily for concise fixes.
""".strip()
)

As the python package solidifies, the most likely piece to change over time is going to be the prompt.

@rgbkrk
Copy link
Owner Author

rgbkrk commented Mar 24, 2023

Closed by #69

@rgbkrk rgbkrk closed this as completed Mar 24, 2023
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

No branches or pull requests

1 participant