Skip to content

Releases: ivangabriele/mistralai-client-rs

v0.14.0

27 Aug 07:30
9ad6a1d
Compare
Choose a tag to compare

0.14.0 (2024-08-27)

Features

  • constants: update model constants (#17) (161b33c)

v0.13.0

21 Aug 23:16
79a410b
Compare
Choose a tag to compare

0.13.0 (2024-08-21)

⚠ BREAKING CHANGES

  • client: v1::model_list::ModelListData struct has been updated.

Bug Fixes

  • client: remove the Content-Type from the headers of the reqwest builders. (#14) (9bfbf2e), closes #13
  • client: update ModelListData struct following API changes (2114916)

v0.12.0

24 Jul 18:24
67aa5bb
Compare
Choose a tag to compare

0.12.0 (2024-07-24)

Features

v0.11.0

22 Jun 12:06
0c097aa
Compare
Choose a tag to compare

0.11.0 (2024-06-22)

Features

  • constants: add OpenMixtral8x22b, MistralTiny & CodestralLatest to Model enum (ecd0c30)

Bug Fixes

  • chat: implement Clone trait for ChatParams & ResponseFormat (0df67b1)

v0.10.0

07 Jun 14:56
f7d012b
Compare
Choose a tag to compare

0.10.0 (2024-06-07)

⚠ BREAKING CHANGES

  • chat: - Chat::ChatParams.safe_prompt & Chat::ChatRequest.safe_prompt are now bool instead of Option<bool>. Default is false.
  • Chat::ChatParams.temperature & Chat::ChatRequest.temperature are now f32 instead of Option<f32>. Default is 0.7.
  • Chat::ChatParams.top_p & Chat::ChatRequest.top_p are now f32 instead of Option<f32>. Default is 1.0.

v0.9.0

13 Apr 12:11
7a5e067
Compare
Choose a tag to compare

0.9.0 (2024-04-13)

⚠ BREAKING CHANGES

  • Model.OpenMistral8x7b has been renamed to Model.OpenMixtral8x7b.

v0.8.0

09 Mar 10:53
8bee874
Compare
Choose a tag to compare

0.8.0 (2024-03-09)

⚠ BREAKING CHANGES

  • Too many to count in this version. Check the README examples.

Features

  • add function calling support to client.chat() & client.chat_async() (74bf8a9)

v0.7.0

05 Mar 01:50
9430d42
Compare
Choose a tag to compare

0.7.0 (2024-03-05)

⚠ BREAKING CHANGES

  • Rename ClientError.ApiKeyError to MissingApiKey.
  • Rename ClientError.ReadResponseTextError to ClientError.UnreadableResponseText.

Bug Fixes

  • fix failure when api key as param and not env (ef5d475)

v0.6.0

04 Mar 07:21
5217fcf
Compare
Choose a tag to compare

0.6.0 (2024-03-04)

⚠ BREAKING CHANGES

  • You can't set the stream option for client.chat*().

Either use client.chat_stream() if you want to use streams
or use client.chat() / client.chat_async() otherwise.

Features

  • add client.chat_stream() method (4a4219d)

v0.5.0

04 Mar 07:19
7c96a4a
Compare
Choose a tag to compare

0.5.0 (2024-03-04)

Features

  • add client.embeddings_async() method (3c22891)
  • add client.list_models_async() method (b69f7c6)