v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.8
LangChain.js
langchain-core/callbacks/manager
CallbackManagerForRetrieverRun
Class CallbackManagerForRetrieverRun
Manages callbacks for retriever runs.
Hierarchy
BaseRunManager
CallbackManagerForRetrieverRun
Implements
BaseCallbackManagerMethods
Index
Constructors
constructor
Properties
handlers
run
Id
inheritable
Handlers
inheritable
Metadata
inheritable
Tags
metadata
tags
Methods
get
Child
handle
Retriever
End
handle
Retriever
Error
handle
Text
Constructors
constructor
new
Callback
Manager
For
Retriever
Run
(
runId
,
handlers
,
inheritableHandlers
,
tags
,
inheritableTags
,
metadata
,
inheritableMetadata
,
_parentRunId
?
)
:
CallbackManagerForRetrieverRun
Parameters
runId
:
string
handlers
:
BaseCallbackHandler
[]
inheritableHandlers
:
BaseCallbackHandler
[]
tags
:
string
[]
inheritableTags
:
string
[]
metadata
:
Record
<
string
,
unknown
>
inheritableMetadata
:
Record
<
string
,
unknown
>
Optional
_parentRunId
:
string
Returns
CallbackManagerForRetrieverRun
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
[]
Methods
get
Child
get
Child
(
tag
?
)
:
CallbackManager
Parameters
Optional
tag
:
string
Returns
CallbackManager
handle
Retriever
End
handle
Retriever
End
(
documents
)
:
Promise
<
void
>
Parameters
documents
:
DocumentInterface
<
Record
<
string
,
any
>
>
[]
Returns
Promise
<
void
>
handle
Retriever
Error
handle
Retriever
Error
(
err
)
:
Promise
<
void
>
Parameters
err
:
unknown
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
Methods
get
Child
handle
Retriever
End
handle
Retriever
Error
handle
Text
LangChain.js - v0.2.8
Loading...
Manages callbacks for retriever runs.