v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.13
LangChain.js
langchain-core/callbacks/manager
BaseRunManager
Class BaseRunManager
Base class for run manager in LangChain.
Hierarchy (
view full
)
BaseRunManager
CallbackManagerForRetrieverRun
CallbackManagerForLLMRun
CallbackManagerForChainRun
CallbackManagerForToolRun
Index
Constructors
constructor
Properties
handlers
run
Id
inheritable
Handlers
inheritable
Metadata
inheritable
Tags
metadata
tags
Accessors
parent
Run
Id
Methods
handle
Custom
Event
handle
Text
Constructors
constructor
new
Base
Run
Manager
(
runId
,
handlers
,
inheritableHandlers
,
tags
,
inheritableTags
,
metadata
,
inheritableMetadata
,
_parentRunId
?
)
:
BaseRunManager
Parameters
runId
:
string
handlers
:
BaseCallbackHandler
[]
inheritableHandlers
:
BaseCallbackHandler
[]
tags
:
string
[]
inheritableTags
:
string
[]
metadata
:
Record
<
string
,
unknown
>
inheritableMetadata
:
Record
<
string
,
unknown
>
Optional
_parentRunId
:
string
Returns
BaseRunManager
Properties
Readonly
handlers
handlers
:
BaseCallbackHandler
[]
Readonly
run
Id
run
Id
:
string
Protected
Readonly
inheritable
Handlers
inheritable
Handlers
:
BaseCallbackHandler
[]
Protected
Readonly
inheritable
Metadata
inheritable
Metadata
:
Record
<
string
,
unknown
>
Protected
Readonly
inheritable
Tags
inheritable
Tags
:
string
[]
Protected
Readonly
metadata
metadata
:
Record
<
string
,
unknown
>
Protected
Readonly
tags
tags
:
string
[]
Accessors
parent
Run
Id
get
parentRunId
(
)
:
undefined
|
string
Returns
undefined
|
string
Methods
handle
Custom
Event
handle
Custom
Event
(
eventName
,
data
,
_runId
?
,
_tags
?
,
_metadata
?
)
:
Promise
<
void
>
Parameters
eventName
:
string
data
:
any
Optional
_runId
:
string
Optional
_tags
:
string
[]
Optional
_metadata
:
Record
<
string
,
any
>
Returns
Promise
<
void
>
handle
Text
handle
Text
(
text
)
:
Promise
<
void
>
Parameters
text
:
string
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
handlers
run
Id
inheritable
Handlers
inheritable
Metadata
inheritable
Tags
metadata
tags
Accessors
parent
Run
Id
Methods
handle
Custom
Event
handle
Text
LangChain.js - v0.2.13
Loading...
"
"
Base class for run manager in LangChain.