What does the Completion Policy do?

Answered

In the AI Assistant, what does the completion Policy do?

0
1 comment

It controls the balance between number of completions suggested and error filtration. This means the following:

  • Creative - provides more suggestions to the user with less strict checks and filters. It will potentially show some completions with errors or not so good quality.
  • Balanced - provides a balance between showing suggestions and filtering out incorrect code completions
  • Focused - provides more strict filtering and applying rules to the suggestions provided by the LLM. In this case suggestions with errors and lower quality will be filtered out and not be shown to the user at all. In some cases it can feel like the code completion is not working when this option is selected.

It is recommended to test out all of the policies and evaluate which one works best for your specific workflow.

1

Please sign in to leave a comment.