News for hackers. Stuff that matters.
Re:Ollama releases OpenAI API compatibility by athyuttamre on Friday February 09, 2024 @05:55AM (#39313561)
Hey swyx — I work at OpenAI on our API. Sorry the change was surprising, we definitely didn't do a great job communicating it.

To confirm, the `functions` parameter will continue to be supported.

We renamed `functions` to `tools` to better align with the naming across our products (Assistants, ChatGPT), where we support other tools like `code_interpreter` and `retrieval` in addition to `function`s.

If you have any other feedback for us, please feel free to email me at [email protected]. Thanks!

Re:Ollama releases OpenAI API compatibility by londons_explore on Friday February 09, 2024 @06:03AM (#39313613)
Might be a good idea to have API versions for this... Then when someone builds a product against "version 1", they can be sure that new features might be added to version 1, but no fields will be removed/renamed without openai releasing version 2.