mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 10:22:55 +08:00
feat: add slide action (#6560)
This commit is contained in:
@@ -220,6 +220,14 @@ export function setupAIProvider() {
|
||||
});
|
||||
});
|
||||
|
||||
AIProvider.provide('createSlides', options => {
|
||||
return textToText({
|
||||
...options,
|
||||
content: options.input,
|
||||
promptName: 'Create a presentation',
|
||||
});
|
||||
});
|
||||
|
||||
AIProvider.provide('histories', {
|
||||
actions: async (
|
||||
workspaceId: string,
|
||||
|
||||
Reference in New Issue
Block a user