Skip to content

Rivet Libraries v1.13.0

Compare
Choose a tag to compare
@abrenneke abrenneke released this 14 Nov 23:23
· 402 commits to main since this release

New Features

  • Support for new OpenAI GPT-4 Turbo model!
  • Support for new OpenAI GPT-4 Vision model!
  • Full support for new OpenAI Assistants API! Use the new OpenAI plugin.
  • Switched from deprecated OpenAI function calling API to new OpenAI Tools API. Existing graphs may break because the new API requires a tool_id to be passed for function call responses.
  • New Nodes:
    • Assemble Message - Used with GPT-4 Vision, this allows you to assemble a single chat message that contains both textual parts and image parts!
    • URL Reference - Used with GPT-4 Vision and the Assemble Message node, this allows you to reference a URL image instead of uploading an image.
    • Destructure - A simplified version of the Extract Object Path node, this allows you to extract multiple paths from an object at once, avoiding the need for multiple Extract Object Path nodes.
    • Replace Dataset - Replace the contents of a dataset with new values, or clear a dataset when no values are passed in.
  • Support for new OpenAI seed parameter
  • Support for forcing a Chat node to run a specific tool (OpenAI)
  • Support for OpenAI JSON output mode
  • If/Else and If node now outputs control-flow-excluded for unconnected ports by default, instead of undefined. Existing If/Else and If nodes still will have the old behavior.
  • Read File node can now read files as binary, instead of only text.
  • Remote debugger can pass context values in dynamicGraphRun

Changes & Fixes

  • Fix loop controller infinite looping
  • Loop controller node now allows non-default input ports to be "Not Ran". This will pass through to the output ports. If any "Default" input port is excluded, then the whole loop controller will not run.
  • Fix ghost opened projects
  • Code node now defaults to input1 and output instead of input and output
  • Fixed node port types being incorrect
  • Code now will error if it doesn't return the values it expects
  • Fixed Extract Object Path erroring when the input value is undefined or null
  • Arrays are now inferred correctly, such as with Trivet test inputs
  • (internal) getTokenCountForMessages is now async
  • ChatMessage is now a union of SystemChatMessage, UserChatMessage, AssistantChatMessage, and FunctionResponseChatMessage
  • The message of a chat message is now a ChatMessagePart | ChatMessagePart[] to support images in chat messages.
  • Text editors can now have placeholders and max length
  • Added file path browser editor definition
  • nodeExcluded event now includes inputs, outputs, and reason
  • Loop controller node now consumes control-flow-excluded