Uses of Interface
com.hw.langchain.schema.PromptValue
Packages that use PromptValue
Package
Description
-
Uses of PromptValue in com.hw.langchain.base.language
Method parameters in com.hw.langchain.base.language with type arguments of type PromptValueModifier 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
Method parameters in com.hw.langchain.chat.models.base with type arguments of type PromptValueModifier and TypeMethodDescriptionBaseChatModel.generatePrompt
(List<PromptValue> prompts, List<String> stop) -
Uses of PromptValue in com.hw.langchain.llms.base
Method parameters in com.hw.langchain.llms.base with type arguments of type PromptValueModifier 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
Classes in com.hw.langchain.prompts.base that implement PromptValueMethods in com.hw.langchain.prompts.base that return PromptValueModifier 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
Classes in com.hw.langchain.prompts.chat that implement PromptValueMethods in com.hw.langchain.prompts.chat that return PromptValue -
Uses of PromptValue in com.hw.langchain.schema
Methods in com.hw.langchain.schema with parameters of type PromptValueModifier and TypeMethodDescriptionBaseOutputParser.parseWithPrompt
(String completion, PromptValue prompt) Optional method to parse the output of an LLM call with a prompt.