# spring-ai-demo **Repository Path**: eshin/spring-ai-demo ## Basic Information - **Project Name**: spring-ai-demo - **Description**: springai简单DEMO示例 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-09-30 - **Last Updated**: 2024-09-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 本DEMO示例在spring-ai-demo\src\test\java\com\eshin\demo\DemoApplicationTests.java中 如果需要使用Alibaba dashscope平台的接口,请自行申请dashscope的api-key并配置到spring.ai.dashscope.api-key 如果使用本地类openai chat接口,请配置: spring.ai.openai.chat.base-url=http://127.0.0.1:9050/qwen1.5-32b/ 如果使用本地类openai embedding接口,请配置: spring.ai.openai.embedding.base-url=http://127.0.0.1:5000