News for hackers. Stuff that matters.
Re:Show HN: Goopt – Search Engine for a Procedural Simulatio... by yoland68 on Wednesday February 23, 2022 @02:28PM (#30445197)
You might have to enable billing, that was the issue for me
Re:Show HN: Goopt – Search Engine for a Procedural Simulatio... by zitterbewegung on Wednesday February 23, 2022 @02:59PM (#30445606)
No it’s a config error.
Re:Show HN: Goopt – Search Engine for a Procedural Simulatio... by zitterbewegung on Wednesday February 23, 2022 @03:02PM (#30445643)
What did you change ?
Re:Show HN: Goopt – Search Engine for a Procedural Simulatio... by code51 on Wednesday February 23, 2022 @04:56PM (#30447080)
I set the base and engine in openai-api for goose.ai completions return fine, I'm seeing them fine in the log. However they are unusable to make Goopt work. The end of search prompts mock JSON format.

I get this \"content\": [{\"name\": \"Keto Diet\", \n \"typeClass\": {}, \n \"description\":[],\n \"contentImageUri\": null }]}

GPT-J doesn't seem to compose similar broken JSON so formatResults returns empty.

Re:Show HN: Goopt – Search Engine for a Procedural Simulatio... by joken0x on Wednesday February 23, 2022 @06:59PM (#30448481)
Maybe giving more examples can give a better result, for the case of GPT-3 I kept it to a few examples because of the cost of the amount of tokens.

Another option is to improve formatResults to fix more cases of invalid JSON responses. If you get any improvement a pull request is welcome.

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.