The ONLYOFFICE editors allow you to add a custom AI provider and configure it according to your preferences.
- Begin by setting the provider base class in your project. Refer to our GitHub documentation for example code snippets.
To configure a custom provider, append it to the list of internal providers in the configuration file, located here.
Ensure you add this script after including storage.js
in your codebase for proper dependency management.
- The
checkModelCapability
will check if the model can perform all tasks or just particular ones. - For advanced setup and customization, refer to our configuration guide for step-by-step instructions.