From d2819a00e397e5e48178d9a44c6e5df3639dabed Mon Sep 17 00:00:00 2001 From: Jose Luis Carrillo Aguilar Date: Wed, 3 May 2023 17:33:15 +0200 Subject: [PATCH 1/2] Languages updated in README, blank space removed from pt.json --- README.md | 6 +++++- .../azure_openai_conversation/translations/pt.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b753a3e..5460592 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Click on "Options". Options available: - **Prompt Template:** -The starting text for the AI language model to generate new text from. This text can include information about your Home Assistant instance, devices, and areas and is written using Home Assistant Templating. +The starting text for the AI language model to generate new text from. This text can include information about your Home Assistant instance, devices, and areas and is written using [Home Assistant Templating](https://www.home-assistant.io/docs/configuration/templating). - **Completion Model:** The name of the GPT language model deployed for text generation (i.e.- `my-gpt35-model`). You can find more details on the available models in the [Azure OpenAI Documentation](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/concepts/models#finding-what-models-are-available). @@ -89,6 +89,10 @@ More languages can be added [here](./custom_components/azure_openai_conversation Languages available: - English - Spanish +- Dutch (credits to: @jobvk) +- French (credits to: @jobvk) +- German (credits to: @jobvk) +- Portuguese (credits to: @ViPeR5000) ## Documentation diff --git a/custom_components/azure_openai_conversation/translations/pt.json b/custom_components/azure_openai_conversation/translations/pt.json index 19846b3..7fbef14 100644 --- a/custom_components/azure_openai_conversation/translations/pt.json +++ b/custom_components/azure_openai_conversation/translations/pt.json @@ -12,7 +12,7 @@ "user": { "data": { "api_key": "Chave da API", - "api_base": "Base da API no Azure", + "api_base": "Base da API no Azure", "api_version": "Versão da API" } } From 2138e4c06b554a38198cff78fef362384ac677ec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 3 May 2023 16:01:29 +0000 Subject: [PATCH 2/2] Bump openai from 0.27.4 to 0.27.6 Bumps [openai](https://github.com/openai/openai-python) from 0.27.4 to 0.27.6. - [Release notes](https://github.com/openai/openai-python/releases) - [Commits](https://github.com/openai/openai-python/compare/v0.27.4...v0.27.6) --- updated-dependencies: - dependency-name: openai dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 789e78e..463feb2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ colorlog==6.7.0 homeassistant==2023.4.0 pip>=21.0,<23.2 ruff==0.0.263 -openai==0.27.4 \ No newline at end of file +openai==0.27.6 \ No newline at end of file