Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f022e061
authored
Apr 04, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改提示语
1 parent
3ac47908
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/clientManage/index.vue
src/views/clientManage/index.vue
View file @
f022e06
...
@@ -740,8 +740,8 @@ export default {
...
@@ -740,8 +740,8 @@ export default {
for
(
let
index
=
0
;
index
<
list
.
length
;
index
++
)
{
for
(
let
index
=
0
;
index
<
list
.
length
;
index
++
)
{
let
{
customerName
,
customerSex
,
customerPhone
,
buyDate
,
carVin
,
carNumber
}
=
list
[
index
]
let
{
customerName
,
customerSex
,
customerPhone
,
buyDate
,
carVin
,
carNumber
}
=
list
[
index
]
// const content = `忽略之前的上下文,对姓名为${k.customerName}客户,${k.customerName}是一个人,性别为${{ 1: '男', 2: '女' }[k.customerSex] || '先生/女士'},客户手机号为${k.customerPhone},${k.customerPhone}是客户的电话不是客服电话;生成一条最少100字的4s店新车营销文案,字段命名为content。只需content一个字段即可;输出json格式`
// const content = `忽略之前的上下文,对姓名为${k.customerName}客户,${k.customerName}是一个人,性别为${{ 1: '男', 2: '女' }[k.customerSex] || '先生/女士'},客户手机号为${k.customerPhone},${k.customerPhone}是客户的电话不是客服电话;生成一条最少100字的4s店新车营销文案,字段命名为content。只需content一个字段即可;输出json格式`
// console.log(content, 'content')
// console.log(content, 'content')
车架号:${carVin},
cutomerInfo
.
push
(
`客户
${
index
+
1
}
,姓名:
${
customerName
}
,性别:
${{
1
:
'男'
,
2
:
'女'
}
[customerSex] || '先生/女士'},电话:
${
customerPhone
}
,购车日期:
${
buyDate
}
,车
架号:
${
carVin
}
,车
牌号:
${
carNumber
}
`
)
cutomerInfo
.
push
(
`客户
${
index
+
1
}
,姓名:
${
customerName
}
,性别:
${{
1
:
'男'
,
2
:
'女'
}
[customerSex] || '先生/女士'},电话:
${
customerPhone
}
,购车日期:
${
buyDate
}
,车牌号:
${
carNumber
}
`
)
}
}
content
+=
`
${
cutomerInfo
.
join
(
';'
)}
;请根据客户的特征,分别为每个客户生成一条50字左右关于
${
this
.
keys
.
subject
||
''
}
的营销文案。字段命名为content;整条结果以数组输出,命名为customers。输出json格式.`
content
+=
`
${
cutomerInfo
.
join
(
';'
)}
;请根据客户的特征,分别为每个客户生成一条50字左右关于
${
this
.
keys
.
subject
||
''
}
的营销文案。字段命名为content;整条结果以数组输出,命名为customers。输出json格式.`
this
.
$apis
.
crowdManage
.
gpt
(
content
).
then
(
result
=>
{
this
.
$apis
.
crowdManage
.
gpt
(
content
).
then
(
result
=>
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment