From 80c5a52b9c77d602cbf5b520d903b728adb7cb71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ars=C3=A8ne=20Reymond?= <66876397+p0lycarpio@users.noreply.github.com> Date: Thu, 1 Oct 2026 20:04:05 +0000 Subject: [PATCH] fix: rename "OpenAI" strings to generic in frontend (#8618) --- docs/docs/documentation/getting-started/faq.md | 2 +- .../getting-started/installation/ai-providers.md | 2 +- .../getting-started/installation/backend-config.md | 4 ++-- .../RecipeParseDialog/ParseDialogChangeParser.vue | 2 +- .../recipes/use-parse-ingredients-dialog.ts | 2 +- frontend/app/lang/messages/en-US.json | 14 +++++++------- frontend/app/layouts/admin.vue | 6 +++--- .../admin/debug/{openai.vue => ai-providers.vue} | 8 ++++---- frontend/app/pages/admin/debug/parser.vue | 4 ++-- .../app/pages/g/[groupSlug]/r/create/debug.vue | 4 ++-- 10 files changed, 24 insertions(+), 24 deletions(-) rename frontend/app/pages/admin/debug/{openai.vue => ai-providers.vue} (95%) diff --git a/docs/docs/documentation/getting-started/faq.md b/docs/docs/documentation/getting-started/faq.md index 157609112..634b14648 100644 --- a/docs/docs/documentation/getting-started/faq.md +++ b/docs/docs/documentation/getting-started/faq.md @@ -33,7 +33,7 @@ 6. Click the Edit button/icon again 7. Scroll to the ingredients and you should see new fields for Amount, Unit, Food, and Note. The Note in particular will contain the original text of the Recipe. 8. Click `Parse` and you will be taken to the ingredient parsing page. - 9. Choose your parser. The `Natural Language Parser` works very well, but you can also use the `Brute Parser`, or the `OpenAI Parser` if you've [enabled AI support](./installation/ai-providers.md). + 9. Choose your parser. The `Natural Language Parser` works very well, but you can also use the `Brute Parser`, or the `AI Parser` if you've [enabled AI support](./installation/ai-providers.md). 10. Click `Parse All`, and your ingredients should be separated out into Units and Foods based on your seeding in Step 1 above. 11. For ingredients where the Unit or Food was not found, you can click a button to accept an automatically suggested Food to add to the database. Or, manually enter the Unit/Food and hit `Enter` (or click `Create`) to add it to the database 12. When done, click `Save All` and you will be taken back to the recipe. Now the Unit and Food fields of the recipe should be filled out. diff --git a/docs/docs/documentation/getting-started/installation/ai-providers.md b/docs/docs/documentation/getting-started/installation/ai-providers.md index 08a279c1c..7361c3ef1 100644 --- a/docs/docs/documentation/getting-started/installation/ai-providers.md +++ b/docs/docs/documentation/getting-started/installation/ai-providers.md @@ -23,7 +23,7 @@ Note that some models are capable of handling multiple features (e.g. `gpt-5` ca While Mealie has prompts for each AI task, you can override these with your own prompts if you'd like. For more information, check out the [backend configuration](../installation/backend-config.md). ## AI Features -- The OpenAI Ingredient Parser can be used as an alternative to the NLP and Brute Force parsers. Simply choose the OpenAI parser while parsing ingredients (:octicons-tag-24: v1.7.0) +- The AI Ingredient Parser can be used as an alternative to the NLP and Brute Force parsers. Simply choose the AI parser while parsing ingredients (:octicons-tag-24: v1.7.0) - When importing a recipe via URL, if the default recipe scraper is unable to read the recipe data from a webpage, the webpage contents will be parsed by AI (:octicons-tag-24: v1.9.0) - The **Import with AI** page creates a recipe out of just about anything: pasted text, HTML, or JSON, photos of a recipe, a link, or any combination of them (:octicons-tag-24: v3.23.0) diff --git a/docs/docs/documentation/getting-started/installation/backend-config.md b/docs/docs/documentation/getting-started/installation/backend-config.md index 3f8444997..bc5f0eef4 100644 --- a/docs/docs/documentation/getting-started/installation/backend-config.md +++ b/docs/docs/documentation/getting-started/installation/backend-config.md @@ -120,11 +120,11 @@ For usage, see [Usage - OpenID Connect](../authentication/oidc-v2.md) | OIDC_TLS_CACERTFILE | None | File path to Certificate Authority used to verify server certificate (e.g. `/path/to/ca.crt`) | | OIDC_CLIENT_TIMEOUT | default | Configures the timeout value of the httpx client used for OIDC communications. If set to the string `default`, does not configure the value (uses the library's default of 5.0s). If set to the string `None`, disables the timeout entirely. If set to a numeric value, uses that as the timeout. | -### OpenAI +### AI :octicons-tag-24: v1.7.0 -Mealie supports various integrations using OpenAI. For more information, check out our [OpenAI documentation](./ai-providers.md). +Mealie supports various integrations using AI. For more information, check out our [AI Providers documentation](./ai-providers.md). | Variables | Default | Description | |-------------------------------------------------------------------------|:-----------:|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| diff --git a/frontend/app/components/Domain/Recipe/RecipePage/RecipePageParts/RecipeParseDialog/ParseDialogChangeParser.vue b/frontend/app/components/Domain/Recipe/RecipePage/RecipePageParts/RecipeParseDialog/ParseDialogChangeParser.vue index b93ed41a9..79e32c192 100644 --- a/frontend/app/components/Domain/Recipe/RecipePage/RecipePageParts/RecipeParseDialog/ParseDialogChangeParser.vue +++ b/frontend/app/components/Domain/Recipe/RecipePage/RecipePageParts/RecipeParseDialog/ParseDialogChangeParser.vue @@ -59,7 +59,7 @@ const { t } = useI18n(); const currentParserText = computed(() => { switch (currentParser.value) { case "brute": return t("recipe.parser.brute-parser"); - case "openai": return t("recipe.parser.openai-parser"); + case "openai": return t("recipe.parser.ai-parser"); } return t("recipe.parser.natural-language-processor"); }); diff --git a/frontend/app/composables/recipes/use-parse-ingredients-dialog.ts b/frontend/app/composables/recipes/use-parse-ingredients-dialog.ts index 7cb9ae376..bc9a3702d 100644 --- a/frontend/app/composables/recipes/use-parse-ingredients-dialog.ts +++ b/frontend/app/composables/recipes/use-parse-ingredients-dialog.ts @@ -47,7 +47,7 @@ export function useParseIngredientsDialog( value: "brute", }, { - text: i18n.t("recipe.parser.openai-parser"), + text: i18n.t("recipe.parser.ai-parser"), value: "openai", hide: !group.value?.aiProviderSettings?.aiEnabled, }, diff --git a/frontend/app/lang/messages/en-US.json b/frontend/app/lang/messages/en-US.json index c90828b7f..c098d7d90 100644 --- a/frontend/app/lang/messages/en-US.json +++ b/frontend/app/lang/messages/en-US.json @@ -590,8 +590,8 @@ "report-deletion-failed": "Report deletion failed", "recipe-debugger": "Recipe Debugger", "recipe-debugger-description": "Grab the URL of the recipe you want to debug and paste it here. The URL will be scraped by the recipe scraper and the results will be displayed. If you don't see any data returned, the site you are trying to scrape is not supported by Mealie or its scraper library.", - "use-openai": "Use OpenAI", - "recipe-debugger-use-openai-description": "Use OpenAI to parse the results instead of relying on the scraper library. When creating a recipe via URL, this is done automatically if the scraper library fails, but you may test it manually here.", + "use-ai": "Use AI", + "recipe-debugger-use-ai-description": "Use AI to parse the results instead of relying on the scraper library. When creating a recipe via URL, this is done automatically if the scraper library fails, but you may test it manually here.", "debug": "Debug", "tree-view": "Tree View", "recipe-servings": "Recipe Servings", @@ -616,9 +616,9 @@ "dont-show-again": "Don't show this again", "try-again-with-parser": "Try again with {parser}", "natural-language-processor": "Natural Language Processor", - "natural-language-processor-english-only": "The Natural Language Processor is trained on English recipes. For recipes in other languages it usually recognizes the amount but not the unit, so the Brute Parser or the OpenAI Parser tends to give better results.", + "natural-language-processor-english-only": "The Natural Language Processor is trained on English recipes. For recipes in other languages it usually recognizes the amount but not the unit, so the Brute Parser or the AI Parser tends to give better results.", "brute-parser": "Brute Parser", - "openai-parser": "OpenAI Parser", + "ai-parser": "AI Parser", "missing-unit": "Create missing unit: {unit}", "missing-food": "Create missing food: {food}", "this-unit-could-not-be-parsed-automatically": "This unit could not be parsed automatically", @@ -1111,7 +1111,7 @@ "ingredients-natural-language-processor-explanation-2": "It's not perfect, but it yields great results in general and is a good starting point for manually parsing ingredients into individual fields. Alternatively, you can also use the \"Brute\" processor that uses a pattern matching technique to identify ingredients.", "nlp": "NLP", "brute": "Brute", - "openai": "OpenAI", + "ai-providers": "AI Providers", "show-individual-confidence": "Show individual confidence", "ingredient-text": "Ingredient Text", "average-confident": "{0} Confident", @@ -1128,8 +1128,8 @@ "restore-from-v1-backup": "Have a backup from a previous instance of Mealie v1? You can restore it here.", "manage-profile-or-get-invite-link": "Manage your own profile, or grab an invite link to share with others." }, - "debug-openai-services": "Debug OpenAI Services", - "debug-openai-services-description": "Use this page to debug OpenAI services. You can test your OpenAI connection and see the results here. If you have image services enabled, you can also provide an image.", + "debug-ai-providers": "Debug AI Providers", + "debug-ai-providers-description": "Use this page to debug AI providers. You can test your AI connection and see the results here. If you have image services enabled, you can also provide an image.", "run-test": "Run Test", "test-results": "Test Results", "group-delete-note": "Groups with users or households cannot be deleted", diff --git a/frontend/app/layouts/admin.vue b/frontend/app/layouts/admin.vue index 35a8b2c48..bddadefe1 100644 --- a/frontend/app/layouts/admin.vue +++ b/frontend/app/layouts/admin.vue @@ -98,9 +98,9 @@ const developerLinks: SidebarLinks = [ restricted: true, children: [ { - icon: $globals.icons.robot, - to: "/admin/debug/openai", - title: i18n.t("admin.openai"), + icon: $globals.icons.autoFix, + to: "/admin/debug/ai-providers", + title: i18n.t("admin.ai-providers"), restricted: true, }, { diff --git a/frontend/app/pages/admin/debug/openai.vue b/frontend/app/pages/admin/debug/ai-providers.vue similarity index 95% rename from frontend/app/pages/admin/debug/openai.vue rename to frontend/app/pages/admin/debug/ai-providers.vue index 1d69f09ba..3f01c8c42 100644 --- a/frontend/app/pages/admin/debug/openai.vue +++ b/frontend/app/pages/admin/debug/ai-providers.vue @@ -1,8 +1,8 @@