Skip to content

Releases: imclerran/roc-ai

v0.7.0

08 Oct 17:52
74ded16
Compare
Choose a tag to compare

Headline Feature: Prompt Caching!

The big change for this version is the addition of prompt caching! This update requires one additional argument to be passed to the append message functions: appendUserMessage, appendSystemMessage, and appendAssistantMessage.

The new argument is a record containing an optional field cached, which defaults to false. Simply adding an empty record will suffice to migrate existing code.

What's Changed

Full Changelog: v0.6.1...v0.7.0

v0.6.1

27 Sep 19:14
6b2511b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.0...v0.6.1

v0.6.0

27 Sep 19:08
a43c45a
Compare
Choose a tag to compare

🚀 Prefabricated Tools are here! 🚀

The package now includes a collection of prefabricated tools to get started building tool enabled products quickly. This includes tools for searching Google, reading Wikipedia, or even interacting with WolframAlpha, just to name a few.

What's Changed

Full Changelog: v0.5.1...v0.6.0

v0.5.1

20 Sep 14:04
134a67e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.0...v0.5.1

v0.5.0

19 Sep 20:50
4f305ca
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.5.0

v0.4.0

19 Sep 19:00
2fd3cbe
Compare
Choose a tag to compare

What's Changed

  • Add tools to API by @imclerran in #6
    • This provides a way for the AI model to call functions on the users local machine, and use the results in its responses.

Full Changelog: v0.3.0...v0.4.0

v0.3.0

17 Sep 20:14
Compare
Choose a tag to compare
  • Remove backpassing
  • Update examples to latest version of basic-cli
  • Fix bugs in parsing inconsistent API responses (finish_reason sometimes missing)
  • Improved error handling of bad API responses

v0.2.3

17 May 14:35
cf8fbc6
Compare
Choose a tag to compare

What's Changed

  • decodeTop... functions now parse and return the ApiError response if possible by @imclerran in #3
  • update the route Fallback tag to UseFallback by @imclerran in #4

Full Changelog: v0.2.2...v0.2.3

v0.2.2

16 May 23:10
Compare
Choose a tag to compare

Full Changelog: v0.2.1...v0.2.2

v0.2.1

16 May 21:19
Compare
Choose a tag to compare

Added new decode functions to both Chat and Prompt modules:

  • Chat.decodeChoiceToFirstMessage
  • Prompt.decodeChoiceToFirstText

These will streamline the decoding process so application code does not need to nest when blocks.

Full Changelog: v0.2.0...v0.2.1