AI Positron Preferences
Various settings can be configured in :
- Enable AI Positron
- Deselect this setting to disable the AI assistant. Combined with the Project Options radio button, you can disable the AI assistant for certain projects.
- Context prompt
- The context provides useful information about the user to the AI and is used in each action and chat request to create more relevant and personalized responses.
- Additional context files
- A list of one or more comma-separated referenced files. The content of these referenced files is added to the Context value and used in all AI action prompts. The file paths can contain editor variables.
- Automatic Validation and Correction
-
This section contains options for specifying if and when you want AI-generated content automatically validated:
- After generation, for validation problems in complete XML documents
- When enabled (default), AI-generated XML content is automatically validated and the AI attempts to fix any detected validation errors in complete XML documents returned by the AI model.
- After generation, for well-formedness problems in XML fragments
- When enabled, AI-generated XML content is automatically validated and the AI attempts to fix any detected well-formedness errors in XML fragments returned by the AI model.
- After insertion in the document
- When enabled (default), AI-generated XML content is automatically validated and the AI attempts to fix any detected validation errors when the AI-generated content is inserted into the document (in the editor).
Note:The AI will not be able to find solutions for certain types of errors, so some manual corrections will still be required in those situations.