mirror of
https://github.com/toeverything/AFFiNE.git
synced 2025-01-03 21:35:19 +03:00
feat: add slide action (#6560)
This commit is contained in:
parent
d00879aceb
commit
50292ba008
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user