ex_openai icon indicating copy to clipboard operation
ex_openai copied to clipboard

Auto-generated Elixir SDK for OpenAI APIs with full typespecs, docs and streaming support

Results 7 ex_openai issues
Sort by recently updated
recently updated
newest added

https://github.com/openai/openai-openapi/blob/master/openapi.yaml ``` == Compilation error in file lib/ex_openai.ex == ** (FunctionClauseError) no function clause matching in ExOpenAI.Codegen.parse_component_schema/1 The following arguments were given to ExOpenAI.Codegen.parse_component_schema/1: # 1 %{"oneOf" => [%{"$ref" =>...

I'm getting this dialyzer error: ``` The function call will not succeed. ExOpenAI.Chat.create_chat_completion( _messages :: [%{:content => _, :role => :user}, ...], , _opts :: [{:max_tokens, _} | {:temperature, 0},...

Hello :wave: and thank you for this neat library. I ran into the issue below: ```elixir ExOpenAI.Files.create_file({"Test Document.pdf", testfile}, "assistants", openai_api_key: api_key) {:error, %{ "error" => %{ "code" => nil,...

Currently multiple companies provide OpenAI API compatible endpoints. At the moment my observation is that the library can only be used with OpenAI due to how configuration works. Are there...

It looks like OpenAI is now publishing new specs at version 3.1.0, which use a lot of "const" and other things. This library will need updated to support the latest....

Hey @dvcrn thanks for the great lib :). I'm encountering an issue when using a function call in `create_chat_completion` in `tools`. The `ExOpenAI.Components.FunctionParameters` struct doesn't expect any keys, so it...

OpenRouter specifies reasoning like this: https://openrouter.ai/docs/use-cases/reasoning-tokens ``` { "model": "your-model", "messages": [], "reasoning": { // One of the following (not both): "effort": "high", // Can be "high", "medium", or "low"...