Package ai.picovoice.picollm
Class Phi2ChatDialog.Builder
- java.lang.Object
-
- ai.picovoice.picollm.PicoLLMDialog.Builder
-
- ai.picovoice.picollm.Phi2Dialog.Builder
-
- ai.picovoice.picollm.Phi2ChatDialog.Builder
-
- Enclosing class:
- Phi2ChatDialog
public static class Phi2ChatDialog.Builder extends Phi2Dialog.Builder
Builder class for constructing Phi2ChatDialog instances.
-
-
Field Summary
-
Fields inherited from class ai.picovoice.picollm.PicoLLMDialog.Builder
history, system
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Phi2ChatDialogbuild()Builds a new instance of Phi2ChatDialog based on the configured settings.-
Methods inherited from class ai.picovoice.picollm.Phi2Dialog.Builder
build
-
Methods inherited from class ai.picovoice.picollm.PicoLLMDialog.Builder
setHistory, setSystem
-
-
-
-
Method Detail
-
build
public Phi2ChatDialog build()
Builds a new instance of Phi2ChatDialog based on the configured settings.- Overrides:
buildin classPicoLLMDialog.Builder- Returns:
- A new instance of Phi2ChatDialog.
-
-