-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feature][chat]Support creation of chat memory via REST API.#1603
- Loading branch information
1 parent
f7da6b8
commit aebb6b7
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
chat/api/src/main/java/com/tencent/supersonic/chat/api/pojo/request/ChatMemoryCreateReq.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.tencent.supersonic.chat.api.pojo.request; | ||
|
||
import com.tencent.supersonic.chat.api.pojo.enums.MemoryStatus; | ||
import com.tencent.supersonic.common.pojo.RecordInfo; | ||
import lombok.Data; | ||
|
||
@Data | ||
public class ChatMemoryCreateReq extends RecordInfo { | ||
|
||
private Integer agentId; | ||
|
||
private String question; | ||
|
||
private String dbSchema; | ||
|
||
private String s2sql; | ||
|
||
private MemoryStatus status; | ||
} |
This file contains 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