BIGTOP-4209: Add backend API for AI Chat functionality#55
Merged
kevinw66 merged 37 commits intoapache:mainfrom Aug 30, 2024
Merged
BIGTOP-4209: Add backend API for AI Chat functionality#55kevinw66 merged 37 commits intoapache:mainfrom
kevinw66 merged 37 commits intoapache:mainfrom
Conversation
Member
Author
|
sorry |
kevinw66
requested changes
Aug 27, 2024
...op-manager-dao/src/main/java/org/apache/bigtop/manager/dao/converter/JsonToMapConverter.java
Outdated
Show resolved
Hide resolved
...op-manager-dao/src/main/java/org/apache/bigtop/manager/dao/converter/JsonToMapConverter.java
Outdated
Show resolved
Hide resolved
bigtop-manager-server/src/main/resources/ddl/MySQL-DDL-CREATE.sql
Outdated
Show resolved
Hide resolved
Member
Author
lhpqaq
commented
Aug 28, 2024
...nager-ai-bigmodel/src/main/java/org/apache/bigtop/manager/ai/bigmodel/BigModelAssistant.java
Outdated
Show resolved
Hide resolved
lhpqaq
commented
Aug 28, 2024
...nager-ai-bigmodel/src/main/java/org/apache/bigtop/manager/ai/bigmodel/BigModelAssistant.java
Outdated
Show resolved
Hide resolved
kevinw66
requested changes
Aug 29, 2024
bigtop-manager-server/src/main/resources/ddl/MySQL-DDL-CREATE.sql
Outdated
Show resolved
Hide resolved
bigtop-manager-server/src/main/resources/ddl/MySQL-DDL-CREATE.sql
Outdated
Show resolved
Hide resolved
Member
Author
|
PTAL @kevinw66 |
kevinw66
requested changes
Aug 30, 2024
| public class PlatformAuthorizedPO extends BasePO implements Serializable { | ||
|
|
||
| @Id | ||
| @GeneratedValue(strategy = GenerationType.TABLE, generator = "llm_platform_authorized_generator") |
| private Long userId; | ||
|
|
||
| @Column(name = "thread_id") | ||
| private Long chatThreadId; |
Contributor
There was a problem hiding this comment.
Please use threadId instead
| import java.util.List; | ||
|
|
||
| public interface ChatThreadDao extends BaseDao<ChatThreadPO> { | ||
| List<ChatThreadPO> findAllByUserId(@Param("user_id") Long userId); |
Contributor
There was a problem hiding this comment.
Param should use camelcase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://issues.apache.org/jira/projects/BIGTOP/issues/BIGTOP-4209
intern: https://gitee.com/openeuler/opensource-intern/issues/IAG904