Annotation Interface的使用
dev.langchain4j.model.input.structured.StructuredPrompt
使用StructuredPrompt的程序包
-
dev.langchain4j.model.input.structured中StructuredPrompt的使用
修饰符和类型方法说明static StructuredPromptStructuredPrompt.Util.validateStructuredPrompt(Object structuredPrompt) Validates that the given object is annotated withStructuredPrompt.修饰符和类型方法说明static StringStructuredPrompt.Util.join(StructuredPrompt structuredPrompt) Joins the lines of the prompt template.