mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
Merge branch 'v2' of https://github.com/gaoao-3/chatgpt-plugin into v2
This commit is contained in:
commit
5c3f59a556
1 changed files with 2 additions and 2 deletions
|
|
@ -59,11 +59,11 @@ async function summarizeURL(url, length) {
|
|||
messages: [
|
||||
{
|
||||
role: 'system',
|
||||
content: `You are a helpful assistant that summarizes web pages. Please summarize the content of the following URL in ${length} sentences. Provide a concise and clear summary.`,
|
||||
content: `You are a summarization assistant. Summarize the content of the following URL in ${length} sentences in Chinese.`,
|
||||
},
|
||||
{
|
||||
role: 'user',
|
||||
content: `Summarize this URL: ${url}`, // Directly send the URL
|
||||
content: `Summarize this article: ${url}`, // Directly send the URL
|
||||
},
|
||||
],
|
||||
max_tokens: 150 * length,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue