Class JlamaStreamingLanguageModel
java.lang.Object
dev.langchain4j.model.jlama.JlamaStreamingLanguageModel
- All Implemented Interfaces:
- StreamingLanguageModel
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic class
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()voidgenerate(String prompt, StreamingResponseHandler<String> handler) Generates a response from the model based on a prompt.Methods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface StreamingLanguageModelgenerate
- 
Constructor Details- 
JlamaStreamingLanguageModel
 
- 
- 
Method Details- 
builder
- 
generateDescription copied from interface:StreamingLanguageModelGenerates a response from the model based on a prompt.- Specified by:
- generatein interface- StreamingLanguageModel
- Parameters:
- prompt- The prompt.
- handler- The handler for streaming the response.
 
 
-