mirror of
http://112.124.100.131/ebiz-ai/ebiz-base-ai.git
synced 2025-12-11 11:56:51 +08:00
refactor(recommend): 修正聊天数据操作类型并优化欢迎消息- 将 chatData 中的 action 类型从 'product_recommand' 修改为 'product_recommend',统一命名规范
- 更新欢迎消息,使其更加个性化和贴切,强调根据用户信息进行推荐
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
:is-searching.sync="isSearching"
|
:is-searching.sync="isSearching"
|
||||||
:product-name.sync="productName"
|
:product-name.sync="productName"
|
||||||
:autoScrollEnabled.sync="autoScrollEnabled"
|
:autoScrollEnabled.sync="autoScrollEnabled"
|
||||||
:chatData="{ action: 'product_recommand' }"
|
:chatData="{ action: 'product_recommend' }"
|
||||||
@getIsThink="getIsThink"
|
@getIsThink="getIsThink"
|
||||||
></chatMessage>
|
></chatMessage>
|
||||||
</div>
|
</div>
|
||||||
@@ -60,7 +60,7 @@ export default {
|
|||||||
messages: [
|
messages: [
|
||||||
{
|
{
|
||||||
type: 'bot',
|
type: 'bot',
|
||||||
text: '欢迎使用产品推荐智能助手,我将推荐符合您的产品',
|
text: '欢迎使用产品推荐智能助手,我将根据您的信息为您推荐更适合您的产品',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
isSearching: false,
|
isSearching: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user