Differences
This shows you the differences between two versions of the page.
| 261:configure_stages [2026/03/13 16:58] – created - external edit 127.0.0.1 | 261:configure_stages [2026/11/23 13:06] (current) – Prinz, Patrick | ||
|---|---|---|---|
| Line 102: | Line 102: | ||
| ==== Variable replacement ==== | ==== Variable replacement ==== | ||
| - | - requires Stages '' | + | - requires Stages '' |
| This allows to keep the critical configuration files '' | This allows to keep the critical configuration files '' | ||
| Line 702: | Line 702: | ||
| </ | </ | ||
| - | In methodpark\stages\conf | + | In methodpark\stages\conf |
| Create a folder tokenizer\custom-model-v1 ← make sure the folder name exactly matches the value in the tokenizerFolder property | Create a folder tokenizer\custom-model-v1 ← make sure the folder name exactly matches the value in the tokenizerFolder property | ||
| Line 805: | Line 805: | ||
| </ | </ | ||
| + | ===== AI Feature oAuth Configuration: | ||
| + | For some external systems (e.g. API gateways), Stages needs to authenticate itself with an Access Token. Typically Access Tokens can be acquired from an authentication server/IdP using the OAuth Client Credentials workflow. The authentication server responds with the token value and the respective expiration date. Stages caches acquired tokens and automatically refreshes them upon new requests, if expired. OAuth clients can be configured in the oauth-client section like this: | ||
| + | |||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | The oAuth client configuration gets referenced in the ai host sections via it's ident like this: | ||
| + | |||
| + | < | ||
| + | <cg-host ident=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||