Releases: imclerran/roc-ai
v0.7.0
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
- Code cleanup by @imclerran in #22
- Fixed module exports in main.roc by @imclerran in #23
- Add Roc tool by @imclerran in #24
- Add support for prompt caching by @imclerran in #25
- Improvements to tool description for rocStart tool. by @imclerran in #26
Full Changelog: v0.6.1...v0.7.0
v0.6.1
What's Changed
- Renamed Time module in Toolkit to UtcTime by @imclerran in #19
Full Changelog: v0.6.0...v0.6.1
v0.6.0
🚀 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
- Add prefabricated tools (Toolkit) by @imclerran in #18
Full Changelog: v0.5.1...v0.6.0
v0.5.1
What's Changed
- Add dispatchToolCalls to exposed Tools API by @imclerran in #10
- Update tools example by @imclerran in #11
- Rename callTools to handleToolCalls by @imclerran in #13
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
- Roc format by @imclerran in #7
- Additional abstraction to the tools API by @imclerran in #8
- Streamlined the tools example by @imclerran in #9
Full Changelog: v0.4.0...v0.5.0
v0.4.0
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
v0.2.3
What's Changed
decodeTop...
functions now parse and return the ApiError response if possible by @imclerran in #3- update the route
Fallback
tag toUseFallback
by @imclerran in #4
Full Changelog: v0.2.2...v0.2.3
v0.2.2
Full Changelog: v0.2.1...v0.2.2
v0.2.1
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