News for hackers. Stuff that matters.
Re:Show HN: JobLens – AI-Powered Job Search for 'Who's Hiring' by rahimnathwani on Monday July 03, 2023 @03:39PM (#36577828)
This is cool. I'm curious about this part:

  We leverage this to map all the unstructured job postings into the same unified structure. The new GPT functions feature and the extended context windows are really helpful for this.
Does this mean that, rather than using the gpt-3.5-turbo chat API, and using a system prompt that describes the output format you want (JSON?), you instead describe your output format in the same way you would if you were going to call a function?
Re:Show HN: JobLens – AI-Powered Job Search for 'Who's Hiring' by hubraumhugo on Monday July 03, 2023 @04:14PM (#36578176)
Yes, you can essentially use GPT functions to reliably output JSON based on a predefined schema. See https://github.com/openai/openai-cookbook/blob/main/examples...