langchain.js
Preparing search index...
@langchain/community
stores/doc/base
Docstore
Class Docstore
Abstract
Abstract class for a document store. All document stores should extend this class.
Index
Constructors
constructor
Methods
add
search
Constructors
constructor
new
Docstore
()
:
Docstore
Returns
Docstore
Methods
Abstract
add
add
(
texts
:
Record
<
string
,
BaseDynamicToolInput
>
)
:
Promise
<
void
>
Parameters
texts
:
Record
<
string
,
BaseDynamicToolInput
>
Returns
Promise
<
void
>
Abstract
search
search
(
search
:
string
)
:
Promise
<
Document
>
Parameters
search
:
string
Returns
Promise
<
Document
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
search
langchain.js
Loading...
Abstract class for a document store. All document stores should extend this class.