Re:Show HN: Goopt – Search Engine for a Procedural Simulatio...
by code51 on Thursday February 24, 2022 @05:18AM
(#30453055)
With GPT-J, search prompt works better if you don't try to get a JSON response.
I don't know why but when you ask for technical formats/outputs, GPT-J heavily focuses on composing a technical document/code for you. It tends to start composing Javascript etc.
I'll come up with a pull request.
Another option is to improve formatResults to fix more cases of invalid JSON responses. If you get any improvement a pull request is welcome.