---
sourceDocument: Yokohama API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/api-reference

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Code generation properties

# Code generation properties {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
You can adjust how code generation functions on an instance using several advanced properties.
Note:  
To open the System Properties \[sys_properties\] table, enter <kbd class="ph userinput">sys_properties.list</kbd> in the navigation filter.
{#now-assist-code-properties__table_dsp_1h2_tyb__entry__2}

| Property | Description |
|-|-|
| sn_now_assist_code.enable_code_assist | Enables using code generation in supported script editors. * Type: true \| false * Default value: true * Location: System Property \[sys_properties\] table * Learn more: You can also enable code generation from AI Admin Hub. For more information, see [Activate a Now Assist skill](https://www.servicenow.com/docs/access?context=configure-a-now-assist-skill&version=yokohama&pubname=yokohama-intelligent-experiences&ft:locale=en-US). {#now-assist-code-properties__ul_esp_1h2_tyb} |
| sn_now_assist_code.enable_promptless_experience | Enables using code completion in the script editor. * Type: true \| false * Default value: false * Location: System Property \[sys_properties\] table {#now-assist-code-properties__ul_rgr_px4_qbc} |
| sn_now_assist_code.enable_prompt_modal | Enables using the Code with Now Assist dialog box to provide text prompts. * Type: true \| false * Default value: true * Location: System Property \[sys_properties\] table * Learn more: [Generate scripts from text](https://servicenow-prod.fluidtopics.net/Q2Skjr~8q9rfbck9nuSohQ#generate-scripts-from-text "Write scripts quickly with AI-generated code by telling Now Assist what you want the script to do.") {#now-assist-code-properties__ul_xc3_t21_2cc} |
| 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. * Type: true \| false * Default value: true * Location: System Property \[sys_properties\] table * Learn more: [Tracking AI-generated code](https://servicenow-prod.fluidtopics.net/UBYuTqGrge11yBWQv340nQ#tracking-ai-generated-code "Control when to track and indicate that code is AI-generated.") {#now-assist-code-properties__ul_mbf_d32_tyb} |
| 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. * Type: true \| false * Default value: true * Location: System Property \[sys_properties\] table {#now-assist-code-properties__ul_tbk_d32_tyb} |
| 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. * Type: String * Default value: na4c_nowllm * Location: System Property \[sys_properties\] table * Learn more: [Enable Code Explain and Summarize](https://servicenow-prod.fluidtopics.net/Iz1KfJzl5bl9oyTWIOnM1w "Enable the Code Explain and Code Summarize features by changing the default model of your instance from NowLLM to Azure OpenAI.") {#now-assist-code-properties__ul_kbv_v5f_h2c} |
[Table 1. Properties for code generation]

{#now-assist-code-properties__table_dsp_1h2_tyb}

