Class: GlobalSettings
Implements
Config
Constructors
constructor
• new GlobalSettings(): GlobalSettings
Returns
Properties
_callbackManager
• Private
_callbackManager: null
| CallbackManager
= null
Defined in
packages/core/src/Settings.ts:34
_chunkOverlap
• Private
Optional
_chunkOverlap: number
Defined in
packages/core/src/Settings.ts:36
_chunkSize
• Private
Optional
_chunkSize: number
Defined in
packages/core/src/Settings.ts:35
_embedModel
• Private
_embedModel: null
| BaseEmbedding
= null
Defined in
packages/core/src/Settings.ts:32
_llm
• Private
_llm: null
| LLM
= null
Defined in
packages/core/src/Settings.ts:30
_nodeParser
• Private
_nodeParser: null
| NodeParser
= null
Defined in
packages/core/src/Settings.ts:33
_prompt
• Private
_prompt: PromptConfig
= {}
Defined in
packages/core/src/Settings.ts:29
_promptHelper
• Private
_promptHelper: null
| PromptHelper
= null
Defined in
packages/core/src/Settings.ts:31
Accessors
callbackManager
• get
callbackManager(): CallbackManager
Returns
Implementation of
Config.callbackManager
Defined in
packages/core/src/Settings.ts:89
• set
callbackManager(callbackManager
): void
Parameters
Name | Type |
---|---|
callbackManager | CallbackManager |
Returns
void
Implementation of
Config.callbackManager
Defined in
packages/core/src/Settings.ts:97
chunkOverlap
• get
chunkOverlap(): undefined
| number
Returns
undefined
| number
Implementation of
Config.chunkOverlap
Defined in
packages/core/src/Settings.ts:109
• set
chunkOverlap(chunkOverlap
): void
Parameters
Name | Type |
---|---|
chunkOverlap | undefined | number |
Returns
void
Implementation of
Config.chunkOverlap
Defined in
packages/core/src/Settings.ts:113
chunkSize
• get
chunkSize(): undefined
| number
Returns
undefined
| number
Implementation of
Config.chunkSize
Defined in
packages/core/src/Settings.ts:101
• set
chunkSize(chunkSize
): void
Parameters
Name | Type |
---|---|
chunkSize | undefined | number |
Returns
void