mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/module-memory
@mlx-bun/module-memory/model
createMemoryCalls
Function createMemoryCalls
createMemoryCalls
(
client
:
MemoryCompletionClient
,
)
:
{
callLocal
(
stage
:
string
,
input
:
LocalInput
,
opts
?:
{
maxTokens
?:
number
}
,
)
:
Promise
<
string
>
;
callLocalBatch
(
stage
:
string
,
inputs
:
LocalInput
[]
,
opts
?:
{
maxTokens
?:
number
}
,
)
:
Promise
<
string
[]
>
;
}
One configured client per pipeline. Importing this module does not load MLX.
Parameters
client
:
MemoryCompletionClient
Returns
{
callLocal
(
stage
:
string
,
input
:
LocalInput
,
opts
?:
{
maxTokens
?:
number
}
,
)
:
Promise
<
string
>
;
callLocalBatch
(
stage
:
string
,
inputs
:
LocalInput
[]
,
opts
?:
{
maxTokens
?:
number
}
,
)
:
Promise
<
string
[]
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
mlx-bun library API
Loading...
One configured client per pipeline. Importing this module does not load MLX.