@sqlrooms/ai / createAiSlice
Function: createAiSlice()
createAiSlice<
TTools>(params):StateCreator<AiSliceState>
Type Parameters
| Type Parameter | Default type |
|---|---|
TTools extends ToolSet | ToolSet |
Parameters
| Parameter | Type |
|---|---|
params | AiSliceOptions<TTools> |
Returns
StateCreator<AiSliceState>
