Changelog
֍
All additions and updates to the Substrate API, in reverse-chronological order.

Your API and SDK version controls the API behavior you see. Upgrade to the latest SDK version for new nodes and the latest functionality.

June 20, 2024

  • Added If and Box
  • Renamed GenerateText -> ComputeText
  • Renamed MultiGenerateText -> MultiComputeText
  • Renamed BatchGenerateText -> BatchComputeText
  • Renamed GenerateJSON -> ComputeJSON
  • Renamed MultiGenerateJSON -> MultiComputeJSON
  • Renamed BatchGenerateJSON -> BatchComputeJSON

June 12, 2024

PyPI 220240612.0.0 (opens in a new tab) | npm 120240612.0.0 (opens in a new tab)

  • The TypeScript SDK now supports streaming (opens in a new tab). Streaming support in the Python SDK is coming soon.
  • RunPython (opens in a new tab) is generally available in the Python SDK. Use it to run your own locally-defined functions in a remote sandbox. There is no equivalent in the TypeScript SDK, but it is on our roadmap.
  • BatchGenerateJSON (opens in a new tab) has a new model parameter for switching between Mistral7BInstruct and Llama3Instruct8B.
  • Removed GenerateTextVision – call GenerateText (opens in a new tab) with the optional image_uris parameter instead.
  • Added system_prompt, frequency_penalty, repetition_penalty, presence_penalty, and top_p to:
    • Mistral7BInstruct
    • Mixtral8x7BInstruct
    • Llama3Instruct8B
    • Llama3Instruct70B
  • Renamed CreateVectorStore to FindOrCreateVectorStore
  • Renamed GenerativeEditImage to InpaintImage
  • Renamed MultiGenerativeEditImage to MultiInpaintImage
  • Renamed FillMask to EraseImage
  • Renamed TranscribeMedia to TranscribeSpeech
  • Renamed the node parameter to model in:
    • GenerateText, MultiGenerateText, BatchGenerateText
    • GenerateJSON, MultiGenerateJSON, BatchGenerateJSON