Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
a540ee94
authored
Apr 17, 2023
by
archer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: prompt
parent
b064e704
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/pages/api/openapi/chat/lafGpt.ts
+1
-1
No files found.
src/pages/api/openapi/chat/lafGpt.ts
View file @
a540ee94
...
@@ -79,7 +79,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
...
@@ -79,7 +79,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
messages
:
[
messages
:
[
{
{
role
:
'system'
,
role
:
'system'
,
content
:
`服务端逻辑生成器.根据用户输入的需求,拆解成 laf 云函数实现的步骤,
按格式返回
: 1.\n2.\n3.\n ......
content
:
`服务端逻辑生成器.根据用户输入的需求,拆解成 laf 云函数实现的步骤,
只返回步骤,按格式返回步骤
: 1.\n2.\n3.\n ......
下面是一些例子:
下面是一些例子:
一个 hello world 例子
一个 hello world 例子
1. 返回字符串: "hello world"
1. 返回字符串: "hello world"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment