Skip to content

Commit 8f095d7

Browse files
committed
doc: update readme
1 parent 21cb42e commit 8f095d7

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@ cd mysql/init
3939
# 编辑环境变量
4040
vi .env
4141

42-
# 服务启动
42+
# 服务启动+RAG
4343
docker compose up -d
44+
45+
# 不启动RAG服务
46+
docker compose up -d frontend backend
4447
```
4548

4649
#### 方式二:使用内置 MySQL

backend/internal/pkg/utils/util.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -115,19 +115,6 @@ func SplitIntegerToObject(n int, j []string) map[string]int {
115115
return result
116116
}
117117

118-
// Base64ToBlob converts a base64 string to a blob
119-
// func Base64ToBlob(base64String string, mimeType string) ([]byte, error) {
120-
// return base64.StdEncoding.DecodeString(base64String)
121-
// }
122-
123-
// GenerateAudioFileKey generates a unique key for audio files
124-
// func GenerateAudioFileKey(userID int, questionID int) string {
125-
// now := time.Now()
126-
// formattedDate := now.Format("2006_01_02")
127-
// timestamp := now.Unix()
128-
// return fmt.Sprintf("%d_%d_%s_%d.mp3", userID, timestamp, formattedDate, questionID)
129-
// }
130-
131118
// PushWeChatInfo 生成企业微信群消息
132119
func PushWeChatInfo(pathWithNamespace, mergeURL, result string, id int) string {
133120
return fmt.Sprintf(`🔍 您的「%s」合并请求「[%s](%s)」触发了AI检测,详情如下:

0 commit comments

Comments
 (0)