v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.15
LangChain.js
langchain/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
)
:
Promise
<
void
>
Parameters
texts
:
Record
<
string
,
Document
>
Returns
Promise
<
void
>
Abstract
search
search
(
search
)
:
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 - v0.2.15
Loading...
Abstract class for a document store. All document stores should extend this class.