Class: EmptyChatPromptWrapper
Extends
Constructors
new EmptyChatPromptWrapper()
ts
new EmptyChatPromptWrapper(): EmptyChatPromptWrapper
new EmptyChatPromptWrapper(): EmptyChatPromptWrapper
Inherited from
Properties
wrapperName
ts
readonly wrapperName: string = "Empty";
readonly wrapperName: string = "Empty";
Overrides
Source
chatWrappers/EmptyChatPromptWrapper.ts:4
Methods
getDefaultStopString()
ts
getDefaultStopString(): string
getDefaultStopString(): string
Inherited from
ChatPromptWrapper
.getDefaultStopString
Source
getStopStrings()
ts
getStopStrings(): string[]
getStopStrings(): string[]
Inherited from
ChatPromptWrapper
.getStopStrings
Source
wrapPrompt()
ts
wrapPrompt(prompt, __namedParameters): string
wrapPrompt(prompt, __namedParameters): string
Parameters
Parameter | Type |
---|---|
prompt | string |
__namedParameters | { lastStopString : null | string ; lastStopStringSuffix : null | string ; promptIndex : number ; systemPrompt : string ; } |
__namedParameters.lastStopString | null | string |
__namedParameters.lastStopStringSuffix | null | string |
__namedParameters.promptIndex | number |
__namedParameters.systemPrompt | string |