OpenAI Client Library v0.3.0 - Support for functions!

I just released support for functions! I really like how the implementation came out. I think it was largely to do with how expressive Crystal is. In Ruby I imagine that you’d need something like Dry Structs or some sort of metaprogramming. With the help of the json-schema shard, I was able to generate the json spec and it really simplified the arguments you need to pass.

Feedback appreciated!


Can I use this library with http proxy?

Third-party library http_proxy can be used without any modifications to It would be nice if the standard library would also support this.