Semantic Kernel JavaScript
Preparing search index...
semantic-kernel
AIFunctionFactory
Class AIFunctionFactory
Index
Constructors
constructor
Methods
create
Constructors
constructor
new
AIFunctionFactory
()
:
AIFunctionFactory
Returns
AIFunctionFactory
Methods
Static
create
create
<
ReturnType
,
Schema
extends
JsonSchema
=
{}
,
Args
=
FromSchema
<
Schema
>
>
(
delegate
:
(
args
:
Args
)
=>
ReturnType
|
Promise
<
ReturnType
>
,
metadata
?:
{
description
?:
string
;
name
?:
string
;
schema
?:
Schema
}
,
)
:
AIFunction
<
ReturnType
,
Schema
,
Args
>
Type Parameters
ReturnType
Schema
extends
JsonSchema
=
{}
Args
=
FromSchema
<
Schema
>
Parameters
delegate
:
(
args
:
Args
)
=>
ReturnType
|
Promise
<
ReturnType
>
Optional
metadata
:
{
description
?:
string
;
name
?:
string
;
schema
?:
Schema
}
Returns
AIFunction
<
ReturnType
,
Schema
,
Args
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
Semantic Kernel JavaScript
Loading...