openai-clojure
openai-clojure copied to clipboard
Clojure functions to drive the OpenAI API
So, I'm using the library , so far so good. However when I try to use it in babashka script, I'm getting an error saying LinkedList is not supported in...
[Ollama](https://ollama.ai/blog/openai-compatibility) has announced OpenAI API compatibility and the [Llama API](https://www.llama-api.com/) website has [documentation examples](https://docs.llama-api.com/essentials/chat) using the Python OpenAI client. It would be great to see this library work with the...
Steps to reproduce: 1. Collect a sequence of messages to pass to open AI (of type {:role role :content content}) that exceed the model's token limit. In my case, GPT-3.5...
I am calling create-chat-completion with the options `:stream true :on-next #(log/info :on-next %)` and nothing it logs, instead I have all the "chat.completion.chunk" events dumped at once after some time...
Did a test with malli + openai, which [works great](https://x.com/ikitommi/status/1821495690314326076). Tried to use your lib here, but the openapi definition is not up-to-date and coudn't use the `:response_format` key. If...
The events async channel does not ever get closed. Closing a channel is the best way to signal that a channel doesn't have any more info. Currently, the channel signals...
Thanks for this great library. I have been using it with OpenAI mostly but have need to use Azure soon. Is the trouble with getting your library working with Azure...