Skip to content

Class: EmptyChatPromptWrapper

Extends

Constructors

new EmptyChatPromptWrapper()

ts
new EmptyChatPromptWrapper(): EmptyChatPromptWrapper
new EmptyChatPromptWrapper(): EmptyChatPromptWrapper

Inherited from

ChatPromptWrapper.constructor

Properties

wrapperName

ts
readonly wrapperName: string = "Empty";
readonly wrapperName: string = "Empty";

Overrides

ChatPromptWrapper.wrapperName

Source

chatWrappers/EmptyChatPromptWrapper.ts:4

Methods

getDefaultStopString()

ts
getDefaultStopString(): string
getDefaultStopString(): string

Inherited from

ChatPromptWrapper.getDefaultStopString

Source

ChatPromptWrapper.ts:18


getStopStrings()

ts
getStopStrings(): string[]
getStopStrings(): string[]

Inherited from

ChatPromptWrapper.getStopStrings

Source

ChatPromptWrapper.ts:14


wrapPrompt()

ts
wrapPrompt(prompt, __namedParameters): string
wrapPrompt(prompt, __namedParameters): string

Parameters

ParameterType
promptstring
__namedParameters{ lastStopString: null | string; lastStopStringSuffix: null | string; promptIndex: number; systemPrompt: string; }
__namedParameters.lastStopStringnull | string
__namedParameters.lastStopStringSuffixnull | string
__namedParameters.promptIndexnumber
__namedParameters.systemPromptstring

Inherited from

ChatPromptWrapper.wrapPrompt

Source

ChatPromptWrapper.ts:4