{"id":962,"date":"2024-11-27T19:51:52","date_gmt":"2024-11-27T19:51:52","guid":{"rendered":"https:\/\/doublelayer.eu\/vilab\/?p=962"},"modified":"2024-12-12T11:55:40","modified_gmt":"2024-12-12T11:55:40","slug":"my-first-presentation-generated-with-ai","status":"publish","type":"post","link":"https:\/\/doublelayer.eu\/vilab\/2024\/11\/27\/my-first-presentation-generated-with-ai\/","title":{"rendered":"My first presentation generated with AI"},"content":{"rendered":"\n<p>I am working on a presentation and use AI for the first time to draft some texts.<\/p>\n\n\n\n<p>There are already existing solutions. Like plug-ins for google slides and copilot that works with powerpoint. I am using chatGPT and work in google slides.<\/p>\n\n\n\n<p>Here is how I add some slides through app scripts:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function addSlide() {\n    const presentationName = \"ScientificActivities\";\n    const presentations = DriveApp.getFilesByName(presentationName);\n    if (!presentations.hasNext()) return;\n\n    const presentation = SlidesApp.openById(presentations.next().getId());\n    const layouts = presentation.getMasters()&#91;0].getLayouts();\n    const targetLayout = layouts.find(layout =&gt; layout.getLayoutName() === \"OBJECT\");\n    if (!targetLayout) return;\n\n    const titleText = \"Bridging Modelling and Scalable Chemical Processes\"; \/\/ Edit title here\n    const bodyText = \"Assoc. Prof. Vladislav Ivani\u0161t\u0161ev\"; \/\/ Edit body content here\n\n    const newSlide = presentation.appendSlide(targetLayout);\n    newSlide.getPlaceholder(SlidesApp.PlaceholderType.TITLE).asShape().getText().setText(titleText);\n    newSlide.getPlaceholder(SlidesApp.PlaceholderType.BODY).asShape().getText().setText(bodyText);\n}\n<\/code><\/pre>\n\n\n\n<p>Title and body can be generated by &#8230; within a long conversation with my personal research assistants. I enjoy the process because these skills will save me a lot of time in the future, although right now it took me some hours to get this simple code working. I have also used AI to find and download a dozen on logos of universities that I have visited (shown below). And it saved me time to get facts from my CV right into the slides.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"248\" src=\"https:\/\/doublelayer.eu\/vilab\/wp-content\/uploads\/2024\/12\/\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435-1024x248.png\" alt=\"\" class=\"wp-image-968\" srcset=\"https:\/\/doublelayer.eu\/vilab\/wp-content\/uploads\/2024\/12\/\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435-1024x248.png 1024w, https:\/\/doublelayer.eu\/vilab\/wp-content\/uploads\/2024\/12\/\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435-300x73.png 300w, https:\/\/doublelayer.eu\/vilab\/wp-content\/uploads\/2024\/12\/\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435-768x186.png 768w, https:\/\/doublelayer.eu\/vilab\/wp-content\/uploads\/2024\/12\/\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435-1536x372.png 1536w, https:\/\/doublelayer.eu\/vilab\/wp-content\/uploads\/2024\/12\/\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435-220x53.png 220w, https:\/\/doublelayer.eu\/vilab\/wp-content\/uploads\/2024\/12\/\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435.png 1916w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I am working on a presentation and use AI for the first time to draft some texts. There are already existing solutions. Like plug-ins for google slides and copilot that works with powerpoint. I am using chatGPT and work in google slides. Here is how I add some slides through app scripts: Title and body&hellip; <a class=\"read-more\" href=\"https:\/\/doublelayer.eu\/vilab\/2024\/11\/27\/my-first-presentation-generated-with-ai\/\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[64,65],"class_list":["post-962","post","type-post","status-publish","format-standard","hentry","category-know-how","tag-ai","tag-gpt"],"_links":{"self":[{"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/posts\/962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/comments?post=962"}],"version-history":[{"count":2,"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/posts\/962\/revisions"}],"predecessor-version":[{"id":969,"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/posts\/962\/revisions\/969"}],"wp:attachment":[{"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/media?parent=962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/categories?post=962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/tags?post=962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}