Package ai.vespa.llm.completion
Class Prompt
java.lang.Object
ai.vespa.llm.completion.Prompt
- Direct Known Subclasses:
StringPrompt
A prompt that can be given to a large language model to generate a completion.
- Author:
- bratseth
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Prompt
public Prompt()
-
-
Method Details
-
asString
-
append
Returns a new prompt with the text of the given completion appended. -
append
-