fromTemplate<
RunInput extends InputValues = Symbol,
T extends string = string
>(
template: T,
role: string,
options: __type
): ChatMessagePromptTemplate<ExtractedFStringParams<T, RunInput>>| Name | Type | Description |
|---|---|---|
template* | T | |
role* | string | |
options | __type |