AI settings across environments
The configuration of the AI Assistant moves between environments like the rest of a solution: in product packages, in DevOps packages, and through the configuration folder. The API keys never move: each environment keeps its own.
| What | How it travels |
|---|---|
| AI settings of data sources, data classes, workflow definitions, rules and plugins | With the artefact, like its other settings. |
| The AI section of a worker site | With the worker site. |
| Assistant profiles and knowledge sources | In their product, in DevOps packages, and in the configuration folder. A knowledge source of static documents takes its documents along. |
| Model connections | In their product and in DevOps packages, without their key. A model connection in no product is a setting of its environment: it stays out of the configuration folder. |
| API keys of model connections and Azure AI Search sources | Never. Enter them in each environment. |
Add AI settings to a product
Model connections, knowledge sources and assistant profiles can belong to a product. A new one joins the product that Casewhere Admin is scoped to. To move existing ones, select them in their list and use Move To Product; Remove From Product takes them out of their product again.
The lists show the Product Name of each setting. A setting in no product applies to every product, so it is shown whatever product Casewhere Admin is scoped to.
A product package carries the product's model connections, knowledge sources and assistant profiles. Importing it into another environment adds and updates them, and removes the ones the product no longer has.
DevOps
The lists of model connections, knowledge sources and assistant profiles have the DevOps menu of the other lists: add the selected settings to DevOps packages, export them as a package, import a package, fetch them from the configuration folder, and lock or unlock them. A locked setting cannot be changed, moved or deleted, and the documents of a locked knowledge source cannot be changed, until it is unlocked; testing it still works.
What stays with the environment
The keys stay in the key store of each environment, and some settings follow the keys:
- Model connections: a connection that is already in the environment keeps its own endpoint and key. A new connection arrives without a key: open it in AI > Model Connections and enter the key of this environment.
- Knowledge sources of Azure AI Search: a source that is already in the environment keeps its own endpoint and key. A new source arrives without a key.
- Assistant profiles take the models of the package whose model connections are in the environment, or arrive in the same import. When none of them is there, a profile that was already in the environment keeps its own models, and a new profile has none: choose its models in the profile editor.
- A knowledge source takes its embedding model connection when the connection is in the environment, or arrives in the same import.
So, to move an assistant to another environment for the first time:
- Add its model connections, knowledge sources and assistant profile to the solution's product (or to a DevOps package).
- Export the package and import it into the other environment.
- In the other environment, enter the API keys of the model connections (and of the Azure AI Search sources), and test them.
- Check the models of the profile, and the AI section of the worker site.