v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.7
LangChain.js
langchain-core/documents
Document
Class Document<Metadata>
Interface for interacting with a document.
Type Parameters
Metadata
extends
Record
<
string
,
any
>
=
Record
<
string
,
any
>
Implements
DocumentInput
DocumentInterface
Index
Constructors
constructor
Properties
metadata
page
Content
Constructors
constructor
new
Document
<
Metadata
>
(
fields
)
:
Document
<
Metadata
>
Type Parameters
Metadata
extends
Record
<
string
,
any
>
=
Record
<
string
,
any
>
Parameters
fields
:
DocumentInput
<
Metadata
>
Returns
Document
<
Metadata
>
Properties
metadata
metadata
:
Metadata
page
Content
page
Content
:
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
constructor
metadata
page
Content
LangChain.js - v0.2.7
langchain-anthropic
langchain-azure-dynamic-sessions
langchain-azure-openai
langchain-cloudflare
langchain-cohere
langchain-community
agents/toolkits
aws_sfn
base
connery
caches
cloudflare_kv
ioredis
momento
upstash_redis
callbacks/handlers
llmonitor
lunary
upstash_ratelimit
chains/graph_qa/cypher
chat_models
Loading...
Generated using
TypeDoc
Interface for interacting with a document.