mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-24 04:27:27 +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', {
|
AIProvider.provide('histories', {
|
||||||
actions: async (
|
actions: async (
|
||||||
workspaceId: string,
|
workspaceId: string,
|
||||||
|
|||||||
Reference in New Issue
Block a user