Package ai.picovoice.picollm
Class Phi3ChatDialog
java.lang.Object
ai.picovoice.picollm.PicoLLMDialog
ai.picovoice.picollm.Phi3ChatDialog
- Direct Known Subclasses:
Phi35ChatDialog
Represents a dialog helper specific for the `phi3` model.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class for constructing Phi3ChatDialog instances. -
Field Summary
Fields inherited from class ai.picovoice.picollm.PicoLLMDialog
history, humanRequests, llmResponses, system -
Method Summary
Methods inherited from class ai.picovoice.picollm.PicoLLMDialog
addHumanRequest, addLLMResponse
-
Method Details
-
getPrompt
Generates a formatted prompt string based on the dialog's content and configured settings.- Overrides:
getPromptin classPicoLLMDialog- Returns:
- A formatted prompt string.
- Throws:
PicoLLMException- If there's an issue generating the prompt.
-