Skip to content

@sqlrooms/ai-core / splitTextAroundHoists

Function: splitTextAroundHoists() ​

splitTextAroundHoists(model): object

Split text around the first hoist-producing call for chronological recipes. When nothing is hoistable, all text stays in responseText.

Parameters ​

ParameterType
modelChatTurnModel

Returns ​

object

NameType
responseTextChatTurnTextItem[]
summaryTextChatTurnTextItem[]