jamesrochabrun / SwiftAnthropic

An open-source Swift package for interacting with Anthropic's public API.
90 stars 29 forks source link

rudimentary function calls #4

Closed cameron closed 6 months ago

cameron commented 6 months ago

We're having intermittent issues with getting properly formatted JSON in our results, so figured I'd take a swing at this.

It's far from ideal or feature-complete, but I'd love input — I don't have a lot of experience with Swift, and expect there may be better ways!

Done:

TODO (before merging?):

jamesrochabrun commented 6 months ago

sorry the late response please check this new release https://github.com/jamesrochabrun/SwiftAnthropic/releases/tag/1.4

jamesrochabrun commented 6 months ago

@cameron Thanks for your contribution! I think you can use now the beta version of function calling.