Class: PromptHelper
A collection of helper functions for working with prompts.
Constructors
new PromptHelper()
new PromptHelper(
options
?):PromptHelper
Parameters
• options?: PromptHelperOptions
Returns
Defined in
packages/core/indices/dist/index.d.ts:30
Properties
chunkOverlapRatio
chunkOverlapRatio:
number
Defined in
packages/core/indices/dist/index.d.ts:26
chunkSizeLimit
chunkSizeLimit:
undefined
|number
Defined in
packages/core/indices/dist/index.d.ts:27
contextWindow
contextWindow:
number
Defined in
packages/core/indices/dist/index.d.ts:24
numOutput
numOutput:
number
Defined in
packages/core/indices/dist/index.d.ts:25
separator
separator:
string
Defined in
packages/core/indices/dist/index.d.ts:29
tokenizer
tokenizer:
Tokenizer
Defined in
packages/core/indices/dist/index.d.ts:28