Create linkable schema for providers
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3552774. --> Reported by: [marcus_johansson](https://www.drupal.org/user/385947) Related to !1008 >>> <p>--- AI TRACKER METADATA ---<br> Update Summary: Create linkable schema for providers<br> Check-in Date: MM/DD/YYYY (US format) [When we should see progress/get an update]<br> Due Date: MM/DD/YYYY (US format) [When the issue should be fully completed]<br> Blocked by: [#XXXXXX] (New issues on new lines)<br> Additional Collaborators: @username1, @username2<br> AI Tracker found here: <a href="https://www.drupalstarforge.ai/">https://www.drupalstarforge.ai/</a><br> --- END METADATA ---</p> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Right now a lot of different 3rd party providers stores their schema setups for the providers they use in their own ways. This is bad for consistency and for implementing possible new features like failover.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Create a schema that covers all the vital things:<br> 1. Use default (boolean)<br> 1. Provider id (optional string if default is true)<br> 2. Model id (optional string if default is true)<br> 3. Configuration (optional key/value with wildcard)</p> <p>Document it, under developer documentation.</p> <p>At a later stage we will add normalized configurations like temperature for instance.</p>
issue