Forest Admin - API reference
Preparing search index...
@forestadmin/ai-proxy
ProviderDispatcher
Class ProviderDispatcher
Index
Constructors
constructor
Methods
dispatch
Constructors
constructor
new
ProviderDispatcher
(
configuration
:
AiConfiguration
,
remoteTools
:
RemoteTools
,
)
:
ProviderDispatcher
Parameters
configuration
:
AiConfiguration
remoteTools
:
RemoteTools
Returns
ProviderDispatcher
Methods
dispatch
dispatch
(
body
:
{
messages
:
any
[]
;
parallel_tool_calls
?:
boolean
;
tool_choice
?:
any
;
tools
?:
any
[]
;
}
,
)
:
Promise
<
ChatCompletion
>
Parameters
body
:
{
messages
:
any
[]
;
parallel_tool_calls
?:
boolean
;
tool_choice
?:
any
;
tools
?:
any
[]
;
}
Returns
Promise
<
ChatCompletion
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
dispatch
Forest Admin - API reference
Loading...