Code generation properties
You can adjust how code generation functions on an instance using several advanced properties.
| Property | Description |
|---|---|
| sn_now_assist_code.enable_code_assist | Enables using code generation in supported script editors.
|
| sn_now_assist_code.enable_promptless_experience |
Enables using code completion in the script editor.
|
| sn_now_assist_code.enable_prompt_modal |
Enables using the Code with Now Assist dialog box to provide text prompts.
|
| sn_now_assist_code.show_ai_code_line_marker | Enables tracking which lines of code are AI-generated. This code is indicated by a line next to the lines of code in a script editor. If you edit AI-generated code, the line indicator doesn’t appear for those lines of code.
|
| sn_now_assist_code.collect_schema_for_code_assist | Specifies whether to collect the data schema of the table that a business rule or client script runs on when using code generation. If you set this property to false, you can receive code suggestions quicker but may get less contextual suggestions.
|
| sn_now_assist_code.code_assist_model_provider |
All requests for the Now Assist for Code model are redirected to Azure OpenAI for evaluation and response. Additionally, you’ll get access to the Code Explain and Code Summarize features.
|