AxPromptTemplate
Class: AxPromptTemplate
Constructors
new AxPromptTemplate()
new AxPromptTemplate(
sig
,fieldTemplates
?):AxPromptTemplate
Parameters
• sig: Readonly
<AxSignature
>
• fieldTemplates?: Record
<string
, AxFieldTemplateFn
>
Returns
Defined in
Methods
render()
render<
T
>(values
,__namedParameters
):Readonly
<object
|object
|object
|object
>[]
Type Parameters
• T extends Record
<string
, AxFieldValue
>
Parameters
• values: T
• __namedParameters: Readonly
<object
>
Returns
Readonly
<object
| object
| object
| object
>[]
Defined in
renderExtraFields()
renderExtraFields(
extraFields
):string
| (object
|object
)[]
Parameters
• extraFields: readonly AxIField
[]
Returns
string
| (object
| object
)[]