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

💪 General improvements to sentence generation #27

Open
5 of 6 tasks
beverage opened this issue Sep 3, 2024 · 1 comment
Open
5 of 6 tasks

💪 General improvements to sentence generation #27

beverage opened this issue Sep 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@beverage
Copy link
Owner

beverage commented Sep 3, 2024

Now that highly configurable sentence generation generally works, and that the most basic of web services (and hosting) are up and running, it needs a lot of refinement so it can be consume by problem generators.

Mostly this is DTO-related, as almost all headaches right now are because of everything being json strings passing around everywhere. There are some bugs too, and some prompt refinement required as well.

The following minimally should be done:

  • Create DTOs for both input and output to OpenAI, in support of the next item.
  • Update all prompts to properly use enum comparisons. Python truthiness is simply string existence, and testing explicit string comparisons. Everything until the last change was automatically true.
  • Update prompts to use said DTOs.
  • Update random sentence generator to call explicit sentence generator and then remove it.
  • Update explicit sentence generator to accept all of its parameters.
  • Add a 'correctness redrive' prompt, to validate sentence prompt results.

These together should create much better results for bundling into non-random problems.

@beverage
Copy link
Owner Author

Random sentence generator fix: f1a5460

@beverage beverage added the enhancement New feature or request label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant