mistralai / client-ts

TS Client library for Mistral AI platform
Apache License 2.0
30 stars 10 forks source link

Function calling #37

Open mrddter opened 1 month ago

mrddter commented 1 month ago

Hi all, can someone provide an example of a simple tool function call?

The current example provided doesn't work, even after adjusting the code. It returns various errors, including that you must pass either messages or tools to the assistant, but not both. Passing only one of them doesn't work either.

Any ideas? Thanks!! ❤️