cyberchitta / openai_ex

Community maintained Elixir library for OpenAI API
https://hexdocs.pm/openai_ex
Apache License 2.0
140 stars 19 forks source link

Issue 67/enable completion and chat completion for other llms #68

Closed restlessronin closed 1 year ago

restlessronin commented 1 year ago

i have parameterized the base url for the api.

without any other changes, this now works for non-streaming completions and chat completions with thellama.cpp-python in server mode.

Madd0g commented 11 months ago

has this been released? I'm getting: function OpenaiEx.with_base_url/2 is undefined or private

restlessronin commented 11 months ago

@Madd0g I was hoping to polish off an issue or two more before publishing it, but it's been a while, so I've gone ahead and published it now. It's v0.5.0.