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
Implementation of
Config.chunkSize
Defined in
packages/core/src/Settings.ts:105
embedModel
• get
embedModel(): BaseEmbedding
Returns
Implementation of
Config.embedModel
Defined in
packages/core/src/Settings.ts:62
• set
embedModel(embedModel
): void
Parameters
Name | Type |
---|---|
embedModel | BaseEmbedding |
Returns
void
Implementation of
Config.embedModel
Defined in
packages/core/src/Settings.ts:70
llm
• get
llm(): LLM
Returns
Implementation of
Config.llm
Defined in
packages/core/src/Settings.ts:38
• set
llm(llm
): void
Parameters
Name | Type |
---|---|
llm | LLM |
Returns
void
Implementation of
Config.llm
Defined in
packages/core/src/Settings.ts:46
nodeParser
• get
nodeParser(): NodeParser
Returns
Implementation of
Config.nodeParser
Defined in
packages/core/src/Settings.ts:74
• set
nodeParser(nodeParser
): void
Parameters
Name | Type |
---|---|
nodeParser | NodeParser |
Returns
void
Implementation of
Config.nodeParser
Defined in
packages/core/src/Settings.ts:85
prompt
• get
prompt(): PromptConfig
Returns
PromptConfig
Implementation of
Config.prompt
Defined in
packages/core/src/Settings.ts:117
• set
prompt(prompt
): void
Parameters
Name | Type |
---|---|
prompt | PromptConfig |
Returns
void
Implementation of
Config.prompt
Defined in
packages/core/src/Settings.ts:121
promptHelper
• get
promptHelper(): PromptHelper
Returns
Implementation of
Config.promptHelper
Defined in
packages/core/src/Settings.ts:50
• set
promptHelper(promptHelper
): void
Parameters
Name | Type |
---|---|
promptHelper | PromptHelper |
Returns
void
Implementation of
Config.promptHelper