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

Running generate_optimal_prompt when the variables can hold a null value cause it to crash #36

Open
MarianoCornejo opened this issue Mar 30, 2024 · 0 comments

Comments

@MarianoCornejo
Copy link

I was trying to generate a prompt where my sentence could generate a json object , but a possible value for the json is null, so when is generating the test cases it looks like is using None and this can be put inside the var_dict, the problem is null is a valid output for the json and replacing it will empty string will only make the final output to use empty instead of null

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