From 025d6af033d9ccd2f0608cf0b57f136c0146d008 Mon Sep 17 00:00:00 2001 From: Christian Tzolov Date: Sun, 14 Jan 2024 11:57:38 +0100 Subject: [PATCH] Clarification about the OpenAI chat model versioning --- .../src/main/antora/modules/ROOT/pages/api/clients/openai.adoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/openai.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/openai.adoc index f6fdd72c2..7c12a1593 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/openai.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/openai.adoc @@ -92,11 +92,10 @@ The prefix `spring.ai.openai.chat` is the property prefix that lets you configur | spring.ai.openai.chat.base-url | Optional overrides the spring.ai.openai.base-url to provide chat specific url | - | spring.ai.openai.chat.api-key | Optional overrides the spring.ai.openai.api-key to provide chat specific api-key | - -| spring.ai.openai.chat.model | This is the OpenAI Chat model to use | gpt-35-turbo +| spring.ai.openai.chat.model | This is the OpenAI Chat model to use | `gpt-35-turbo` (the `gpt-3.5-turbo`, `gpt-4`, and `gpt-4-32k` point to the latest model versions) | spring.ai.openai.chat.temperature | The sampling temperature to use that controls the apparent creativity of generated completions. Higher values will make output more random while lower values will make results more focused and deterministic. It is not recommended to modify temperature and top_p for the same completions request as the interaction of these two settings is difficult to predict. | 0.7 |==== - The prefix `spring.ai.openai.embedding` is property prefix that configures the `EmbeddingClient` implementation for OpenAI. [cols="3,5,3"]