֍
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
andBox
- 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 newmodel
parameter for switching betweenMistral7BInstruct
andLlama3Instruct8B
.- Removed
GenerateTextVision
– callGenerateText
(opens in a new tab) with the optionalimage_uris
parameter instead. - Added
system_prompt
,frequency_penalty
,repetition_penalty
,presence_penalty
, andtop_p
to:Mistral7BInstruct
Mixtral8x7BInstruct
Llama3Instruct8B
Llama3Instruct70B
- Renamed
CreateVectorStore
toFindOrCreateVectorStore
- Renamed
GenerativeEditImage
toInpaintImage
- Renamed
MultiGenerativeEditImage
toMultiInpaintImage
- Renamed
FillMask
toEraseImage
- Renamed
TranscribeMedia
toTranscribeSpeech
- Renamed the
node
parameter tomodel
in:GenerateText
,MultiGenerateText
,BatchGenerateText
GenerateJSON
,MultiGenerateJSON
,BatchGenerateJSON