Skip to content

Home > llm-ops > TypeScriptChain > createRequestPrompt

TypeScriptChain.createRequestPrompt() method ​

Signature:

typescript
createRequestPrompt(validator: TypeChatJsonValidator<any>): messageType;
createRequestPrompt(validator: TypeChatJsonValidator<any>): messageType;

Parameters ​

ParameterTypeDescription
validatorTypeChatJsonValidator<any>

Returns:

messageType

Released under the MIT License.