mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-07-14 11:15:11 +08:00
@@ -0,0 +1,16 @@
|
||||
import { getCoreContentText } from '../../utils/get-core-content-text'
|
||||
|
||||
export const config = {
|
||||
newChat: {
|
||||
label: 'New Chat',
|
||||
genPrompt: async () => {
|
||||
return ''
|
||||
},
|
||||
},
|
||||
summarizePage: {
|
||||
label: 'Summarize Page',
|
||||
genPrompt: async () => {
|
||||
return `The following is the text content of a web page, analyze the core content and summarize:\n${getCoreContentText()}`
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user