Semantic Kernel JavaScript
Preparing search index...
semantic-kernel
AIFunction
Class AIFunction<ReturnType, Schema, Args>
Abstract
Type Parameters
ReturnType
=
unknown
Schema
extends
JsonSchema
=
typeof
DefaultJsonSchema
Args
=
FromSchema
<
Schema
>
Hierarchy (
View Summary
)
AITool
AIFunction
Index
Constructors
constructor
Properties
additional
Properties
description
name
schema
Methods
invoke
invoke
Core
Constructors
Protected
constructor
new
AIFunction
<
ReturnType
=
unknown
,
Schema
extends
JsonSchema
=
{}
,
Args
=
FromSchema
<
Schema
>
,
>
()
:
AIFunction
<
ReturnType
,
Schema
,
Args
>
Type Parameters
ReturnType
=
unknown
Schema
extends
JsonSchema
=
{}
Args
=
FromSchema
<
Schema
>
Returns
AIFunction
<
ReturnType
,
Schema
,
Args
>
Properties
additional
Properties
additionalProperties
:
AdditionalProperties
description
description
:
string
name
name
:
string
schema
schema
:
undefined
|
Schema
Methods
invoke
invoke
(
args
?:
AIFunctionArguments
<
Schema
,
Args
>
)
:
Promise
<
ReturnType
>
Parameters
Optional
args
:
AIFunctionArguments
<
Schema
,
Args
>
Returns
Promise
<
ReturnType
>
Protected
Abstract
invoke
Core
invokeCore
(
args
?:
AIFunctionArguments
<
Schema
,
Args
>
)
:
Promise
<
ReturnType
>
Parameters
Optional
args
:
AIFunctionArguments
<
Schema
,
Args
>
Returns
Promise
<
ReturnType
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
additional
Properties
description
name
schema
Methods
invoke
invoke
Core
Semantic Kernel JavaScript
Loading...