Skip to content

DocumentInput

Properties

Property Type Description
chunkWords? number -
embeddings? number[][] -
id string -
metadata? any -
overlapWords? number -
sourceUri? string -
storeText? boolean -
text string -
titleWeight? number Counts the terms of the text's first line this many times in the first chunk's term frequencies and word count, as if the title were repeated; 1 or absent leaves the document exactly as before this option existed.
version? string -