Uses of Interface
com.hw.langchain.schema.PromptValue
Package
Description
-
Uses of PromptValue in com.hw.langchain.base.language
Modifier and TypeMethodDescriptiondefault List<reactor.core.publisher.Flux<AsyncLLMResult>>
BaseLanguageModel.asyncGeneratePrompt
(List<PromptValue> prompts) Take in a list of prompt values and return an Fluxfor every PromptValue. default List<reactor.core.publisher.Flux<AsyncLLMResult>>
BaseLanguageModel.asyncGeneratePrompt
(List<PromptValue> prompts, List<String> stop) Take in a list of prompt values and return an Fluxfor every PromptValue. BaseLanguageModel.generatePrompt
(List<PromptValue> prompts, List<String> stop) Take in a list of prompt values and return an LLMResult. -
Uses of PromptValue in com.hw.langchain.chat.models.base
Modifier and TypeMethodDescriptionBaseChatModel.generatePrompt
(List<PromptValue> prompts, List<String> stop) -
Uses of PromptValue in com.hw.langchain.llms.base
Modifier and TypeMethodDescriptionList<reactor.core.publisher.Flux<AsyncLLMResult>>
BaseLLM.asyncGeneratePrompt
(List<PromptValue> prompts, List<String> stop) BaseLLM.generatePrompt
(List<PromptValue> prompts, List<String> stop) -
Uses of PromptValue in com.hw.langchain.prompts.base
Modifier and TypeMethodDescriptionabstract PromptValue
BasePromptTemplate.formatPrompt
(Map<String, Object> kwargs) Create Chat Messages.StringPromptTemplate.formatPrompt
(Map<String, Object> kwargs) -
Uses of PromptValue in com.hw.langchain.prompts.chat
-
Uses of PromptValue in com.hw.langchain.schema
Modifier and TypeMethodDescriptionBaseOutputParser.parseWithPrompt
(String completion, PromptValue prompt) Optional method to parse the output of an LLM call with a prompt.