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

ChatGPT preprocessing - make longer ordinances work #14

Open
maral opened this issue Aug 22, 2023 · 0 comments
Open

ChatGPT preprocessing - make longer ordinances work #14

maral opened this issue Aug 22, 2023 · 0 comments
Assignees
Labels
bug Something isn't working high priority

Comments

@maral
Copy link
Owner

maral commented Aug 22, 2023

Currently the script is pretty reliable for cities with up to 6 schools but the larger cities get stuck. This can be solved in two ways:

  1. Keep the prompt as-is and if the resulting JSON is incomplete, add another prompt that would tell the API to continue where it left off. E.g.:
    Skončil jsi v polovině školy. Prosím, pokračuj přesně tam, kde jsi skončil, zopakuj poslední řádek, který jsi napsal a pokračuj dál. Opět pouze JSON.
    Then you'd have to connnect the 2+ outputs.

  2. Another strategy is to first let ChatGPT extract only the school names and in the follow-up prompts let it return only several schools per script - this could be also much faster, as you can do multiple calls in parallel. Then you just need to connect the results together. This is probably the better solution, but a slightly more work.

@maral maral added bug Something isn't working high priority labels Aug 26, 2023
@maral maral self-assigned this Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority
Projects
None yet
Development

No branches or pull requests

1 participant