[DOCS] dotAI: Update public documentation for providerConfig migration
Problem Statement
The LangChain4J integration introduced a breaking change in how dotAI is configured: all individual App secrets (apiKey, model, imageModel, etc.) are replaced by a single providerConfig JSON field. The existing public documentation still describes the old field-based configuration and does not reflect the new format or the per-site configuration capability.
Solution
Update the public dotCMS documentation for dotAI to reflect the new providerConfig-based configuration. A migration guide has been drafted internally and is available as a reference for the documentation team. It covers:
- What changed and why (field mapping table: old secrets → new JSON paths)
- Step-by-step migration instructions
- Configuration examples (minimal, with custom settings, model fallback, custom endpoint)
- Per-site configuration
- Verification steps via API
- Known considerations (credential masking, embeddings rebuild, temperature consolidation)
Migration Guide: https://docs.google.com/document/d/1tOIahLanlfk2tqaKOSc37vi1r8oeInPr-aiw78HWkoI/edit?usp=sharing
Acceptance Criteria
- [ ] Public documentation updated to describe the
providerConfigJSON format and its structure (chat,embeddings,image,settingsblocks). - [ ] Field mapping reference included (or linked) so existing customers can migrate their current secrets.
- [ ] Per-site configuration documented.
- [ ] Old individual-field documentation removed or clearly marked as deprecated.
- [ ] At least one complete configuration example included.
Links
- Related Issue #35183
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Superseded by #37505, which consolidates this issue's scope (providerConfig JSON contract + field mapping) together with documenting the new provider configuration UI shipped in #37048.