mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
chore: cleanup outdated model & upgrade model (#7739)
This commit is contained in:
@@ -2,16 +2,14 @@
|
||||
// TODO(@Peng): automate this
|
||||
export const promptKeys = [
|
||||
'debug:chat:gpt4',
|
||||
'debug:action:gpt4',
|
||||
'debug:action:vision4',
|
||||
'debug:action:dalle3',
|
||||
'debug:action:fal-sd15',
|
||||
'debug:action:fal-upscaler',
|
||||
'debug:action:fal-remove-bg',
|
||||
'debug:action:fal-face-to-sticker',
|
||||
'debug:action:fal-summary-caption',
|
||||
'chat:gpt4',
|
||||
'Summary',
|
||||
'Generate a caption',
|
||||
'Summary the webpage',
|
||||
'Explain this',
|
||||
'Explain this image',
|
||||
|
||||
@@ -382,7 +382,7 @@ Could you make a new website based on these notes and send back just the html fi
|
||||
return textToText({
|
||||
...options,
|
||||
content: options.input,
|
||||
promptName: 'debug:action:fal-summary-caption',
|
||||
promptName: 'Generate a caption',
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -95,9 +95,7 @@ export interface CopilotMessageNotFoundDataType {
|
||||
export enum CopilotModels {
|
||||
DallE3 = 'DallE3',
|
||||
Gpt4Omni = 'Gpt4Omni',
|
||||
Gpt4TurboPreview = 'Gpt4TurboPreview',
|
||||
Gpt4VisionPreview = 'Gpt4VisionPreview',
|
||||
Gpt35Turbo = 'Gpt35Turbo',
|
||||
Gpt4OmniMini = 'Gpt4OmniMini',
|
||||
TextEmbedding3Large = 'TextEmbedding3Large',
|
||||
TextEmbedding3Small = 'TextEmbedding3Small',
|
||||
TextEmbeddingAda002 = 'TextEmbeddingAda002',
|
||||
|
||||
Reference in New Issue
Block a user