You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
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.