construct Couchbase document loader with a requirement for couchbase cluster client
{ Cluster } [ couchbase connected client to connect to database ]
{ string } [ query to get results from while loading the data ]
Optional
pageContentFields: string[]{ Array
Optional
metadataFields: string[]{ Array
Optional
splitter: BaseDocumentTransformer<DocumentInterface<Record<string, any>>[], DocumentInterface<Record<string, any>>[]>A Promise that resolves with an array of Document instances, each split according to the provided TextSplitter.
loader for couchbase document