NEWCKEditor AI is here!
Sign up (with export icon)

AIChatConfig

Api-interface iconinterface

The configuration of the AI Chat feature.

The properties defined in this config are set in the config.ai.chat namespace.

ClassicEditor
	.create( editorElement, {
		ai: {
			chat: {
				// AI Chat configuration.
			}
		}
	} )
	.then( ... )
	.catch( ... );
Copy code

See the full AI configuration.

See all editor options.

Properties

  • Chevron-right icon

    The configuration of the AI Chat context.

    Read more in AIChatContextConfig.

  • Chevron-right icon

    models : object | undefined

    The configuration of the AI Chat models selection feature.

    ClassicEditor.create( {
    	ai: {
    		chat: {
    			models: {
    				defaultModelId: ...,
    				modelSelectorAlwaysVisible: ...,
    				displayedModels: ...
    			}
    		}
    	}
    } )
    .then( ... )
    .catch( ... );
    
    Copy code