Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 712:ai_configuration [2026/03/02 14:14] – Doczkal, Tristan | 712:ai_configuration [2026/10/20 13:36] (current) – Doczkal, Tristan | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== AI Configuration ====== | + | ====== AI Feature Configuration: |
| - | ===== AI Feature Configuration: | + | |
| - | Content | + | To activate the AI chatbot and the content |
| + | |||
| + | **The content generation feature needs to be configured to use the chatbot | ||
| ==== Stages version ==== | ==== Stages version ==== | ||
| - | The chatbot will only work with Stages v7.12 or higher | + | **Chatbot** requires |
| + | |||
| + | **Content | ||
| ==== Metamodel ==== | ==== Metamodel ==== | ||
| - | A new unified configuration metamodel for Stages v7.12 / v.7.11 is required to support the AI features. Please contact [[[email protected]]] for further metamodel update instructions - depending on your Stages version and server operating system. If you use a customized metamodel, please contact your Stages product consultant to extend your metamodel. | + | A new unified configuration metamodel for Stages v7.12 / v.7.11 is required to support the AI features. Please contact [[[email protected]]] for further metamodel update instructions - depending on your Stages version and server operating system. |
| + | |||
| + | If you use a customized metamodel, please contact your Stages product consultant to extend your metamodel. | ||
| ==== User permissions ==== | ==== User permissions ==== | ||
| Line 141: | Line 146: | ||
| </cg> | </cg> | ||
| </ | </ | ||
| + | |||
| + | **When using models newer than gpt4o (like gpt5)** | ||
| + | |||
| + | >The temperature has to be adjusted to the default value of 1. Add < | ||
| + | |||
| + | >The < | ||
| **AI content generation feature (OpenAI compatible): | **AI content generation feature (OpenAI compatible): | ||
| Line 152: | Line 163: | ||
| * If run on consumer hardware, it will probably be necessary to increase the default timeout. | * If run on consumer hardware, it will probably be necessary to increase the default timeout. | ||
| - | < | + | < |
| <cg> | <cg> | ||
| <cg-type name=" | <cg-type name=" | ||
| Line 234: | Line 245: | ||
| ai.model.url = [azure_ai_ressource_url] | ai.model.url = [azure_ai_ressource_url] | ||
| ai.model.key = [azure_ai_ressource_key] | ai.model.key = [azure_ai_ressource_key] | ||
| - | ai.security.user = [custom_name_to_identify_stages_to_azure] | + | ai.security.user = [arbitrary_custom_name_to_identify_stages_to_azure] |
| ai.translateservice.url = [azure_translate_service_url] | ai.translateservice.url = [azure_translate_service_url] | ||
| Line 247: | Line 258: | ||
| Please stop the Stages service after saving the changes, run the update.bat or .sh script located under / | Please stop the Stages service after saving the changes, run the update.bat or .sh script located under / | ||
| - | ===== How to create Azure OpenAI services ===== | + | ===== AI Feature Configuration: |
| - | Please follow the linked instructions | + | 1. Login to Azure-Management-Portal and navigate to "Azure OpenAI" |
| - | + | ||
| - | [[:712:ai_configuration:create_openai_services|Creat OpenAI services]] | + | |
| - | + | ||
| - | If you want to check if Stages can reach your AI resources please execute the command below in a command shell on the server that Stages is installed on: | + | |
| Linux: | Linux: | ||
| Line 306: | Line 313: | ||
| ===== AI Feature Tokenizer Configuration ===== | ===== AI Feature Tokenizer Configuration ===== | ||
| - | LLM that are NOT using the standard byte-pair-encoding algorithm CANNOT be used with the Azure tokenizer. Stages implements the HuggingFaceTokenizer from deep java library to support customized tokenizer. | + | > |
| + | |||
| + | LLM that are NOT using the standard byte-pair-encoding algorithm | ||
| Add the property “tokenizerFolder” to the cg-host section | Add the property “tokenizerFolder” to the cg-host section | ||
| Line 315: | Line 324: | ||
| </ | </ | ||
| - | 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 325: | Line 334: | ||
| 1. cg-host configuration in config.xml | 1. cg-host configuration in config.xml | ||
| - | < | + | < |
| <cg-type name=" | <cg-type name=" | ||
| < | < | ||
| Line 339: | Line 348: | ||
| >You need to change all chatbot steps that shall use the configured LLM | >You need to change all chatbot steps that shall use the configured LLM | ||
| - | < | + | < |
| default: | default: | ||
| < | < | ||
| Line 417: | Line 426: | ||
| } | } | ||
| </ | </ | ||
| - | |||
| - | |||