Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Req.post to /chat/completions, streaming the tokens through a parser and doing regular elixir messages. It's really not more complicated than that :)


even less complicated, just set stream: false in your json :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: