Bug description There is a typo in the model name in the document. The model name is incorrectly written as "gpt-35-turbo", it should be "gpt-3.5-turbo".
Environment - Spring AI version: 0.8.0 - Java version: 21
Steps to reproduce https://docs.spring.io/spring-ai/reference/api/clients/openai-chat.html
Expected behavior The model name should be "gpt-3.5-turbo".
Minimal Complete Reproducible example
var openAiApi = new OpenAiApi(System.getenv("OPENAI_API_KEY"));
var chatClient = new OpenAiChatClient(openAiApi)
.withDefaultOptions(OpenAiChatOptions.builder()
.withModel("gpt-35-turbo") // Here is the typo ----------------------------------------
.withTemperature(0.4)
.withMaxTokens(200)
.build());
ChatResponse response = chatClient.call(
new Prompt("Generate the names of 5 famous pirates."));