Genai Chatbot startup failure
colljos opened this issue · 1 comments
colljos commented
Followed instructions as per Integrating the Spring AI Chatbot but application fails to start-up with following error:
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 2 of method openAiEmbeddingModel in org.springframework.ai.autoconfigure.openai.OpenAiAutoConfiguration required a bean of type 'org.springframework.web.client.RestClient$Builder' that could not be found.
Action:
Consider defining a bean of type 'org.springframework.web.client.RestClient$Builder' in your configuration.
I have attempted to follow the advice in spring-projects/spring-ai#563 and associated spring-projects/spring-ai#524 but issue continues.