You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,15 +129,17 @@ For the time being, please consider the following actions:
129
129
4. Remove the containers related to AI
130
130
5. Cleanup your local clone of the recipes: `$HOME/podman-desktop/ai-lab`
131
131
132
-
### Providing a custom catalog
132
+
### 📖 Providing a custom catalog
133
133
134
-
The extension provides a default catalog, but you can build your own catalog by creating a file `$HOME/podman-desktop/ai-lab/catalog.json`.
134
+
The extension provides by default a curated list of recipes, models and categories. However, this system is extensible and you can define your own.
135
135
136
-
The catalog provides lists of categories, recipes, and models.
136
+
To enhance the existing catalog, you can create a file located in the extension storage folder `$HOME/.local/share/containers/podman-desktop/extensions-storage/redhat.ai-lab/user-catalog.json`.
137
137
138
-
Each recipe can belong to one or several categories. Each model can be used by one or several recipes.
138
+
It must follow the same format as the default catalog [in the sources of the extension](https://github.com/containers/podman-desktop-extension-ai-lab/blob/main/packages/backend/src/assets/ai.json).
139
139
140
-
The format of the catalog is not stable nor versioned yet, you can see the current catalog's format [in the sources of the extension](https://github.com/containers/podman-desktop-extension-ai-lab/blob/main/packages/backend/src/assets/ai.json).
140
+
> :information_source: The default behaviour is to append the items of the user's catalog to the default one.
141
+
142
+
> :warning: Each item (recipes, models or categories) has a unique id, when conflict between the default catalog and the user one are found, the user's items overwrite the defaults.
0 commit comments