core icon indicating copy to clipboard operation
core copied to clipboard

[DOCS] dotAI: Update public documentation for providerConfig migration

Open ihoffmann-dot opened this issue 6 months ago • 2 comments

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 providerConfig JSON format and its structure (chat, embeddings, image, settings blocks).
  • [ ] 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

ihoffmann-dot avatar May 06 '26 17:05 ihoffmann-dot

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.

github-actions[bot] avatar Aug 05 '26 02:08 github-actions[bot]

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.

ihoffmann-dot avatar Sep 10 '26 22:09 ihoffmann-dot