Skip to content

v0.4.0

Compare
Choose a tag to compare
@isavita isavita released this 16 Jul 11:15
· 14 commits to main since this release
ba68f9b

Enhancements:

  • Added a new function get_raw_completion/2 that allows sending custom conversations to the OpenAI API without any additional prompting or disambiguation steps. This provides more control over the prompts sent to the API. The get_raw_completion/2 function takes a list of messages (maps with keys for "role" and "content") as the first argument rather than just a prompt string. This allows multi-turn conversations to be crafted and sent directly to the underlying model.