alibaba / spring-cloud-alibaba

Spring Cloud Alibaba provides a one-stop solution for application development for the distributed solutions of Alibaba middleware.
https://sca.aliyun.com
Apache License 2.0
27.57k stars 8.24k forks source link

[AI] sca ai rag example run failed #3773

Open 793834982 opened 1 week ago

793834982 commented 1 week ago

when i run spring-cloud-ai-rag-example get a error Parameter 1 of constructor in com.alibaba.cloud.example.ai.rag.service.RAGService required a bean of type 'org.springframework.ai.vectorstore.VectorStore' that could not be found Is it the person in charge who missed submitting the code

yuluo-yx commented 1 week ago

My local startup is fine. Check your local environment. @793834982

信息: Starting service [Tomcat]
6月 25, 2024 11:04:46 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet engine: [Apache Tomcat/10.1.19]
6月 25, 2024 11:04:46 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring embedded WebApplicationContext
[main] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 1267 ms
[main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port 8081 (http) with context path ''
[main] INFO com.alibaba.cloud.example.ai.rag.RAGApplication - Started RAGApplication in 3.042 seconds (process running for 3.474)
[main] INFO com.alibaba.cloud.example.ai.rag.loader.RAGDataLoader - Creating Embeddings...