Greetings!!!
In Spring-AI documentation for version 0.8.0-SNAPSHOT, the OpenAI example project is out of date. The example project was developed for version 0.2.0-SNAPSHOT and not compatible with 0.8.0-SNAPSHOT because the class org.springframework.ai.client.AiClient
is replaced by org.springframework.ai.chat.ChatClient
.
Need link to example project which is using version 0.8.0-SNAPSHOT.
Comment From: markpollack
I will create a high level issue to update the various places that older snapshot are being used and link to this one.
I think that the documentation you are referring to has already been updated to reflect the changes going to 0.8.0-SNAPSHOT.
https://docs.spring.io/spring-ai/reference/api/clients/openai.html#_getting_started
I will close the issue for now, please reopen if you feel something has not been addressed.
Thanks!