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

[feature] :support alibaba Ai #2153

Merged
merged 34 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
f3b9bdf
[feature] : ai
Yanshuming1 Jun 19, 2024
c28c373
[feature] : ai
Yanshuming1 Jun 19, 2024
fa3c5d6
[feature] : ai
Yanshuming1 Jun 19, 2024
0a562f0
[feature] : ai
Yanshuming1 Jun 19, 2024
9842953
[feature] : ai
Yanshuming1 Jun 19, 2024
92838b0
[feature] : ai
Yanshuming1 Jun 22, 2024
28ff307
[feature] : ai
Yanshuming1 Jun 22, 2024
ff8f894
[feature] : ai
Yanshuming1 Jun 22, 2024
597ad83
[feature] : ai
Yanshuming1 Jun 22, 2024
9ba43a6
[feature] : fix AIConstants
Yanshuming1 Jun 22, 2024
341e1ad
[feature] : fix AIConstants
Yanshuming1 Jun 22, 2024
03dd8b6
[feature] : fix AIConstants
Yanshuming1 Jun 22, 2024
6954921
[feature] : fix AIConstants
Yanshuming1 Jun 22, 2024
af19c06
[feature] : fix AIConstants
Yanshuming1 Jun 23, 2024
0c8a5bd
[feature] : fix AIConstants
Yanshuming1 Jun 23, 2024
918e0b8
Merge branch 'master' into AI
zqr10159 Jun 23, 2024
60ec4c6
[check] : check ci
Yanshuming1 Jun 23, 2024
afda40d
Merge remote-tracking branch 'origin/AI' into AI
Yanshuming1 Jun 23, 2024
d53cb17
[check] : check ci
Yanshuming1 Jun 23, 2024
2b00e5b
Merge branch 'master' into AI
tomsun28 Jun 24, 2024
f839a3e
Merge branch 'master' into AI
tomsun28 Jun 25, 2024
4756005
Merge branch 'master' into AI
tomsun28 Jun 25, 2024
28c18f1
Merge remote-tracking branch 'refs/remotes/upstream/master' into supp…
Yanshuming1 Jun 25, 2024
7d466ba
[improve] : fix AiService getType method data type,complete informati…
Yanshuming1 Jun 25, 2024
3be60b8
[feature] :support alibaba Ai
Yanshuming1 Jun 26, 2024
487bed5
[feature] :support alibaba Ai
Yanshuming1 Jun 27, 2024
a1112a4
[feature] :support alibaba Ai
Yanshuming1 Jun 27, 2024
8076e36
Merge remote-tracking branch 'refs/remotes/upstream/master' into alib…
Yanshuming1 Jun 28, 2024
cc8c96c
[feature] :support alibaba Ai
Yanshuming1 Jun 28, 2024
acaa96e
Merge branch 'master' into alibabaAi
zqr10159 Jun 28, 2024
67786cf
Merge branch 'master' into alibabaAi
tomsun28 Jul 1, 2024
de769b7
[feature] : check ci
Yanshuming1 Jul 1, 2024
4f9a93b
Merge remote-tracking branch 'origin/alibabaAi' into alibabaAi
Yanshuming1 Jul 1, 2024
49d1eae
Merge branch 'master' into alibabaAi
zqr10159 Jul 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[feature] : ai
  • Loading branch information
Yanshuming1 committed Jun 22, 2024
commit 28ff307abc97476e6e8ef0e8a57dc2edaa90e665
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ private ServerSentEvent<String> convertToResponse(String aiRes) {
if (Objects.nonNull(zhiPuAIResponse)) {
ZhiPuAIResponse.Choice choice = zhiPuAIResponse.getChoices().get(0);
String content = choice.getDelta().getContent();
// 返回封装好的ServerSentEvent
return ServerSentEvent.<String>builder()
.data(content)
.build();
Expand Down
2 changes: 1 addition & 1 deletion manager/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ sureness:
spring:
config:
activate:
on-profile: dev
on-profile: prod

datasource:
driver-class-name: org.h2.Driver
Expand Down