Skip to content

@sqlrooms/ai-config / createDefaultAiConfig

Function: createDefaultAiConfig()

createDefaultAiConfig(props?): object

Parameters

ParameterType
props?Partial<{ sessions: object[]; currentSessionId?: string; openSessionTabs?: string[]; }>

Returns

NameTypeDescription
sessionsobject[]-
currentSessionId?string-
openSessionTabs?string[]IDs of sessions that are open as tabs