Package dev.langchain4j.model.dashscope
Class QwenLanguageModel
java.lang.Object
dev.langchain4j.model.dashscope.QwenLanguageModel
- All Implemented Interfaces:
LanguageModel
Represents a Qwen language model with a text interface.
More details are available here.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.langchain4j.model.language.LanguageModel
generate
-
Constructor Details
-
QwenLanguageModel
-
-
Method Details
-
generate
Description copied from interface:LanguageModel
Generate a response to the given prompt.- Specified by:
generate
in interfaceLanguageModel
- Parameters:
prompt
- the prompt.- Returns:
- the response.
-
builder
-