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

When using spring-ai-openai at the same time, an auto-injection error is reported because the project relies on spring-ai-spring-boot-autoconfigure #60

Open
harmonyzhang opened this issue Oct 14, 2024 · 1 comment

Comments

@harmonyzhang
Copy link

org.springframework.ai spring-ai-openai

Can you provide a programmatic dependency based on openai?

@yuluo-yx
Copy link
Contributor

If you want to use the functions of openai, you can directly use

<dependency>
    <groupId>org.springframework.ai</groupId>
    <artifactId>spring-ai-openai-spring-boot-starter</artifactId>
</dependency>

pls see: https://docs.spring.io/spring-ai/reference/api/chat/openai-chat.html

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

No branches or pull requests

2 participants