fix: rename "OpenAI" strings to generic in frontend (#8618)

This commit is contained in:
Arsène Reymond authored and GitHub committed 2026-10-01 20:04:05 +00:00
1 parent 7e03d041d7
commit 80c5a52b9c
10 files changed
+24 -24

No files matched your search

@@ -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.
@@ -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)
@@ -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 |
|-------------------------------------------------------------------------|:-----------:|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
@@ -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");
});
@@ -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,
},
+7 -7
View File
@@ -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",
+3 -3
View File
@@ -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,
},
{
@@ -1,8 +1,8 @@
<template>
<v-container class="pa-0">
<v-container>
<BaseCardSectionTitle :title="$t('admin.debug-openai-services')">
{{ $t('admin.debug-openai-services-description') }}
<BaseCardSectionTitle :title="$t('admin.debug-ai-providers')">
{{ $t('admin.debug-ai-providers-description') }}
<br>
<DocLink
class="mt-2"
@@ -129,7 +129,7 @@ const i18n = useI18n();
// Set page title
useSeoMeta({
title: i18n.t("admin.debug-openai-services"),
title: i18n.t("admin.debug-ai-providers"),
});
const loading = ref(false);
@@ -178,7 +178,7 @@ async function testOpenAI() {
loading.value = false;
if (!data) {
alert.error("Unable to test OpenAI services");
alert.error("Unable to test AI services");
}
else {
response.value = data.response || (data.success ? "Test Successful" : "Test Failed");
+2 -2
View File
@@ -22,8 +22,8 @@
<v-btn value="brute">
{{ $t('admin.brute') }}
</v-btn>
<v-btn value="openai">
{{ $t('admin.openai') }}
<v-btn value="ai-providers">
{{ $t('admin.ai-providers') }}
</v-btn>
</v-btn-toggle>
<v-spacer />
@@ -26,10 +26,10 @@
/>
</v-card-text>
<v-card-text v-if="group?.aiProviderSettings?.aiEnabled">
{{ $t('recipe.recipe-debugger-use-openai-description') }}
{{ $t('recipe.recipe-debugger-use-ai-description') }}
<v-checkbox
v-model="state.useOpenAI"
:label="$t('recipe.use-openai')"
:label="$t('recipe.use-ai')"
/>
</v-card-text>
<v-card-actions class="justify-center">