Skip to content

Releases: mochi-neko/clust

v0.9.0

30 Jun 03:46
Compare
Choose a tag to compare

Added

  • Add the Claude 3.5 Sonnet model: claude-3-5-sonnet-20240307. <- (#4)
  • Add the tool use support.
  • Add a tool use example.

Removed

  • Remove old function calling API.

v0.8.0

04 Apr 07:18
Compare
Choose a tag to compare

Added

  • Add builder pattern for clust::messages::MessagesRequestBody: clust::messages::MessagesRequestBodyBuilder.
  • Add clust::attributes for attribute macros.

Changed

  • Rename builder methods of clust::ClientBuilder.

v0.7.0

03 Apr 06:28
Compare
Choose a tag to compare

Added

  • Support function calling.
  • Add the attribute macro clust::clust_macros::clust_tool to use function calling easily via clust::messages::Tool
    or clust::messages::AsyncTool.

Changed

  • Remove type aliases for std::result::Result and explicitly specify generics.

v0.6.0

24 Mar 00:25
Compare
Choose a tag to compare

Added

  • Add text flattening method for Content: Content::flatten_into_text(). <- (#1)
  • Add image source flattening method for Content: Content::flatten_into_image_source().
  • Add assistant message creation method for MessagesResponseBody: MessagesResponseBody::create_message().
  • Add builder pattern for Client: ClientBuilder.
  • Add an example to create a message with vision.
  • Add an example to converse with the assistant.

Changed

  • Rename StreamChunk to MessageChunk.
  • Rename Content::MultipleBlock to Content::MultipleBlocks.
  • Improve initialization and conversion methods for Content and Message.

Fixed

  • Fix default value of the role field in the MessagesResponseBody from Role::user to Role::assistant.

v.0.5.0

18 Mar 08:06
Compare
Choose a tag to compare

Changed

  • Improve crate dependencies.

Removed

  • Abolish the feature flag: tokio_stream.

v0.4.0

15 Mar 07:38
Compare
Choose a tag to compare

Added

  • Support streaming API with tokio backend by optional.

v0.3.0

14 Mar 03:37
Compare
Choose a tag to compare

Added

  • Add the Claude 3 Haiku model: claude-3-haiku-20240307.

v0.2.0

13 Mar 08:04
Compare
Choose a tag to compare

Added

  • Add the Streaming Messages API.

Changed

  • Improve type annotation of the type field in the MessagesRespponseBody.

v0.1.0

12 Mar 05:05
Compare
Choose a tag to compare

First release.

Added

  • Add the Create a Message API.