You can now embed prompts in your Kotlin code. It's worse than generating code and checking it beforehand since it will now be done at runtime. Expect a lot of new applications that will put one prompt in the main function like:

fun main() { chatgpt("open a window with a button, and make no mistakes") }  
you are viewing a single comment's thread
view the rest of the comments
[–] 14 points 3 months ago (1 child)

That's suboptimal... In Rust we do that at compile-time: https://github.com/germangb/ai-bindgen

  • source
  • hideshow 1 child comment