diff options
author | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-11-07 03:36:50 -0500 |
---|---|---|
committer | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-11-07 03:36:50 -0500 |
commit | 9b42bf8ab277979194e4ef73152b6b23c479786b (patch) | |
tree | 09ce3f4a22de3652b3ede3b4593efafd90417db7 /src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateManager.tsx | |
parent | 9f0ae26a91e51b4ba927d9db8d717b8435ecde1a (diff) |
gpt text gen working for previews
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateManager.tsx')
-rw-r--r-- | src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateManager.tsx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateManager.tsx b/src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateManager.tsx index d47ae802c..890bc6f73 100644 --- a/src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateManager.tsx +++ b/src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateManager.tsx @@ -17,18 +17,6 @@ export class TemplateManager { return initializedTemplates; } - /** - * Provides a text summary of content currently filled into a template, formatted for GPT analysis. - * @param template the template to be summarized - */ - getContentSummary = (template: Template) => { - let summary: string = ''; - template.contentFields.forEach(field => { - summary += `--- Field #${field.getID} (title: ${field.getTitle()}): ${field.getContent() ?? ''} ---`; - }); - return summary; - } - getValidTemplates = (cols: Col[]): Template[] => { return this.templates.filter(template => template.isValidTemplate(cols)); } |