AxRouter
Class: AxRouter
Constructors
new AxRouter()
new AxRouter(
ai
):AxRouter
Parameters
• ai: AxAIService
Returns
Defined in
Methods
forward()
forward(
text
,options
?):Promise
<string
>
Parameters
• text: string
• options?: Readonly
<AxRouterForwardOptions
>
Returns
Promise
<string
>
Defined in
getState()
getState():
undefined
|AxDBState
Returns
undefined
| AxDBState
Defined in
setOptions()
setOptions(
options
):void
Parameters
• options: Readonly
<object
>
Returns
void
Defined in
setRoutes()
setRoutes(
routes
):Promise
<void
>
Parameters
• routes: readonly AxRoute
[]
Returns
Promise
<void
>
Defined in
setState()
setState(
state
):void
Parameters
• state: AxDBState
Returns
void