Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Genai Chatbot startup failure #282

Open
colljos opened this issue Oct 11, 2024 · 1 comment
Open

Genai Chatbot startup failure #282

colljos opened this issue Oct 11, 2024 · 1 comment
Labels

Comments

@colljos
Copy link

colljos commented Oct 11, 2024

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.

@colljos
Copy link
Author

colljos commented Oct 11, 2024

Just realised this codebase is not yet merged into the main branch:
#281

@odedia can you comment on the error I am seeing?
NB: I am using the Open AI starter: spring-ai-openai-spring-boot-starter (not the Azure default).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants