Package org.freeplane.api.ai
Class AiSelectionOverride
java.lang.Object
org.freeplane.api.ai.AiSelectionOverride
Overrides the selection structure injected into the first AI prompt message.
This affects only prompt composition. It does not change the Freeplane UI selection and does not replace later tool results; tools still observe their own current input and permissions.
- Since:
- 1.13.3
-
Constructor Summary
ConstructorsConstructorDescriptionAiSelectionOverride(MindMap mindMap, List<String> selectedNodeIds) Creates a prompt-time selection override. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the map used for the injected selection.Returns ordered selected node IDs.inthashCode()
-
Constructor Details
-
AiSelectionOverride
Creates a prompt-time selection override.The node IDs are trimmed, kept in the supplied order, and must be unique. They should identify nodes in
mindMap.- Parameters:
mindMap- map used for the injected selectionselectedNodeIds- ordered selected node IDs; must not contain null, blank, or duplicate values
-
-
Method Details