News for hackers. Stuff that matters.
Re:Ask HN: What is the ideal format to structure AI prompts? by BOOSTERHIDROGEN on Sunday March 17, 2024 @11:16AM (#39734998)
Nothing is definitive now. Hallucinations are real.
Re:Ask HN: What is the ideal format to structure AI prompts? by alexrustic on Sunday March 17, 2024 @11:20AM (#39735036)
Ok, let's assume hallucinations are here to stay. What do you think is the ideal format to structure AI prompts ?
Re:Ask HN: What is the ideal format to structure AI prompts? by BOOSTERHIDROGEN on Sunday March 17, 2024 @11:38AM (#39735176)
As the context expands, you can pour all of the sources into it, for example, https://old.reddit.com/r/ChatGPTCoding/comments/1bghp8p/i_ma...
Re:Ask HN: What is the ideal format to structure AI prompts? by alexrustic on Sunday March 17, 2024 @12:11PM (#39735426)
This is a tool that automates the copying and pasting of multiple source files into a Markdown document (the prompt) in order to contain an entire code base in a single prompt.

By prompt structuring format, I mean something higher level (format, language) like OpenAI's ChatML: https://news.ycombinator.com/item?id=34988748

A document generated with the project you showed me would just be "user input" inserted into a ChatML document, just below the actual OpenAI instructions defined in a system node. Here, the LLM would consume the ChatML document inside which is inserted the Markdown (containing an entire code base) generated by the tool you showed me.

Re:Ask HN: What is the ideal format to structure AI prompts? by tomcam on Tuesday March 19, 2024 @01:05AM (#39753108)
I am using this for the first line of my screenplay