File tree Expand file tree Collapse file tree 4 files changed +25
-3
lines changed
docSite/content/zh-cn/docs/use-cases/external-integration
packages/service/support/outLink Expand file tree Collapse file tree 4 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -55,3 +55,10 @@ weight: 505
5555应用发布后,即可在钉钉企业中使用机器人功能,可对机器人私聊。或者在群组添加机器人后` @机器人 ` ,触发对话。
5656
5757![ 图片8] ( /imgs/dingtalk-bot-8.png )
58+
59+
60+ ## FAQ
61+
62+ ### 如何新开一个聊天记录
63+
64+ 如果你想重置你的聊天记录,可以给机器人发送 ` Reset ` 消息(注意大小写),机器人会新开一个聊天记录。
Original file line number Diff line number Diff line change @@ -94,4 +94,13 @@ Verification Token 默认生成的这个 Token 用于校验来源。但我们使
94941 . 检查飞书机器人回调地址、权限等是否正确。
95952 . 查看 FastGPT 对话日志,是否有对应的提问记录
96963 . 如果有记录,飞书没回应,则是没给机器人开权限。
97- 4 . 如果没记录,则可能是应用运行报错了,可以先试试最简单的机器人。(飞书机器人无法输入全局变量、文件、图片内容)
97+ 4 . 如果没记录,则可能是应用运行报错了,可以先试试最简单的机器人。(飞书机器人无法输入全局变量、文件、图片内容)
98+
99+ ### 如何新开一个聊天记录
100+
101+ 飞书机器人的聊天记录 chatId 包含几种来源:
102+ 1 . 私聊聊天框
103+ 2 . 飞书话题群中单个话题
104+ 3 . 群组聊天中,由群 id+个人id 组成。
105+
106+ 如果你想重置你的聊天记录,可以给机器人发送 ` Reset ` 消息(注意大小写),机器人会新开一个聊天记录。
Original file line number Diff line number Diff line change @@ -122,3 +122,9 @@ weight: 506
122122## 7. 开始使用
123123
124124现在用户向公众号发消息,消息则会被转发到 FastGPT,通过公众号返回对话结果。
125+
126+ ## FAQ
127+
128+ ### 如何新开一个聊天记录
129+
130+ 如果你想重置你的聊天记录,可以给机器人发送 ` Reset ` 消息(注意大小写),机器人会新开一个聊天记录。
Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ import { MongoOutLink } from './schema';
33import { FastGPTProUrl } from '../../common/system/constants' ;
44import { ChatHistoryItemResType } from '@fastgpt/global/core/chat/type' ;
55
6- export const addOutLinkUsage = async ( {
6+ export const addOutLinkUsage = ( {
77 shareId,
88 totalPoints
99} : {
1010 shareId : string ;
1111 totalPoints : number ;
1212} ) => {
13- MongoOutLink . findOneAndUpdate (
13+ return MongoOutLink . findOneAndUpdate (
1414 { shareId } ,
1515 {
1616 $inc : { usagePoints : totalPoints } ,
You can’t perform that action at this time.
0 commit comments