Skip to content

Commit f7a331d

Browse files
committed
polish deepseek example
1 parent a5f1aba commit f7a331d

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

spring-ai-alibaba-chat-example/deepseek-chat/deepseek-chat-client/src/main/resources/application.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ spring:
77

88
ai:
99
openai:
10-
api-key:
11-
${AI_OPENAI_API_KEY}
12-
base-url: ${AI_OPENAI_BASE_URL}
10+
api-key: ${AI_DEEPSEEK_API_KEY}
11+
base-url: https://api.deepseek.com
1312
chat:
1413
options:
15-
model: ${AI_OPENAI_CHAT_MODEL}
14+
model: deepseek-chat
1615
embedding:
1716
enabled: false

spring-ai-alibaba-chat-example/deepseek-chat/deepseek-chat-model/src/main/resources/application.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ spring:
77

88
ai:
99
openai:
10-
api-key: ${AI_OPENAI_API_KEY}
11-
base-url: ${AI_OPENAI_BASE_URL}
10+
api-key: ${AI_DEEPSEEK_API_KEY}
11+
base-url: https://api.deepseek.com
1212
chat:
1313
options:
14-
model: ${AI_OPENAI_CHAT_MODEL}
14+
model: deepseek-chat
1515
embedding:
1616
enabled: false

spring-ai-alibaba-chat-example/deepseek-chat/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
<description>Spring AI Alibaba DeepSeek Chat Example</description>
3535
<name>Spring AI Alibaba DeepSeek Chat Examples</name>
3636

37+
<modules>
38+
<module>deepseek-chat-model</module>
39+
<module>deepseek-chat-client</module>
40+
</modules>
41+
3742
<dependencies>
3843
<dependency>
3944
<groupId>org.springframework.boot</groupId>
@@ -46,11 +51,6 @@
4651
</dependency>
4752
</dependencies>
4853

49-
<!-- <modules>-->
50-
<!-- <module>deepseek-chat-model</module>-->
51-
<!-- <module>deepseek-chat-client</module>-->
52-
<!-- </modules>-->
53-
5454
<build>
5555
<plugins>
5656
<plugin>

0 commit comments

Comments
 (0)