Class BaseUtils
java.lang.Object
com.hw.langchain.chains.combine.documents.base.BaseUtils
- Author:
- HamaWhite
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
formatDocument
(Document doc, BasePromptTemplate prompt) Format a document into a string based on a prompt template.
-
Method Details
-
formatDocument
Format a document into a string based on a prompt template.
-