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
):string
| (object
|object
)[]
Type Parameters
• T extends Record
<string
, AxFieldValue
>
Parameters
• values: T
• __namedParameters: Readonly
<object
>
Returns
string
| (object
| object
)[]
Defined in
renderExtraFields()
renderExtraFields(
extraFields
):string
| (object
|object
)[]
Parameters
• extraFields: readonly AxIField
[]
Returns
string
| (object
| object
)[]