Ask a question to get started
Enter to send•Shift+Enter new line
Create a list of Document objects from a list of texts.
Document
create_documents( self, texts: list[str], metadatas: list[dict[Any, Any]] | None = None ) -> list[Document]
texts
list[str]
A list of texts to be split and converted into documents.
metadatas
list[dict[Any, Any]] | None
None
Optional list of metadata to associate with each document.