is_model_vocabulary 0.3.0
is_model_vocabulary: ^0.3.0 copied to clipboard
The words a call to a language model is described in: the tools it is offered, the calls it proposes, the turns of the conversation, what it replies, and why it stopped. No provider's JSON, and no dart:io.
Changelog #
0.3.0 #
- Breaking: on
checked_json^0.3.0.ToolInput.parse,ProviderContinuation.parseandModelRequest.decoderefuse text that names a key twice in one object, or has an integer past 2^53 - 1, where they used to keep the last value without a word.
0.2.0 #
- The tools vocabulary of
https://github.com/intersyntactic/effects/issues/30:
ToolCallId,CalledToolName(WellFormedName,IllFormedName),ToolInput,ProviderContinuation,ToolCall,ToolResult(ToolRan,ToolFailed,ToolRefused),ModelTurn(UserSaid,AgentSaid,AgentCalledTools,ToolAnswered) andModelRequest, therequesttext a model call carries. ModelReplyandModelUsagemove here fromis_effects, which re-exports them, andModelReplygainsProposedToolCalls. The replies that existed keep their exact JSON.ProposedToolCallsnests underproposedToolCallswith notextbeside it, so a reader built before it existed refuses it instead of reading it as a finished reply.
0.1.0 #
ToolName, a name a tool is offered under, made only byparse.OfferedTool: a tool as the model is shown it, withtoJsonand a strictfromJson.Effort,ModelEffortsandStopReason.