Excalidraw Writing Machine: Generate articles from your Visual Zettelkasten cards in Obsidian

Zsolt's Visual Personal Knowledge Management
22 Aug 202429:17

Summary

TLDRこのビデオでは、視覚的な情報管理(PKM)のフレームワークを紹介し、記事のビジュアルレイアウトをPDFに変換する方法を説明しています。テキストとイラストを組み合わせることで、記事の流れが明確になり、公開に近いドキュメントを作成することができます。Zettelkastenシステムを活用し、記事の初稿を効率的に作成する方法も提案されています。さらに、AIを活用して記事を自動生成する方法も紹介されています。

Takeaways

  • 📚 動画では、記事のビジュアルレイアウトをPDFドキュメントに変換する方法が紹介されています。
  • 🎨 ビジュアルPKMのワークフローは、個々のニーズに応じて柔軟に適用できます。
  • 🔗 Zettelkastenシステムの強みは、プロジェクトをゼロから始めることなく、既存の情報を利用して記事の初稿を作成できることです。
  • 📈 4D PKMは、テキストの次元に、リンクやイラストを加えることで情報をさらに豊かにします。
  • 🎭 ビジュアルノートは、テキストと異なる並列処理で視覚情報を処理するため、視覚的にアイデアを整理することが重要です。
  • 📝 視覚Zettelkastenは、カードの両面に視覚的な要約とサポート情報(出典や関連ノート)を含めることができます。
  • 🤖 AIを活用して、生成されたテキストをさらに自動化し、記事の完成度を高めることができます。
  • 📑 Excalidrawスクリプトを使用して、ビジュアルレイアウトからテキストを抽出し、記事の構造を自動生成します。
  • 🛠️ テンプレートやAIツールを組み合わせることで、記事のスタイルやフォーマットをカスタマイズできます。
  • 🔧 Excalidrawスクリプトは編集可能で、個々のZettelkastenシステムに合わせて調整できます。
  • 👀 矢印の配置順序は、スクリプトによって解釈される記事の流れに影響を与えるため、注意して配置する必要があります。

Q & A

  • ビデオで紹介された「visual PKM」とは何ですか?

    -visual PKMとは、視覚的に情報を整理し、記事やブログポストなどの創作プロセスを効率化する手法です。テキストと画像を組み合わせて情報を整理し、より効果的な情報管理と創作を可能にします。

  • ビデオの目的は何ですか?

    -ビデオの目的は、視覚的に記事のレイアウトをPDFドキュメントに変換し、テキストの流れが自然で読みやすい、ほぼ出版準備ができているドキュメントを作成する方法を示すことです。

  • Zettelkastenシステムとは何であり、どのように役立つのですか?

    -Zettelkastenはドイツ語で「ノートの箱」を意味し、情報をカードやノートとして整理するシステムです。このシステムにより、新しいプロジェクトを始めた際にゼロから始めることなく、既存のノートから情報を引き出して記事のドラフトを作成することができます。

  • 4D PKMとは何で、なぜ重要なのですか?

    -4D PKMは、テキスト(一次元)、個々のドキュメント(二次元)、ノート間のリンク(三次元)、そしてイラストやアイコンなどの視覚要素(四次元)を含む情報管理システムです。視覚的な情報処理は並列的に行われ、テキストと比べて情報の整理と理解を助けます。

  • ビデオで紹介された「visual Zettelkasten」とは何ですか?

    -visual Zettelkastenは、視覚的な側面とテキストの側面を持つノートを作成し、カードの表側に視覚的な表現を、裏側にサポート的な背景情報を配置するシステムです。これにより、アイデアを視覚的に組織化し、より強力な情報管理が実現できます。

  • Excalidrawスクリプトとは何であり、どのように使われるのですか?

    -Excalidrawスクリプトは、Excalidrawという図形作成ツールを自動化するためのスクリプトで、記事のレイアウトからテキストを抽出し、それに基づいてドキュメントを作成します。

  • AIを使って記事を生成する際の利点は何ですか?

    -AIを利用することで、既存のテキストを分析し、新しいコンテンツを生成することができます。これにより、創造的なプロセスを加速させ、記事の質や多様性を高めることができます。

  • テンプレートを使用する際の注意点は何ですか?

    -テンプレートを使用する際は、生成されたテキストがテンプレートのプレースホルダに適切に置き換わることを確認する必要があります。また、テンプレートの選択は記事の内容や目的に合わせて行う必要があります。

  • スクリプトの設定を変更するにはどうすれば良いですか?

    -スクリプトの設定を変更するには、Excalidrawのプラグイン設定から「Excalidraw Writing Machine」を見つけ、必要に応じて概要のセクション名やソースのセクション名、テンプレートのパス、画像の埋め込み設定などを変更します。

  • スクリプトをカスタマイズする際のポイントは何ですか?

    -スクリプトをカスタマイズする際は、自分のZettelkastenシステムに合わせて調整し、必要に応じてExcalidrawスクリプトのコメントや構造を理解して編集する必要があります。また、エラーを見つけるためには、開発者コンソールを利用して生成された変数を確認することも重要です。

  • ビデオで紹介されたワークショップとは何ですか?

    -ビデオで紹介されたワークショップは、視覚的思考フレームワークやPKMに関する詳細を学ぶことができるプログラムです。参加者はフレームワークの詳細を学び、スクリプトやObsidianの自動化についても議論することができます。

Outlines

00:00

😀 視覚的なPKMの紹介

この段落では、Joltが視覚的なPKM(Personal Knowledge Management)を紹介し、記事の視覚レイアウトをPDFに変換する方法を説明しています。このプロセスは、テキストの流れが自然で、イラストが適切に配置され、ほぼ出版準備ができているドキュメントを作成することができます。Joltは、このワークフローは個々のニーズに応じて柔軟に適用できると強調しています。

05:02

📚 Zettelkastenシステムの可能性

第二段落では、Zettelkastenシステムの可能性について議論されています。Joltは、良いZettelkastenシステムがあれば、ブログ記事や動画、記事など、何をしていても最初から始めることなく、既存の情報を元に記事のドラフトを作成できると説明しています。また、4次元PKMと視覚的なZettelkastenの概念についても紹介しており、テキストと視覚情報を組み合わせることでの知覚の違いを強調しています。

10:02

🖌️ 視覚的なZettelkastenの活用

第三段落では、視覚的なZettelkastenの活用方法が紹介されています。Joltは、Excalidrawのノートの両面、すなわちマークダウン側とイラスト側を利用することで、視覚的な概要と裏側のサポート情報を組み合わせることができると説明しています。このアプローチは、アイデアの視覚的な組織化を促進し、より強力な情報管理を可能にします。

15:03

🔧 執筆マシンスクリプトの紹介

第四段落では、Excalidrawのスクリプトである執筆マシンスクリプトの機能とインストール方法について説明されています。このスクリプトは、視覚レイアウトからテキストを抽出し、記事の骨組みを作成することができます。Joltは、スクリプトの使い方と、Obsidianのツールパネルからスクリプトをインストールする手順を紹介しています。

20:07

🤖 AIを用いた記事生成

第五段落では、AIを利用して記事を生成する方法が紹介されています。Joltは、生成されたテキストをChad GPTに貼り付け、より高度な記事を作成するプロセスを説明しています。また、AI for Templatorというプラグインを用いて、テンプレートから記事を生成するプロセスも紹介されています。

25:08

🛠️ スクリプトのカスタマイズと注意点

第六段落では、スクリプトのカスタマイズ方法と注意点が紹介されています。Joltは、スクリプトの編集方法と、Excalidrawのスクリプト機能の柔軟性を強調しています。また、矢印の配置順序が生成されたテキストの流れに影響を与えるため、注意を払う必要があると警告しています。

Mindmap

Keywords

💡visual PKM

visual PKMは、視覚的な要素を利用して個人の知識を整理し、管理する手法を指します。このビデオでは、視覚的なレイアウトからPDF文書への変換方法が紹介されており、テキストの流れとイラストの組み合わせが重要です。視覚的な情報処理はテキストとは異なり、並行して処理されるため、視覚的なノートは視覚的な思考フレームワークに適しています。

💡Zettelkasten

Zettelkastenは、ドイツの学者ニコラス・ルメールによって開発された知識管理システムです。ビデオでは、Zettelkastenシステムを用いて記事のドラフトを作成し、それを視覚的なレイアウトに変換する方法が説明されています。Zettelkastenは、個別のカードに情報を整理し、それらを相互にリンクさせることで、複雑な概念を整理しやすくするツールです。

💡4D PKM

4D PKMは、テキストドキュメント、個別ドキュメント、リンク、そしてイラストを組み合わせた四次元的な知識管理手法です。ビデオでは、4D PKMを通じて視覚的なノートを作成し、それらを再利用してアイデアを接続する方法が紹介されています。視覚的な要素の追加は、テキスト情報処理と視覚情報処理の違いを活かし、より強力な知識表現を可能にします。

💡Excalidraw

Excalidrawは、シンプルなスケッチとダイアグラムを作成するためのウェブアプリケーションです。ビデオでは、Excalidrawを使用して視覚的なレイアウトを作成し、それをPDF文書に変換するプロセスが説明されています。Excalidrawのスクリプト機能を利用して、視覚的なノートから自動的に文書を生成することが可能です。

💡テンプレート

テンプレートは、文書やプレゼンテーションの標準的なレイアウトやスタイルを定義するもので、ビデオではExcalidrawスクリプトとAIを使用してテンプレートに基づいて文書を生成する方法が紹介されています。テンプレートは、ユーザーが必要な情報を入力するだけですぐに使用できるようにしており、視覚的なレイアウトから文書を作成するプロセスを効率化します。

💡AI for Templator

AI for Templatorは、テンプレートに基づいてテキストを自動生成するプラグインです。ビデオでは、このプラグインを使用して、Excalidrawで作成された視覚的なノートから文書を生成するプロセスが説明されています。AIの力を借りて、ユーザーはテンプレートに従って記事やレポートを簡単に作成することができ、知識の整理と共有を簡素化できます。

💡Markdown

Markdownは、テキストベースのマークアップ言語で、プレーンテキストファイルに書式を追加するための簡単なルールセットを提供します。ビデオでは、Markdownコードブロックを用いて生成されたテキストをObsidianに貼り付ける方法が示されています。Markdownは、文書の構造やスタイルを定義するのに役立ち、また、AIツールとの互換性も高くなっています。

💡視覚的思考フレームワーク

視覚的思考フレームワークは、視覚的な表現を用いてアイデアを整理し、接続する手法を指します。ビデオでは、このフレームワークに基づいて視覚的なノートを作成し、それらを文書やプレゼンテーションに変換する方法が説明されています。視覚的思考は、人間の視覚的な情報処理能力を利用し、複雑な概念や関係をより直感的に理解しやすくします。

💡生成的AI

生成的AIは、入力されたデータに基づいて新しいテキスト、画像、音楽などを生成するAI技術です。ビデオでは、生成的AIを使用して、視覚的なノートから自動的に文書を生成する方法が紹介されています。生成的AIは、ユーザーの創造的なプロセスを補助し、知識の整理や共有を効率化するのに役立ちます。

💡Obsidian

Obsidianは、ローカルファイルベースの知識管理ツールで、Markdownファイルを用いてノートを整理し、リンクを通じてノート間を接続することができます。ビデオでは、Obsidianを使用して視覚的なノートを管理し、Excalidrawスクリプトを通じてそれらを文書に変換する方法が説明されています。Obsidianの柔軟性とカスタマイズ性は、視覚的思考フレームワークの実践者に適しています。

Highlights

展示如何将文章的视觉布局转换为外观良好、阅读体验佳的PDF文档。

介绍工作流程的灵活性,可以根据个人需求进行调整。

强调Zettelkasten系统的重要性,它承诺用户无需从零开始创作。

解释4D个人知识管理(PKM)的概念,包括文本、独立文档、链接和插图。

讨论视觉思考框架和Zettelkasten在信息处理中的作用。

展示如何使用Excalidraw脚本将视觉布局转换为文档。

介绍Excalidraw写作机器脚本的安装和使用。

展示如何使用AI工具如GPT-3来增强文档内容。

讨论AI for Templator插件的使用,以及如何与Excalidraw脚本结合。

提供模板和脚本的下载链接,以便用户自定义和使用。

展示如何通过调整箭头顺序来控制文档生成的逻辑。

提供关于如何编辑和自定义Excalidraw脚本的提示。

鼓励用户在评论中分享他们使用这些工具的经验和建议。

推广视觉思考工作坊,提供更多关于框架和Obsidian自动化的信息。

总结并强调视觉组织想法和创建文档的潜力。

Transcripts

play00:00

hey everyone it's jolt here welcome to

play00:03

visual PKM in today's video I want to

play00:06

show you how you can convert this visual

play00:09

layout of an article into this PDF

play00:13

document that looks good and reads well

play00:16

the flow of the text makes sense and

play00:19

there are nice illustrations and overall

play00:21

it's a document that's almost publishing

play00:25

ready of course it is not publishing

play00:27

ready you would need to do some more

play00:29

work but this is a pretty good start of

play00:32

an article so before we dive into the

play00:36

guts of the conversation I just want to

play00:38

highlight that what I'm going to show

play00:40

you today is fully adaptable to your

play00:43

needs if you dislike generative AI you

play00:47

can skip that part if you don't want to

play00:50

create custom templator scripts you can

play00:53

skip that part as well the workflow is

play00:56

adaptable to how far you want to go with

play00:58

it now before jumping into the actual

play01:02

solution there are two things I want to

play01:04

talk about just to set the scene thing

play01:08

number one is the promise of zel

play01:11

Cen practically any book you read on

play01:15

this subject you will see this promise

play01:17

that if you have a good zle Casten

play01:20

system then you will never start from

play01:23

scratch be it a blog post a video an

play01:26

article whatever you're working on you

play01:29

will not need to start from scratch

play01:31

because you can simply pick up a branch

play01:34

from your zettle Caston system lay out

play01:37

the cards and bang you have a good draft

play01:41

a good first draft of your article all

play01:44

you need to do is to stitch it together

play01:47

now I've been always envious of this and

play01:50

today I think I have a solution that can

play01:53

actually make this

play01:55

happen the second part of setting the

play01:58

scene is about the promises or claims I

play02:02

make in the mindset visual thinking

play02:05

framework I advocate for

play02:08

four-dimensional PKM and for visual

play02:11

thatle Casten so let's look at these two

play02:14

topics 4D PKM can be best understood

play02:18

bottom up so what is two-dimensional PKM

play02:22

well the First Dimension are the text

play02:25

documents that you're writing and I call

play02:28

this linear text because you need to

play02:31

read from the top left to the bottom

play02:33

right or of course if your language

play02:35

reads from a different direction than

play02:38

following that direction and that's

play02:40

Dimension number one your linear text

play02:43

the second dimension are the separate

play02:46

documents that you're creating each

play02:49

document its own file maybe in your file

play02:53

system you can elevate your game by

play02:56

implementing threedimensional PKM and in

play02:59

my understanding and my

play03:02

interpretation this is what Thiago Forte

play03:05

and Nick Milo are advocating they're

play03:08

Advocates of 3D PKM the third dimension

play03:12

is the links between your notes so if

play03:15

you have a two-dimensional PKM but you

play03:18

add links between keywords and files

play03:22

sort of like your own Viki system then

play03:26

Wikipedia then the third dimension

play03:29

appears here and those are the links now

play03:32

what's the fourth dimension well the

play03:34

fourth dimension is when you start to

play03:37

add illustrations and it's not only

play03:40

adding illustrations but when you start

play03:42

to reuse illustrations like icons and

play03:46

parts of images and use those images

play03:50

across various notes to connect ideas

play03:54

and I call this a next Dimension because

play03:57

the VY processing information is very

play04:01

different from how we process text text

play04:04

we process linearly visuals we process

play04:09

in a parallel way so a good mindset to

play04:13

demonstrate this

play04:14

how a linear text differs from a visual

play04:18

note is if you think about a shop

play04:22

receipt versus a shop window which one

play04:25

is faster if you want to find out what

play04:27

the shop is selling

play04:30

now the other concept I want to talk

play04:34

about is visual thatle

play04:37

castan this Builds on the concept of

play04:41

having notes that have two sides a

play04:45

visual side and a textual side so let me

play04:48

show you in this case if I select my

play04:52

note here and open the back side of the

play04:56

note so the back side is the markdown

play04:59

side of this note then here I have all

play05:02

sorts of text notes that are related to

play05:05

this again if I flip this over to exol

play05:07

dra View mode then I can see the drawing

play05:10

if I flip this over to markdown View

play05:12

mode then I can see the markdown side of

play05:17

the document and I can see my notes of

play05:20

course you can achieve this not only

play05:22

with excolo for example the slide notes

play05:26

on slides in PowerPoint act in a similar

play05:29

surve but my idea is or my advocacy is

play05:33

that this way you can include your

play05:35

visual representation your visual

play05:38

summary on a card on the front and

play05:41

supporting background information like

play05:43

your sources like the summary of the

play05:46

idea like related notes on the back of

play05:48

the card and so my promise is the

play05:53

following that by visually organizing

play05:57

your ideas you get to something that's

play06:00

much more powerful than shuffling bullet

play06:03

points and this is where the whole idea

play06:07

of visual zle castan comes in that you

play06:09

have your notes as visual zle castan

play06:12

notes each of these cards are an

play06:15

individual zettle castan node that you

play06:17

can switch over or flip over to see

play06:20

what's on the back side but when you

play06:22

need to organize your ideas you can

play06:24

organize it at this visual level now the

play06:29

these were the setting the scene topics

play06:33

there's one more thing I wanted to bring

play06:35

in here and that is Ted blizzard who

play06:39

approached me yesterday with an email

play06:42

and he shared with me his idea or vision

play06:45

for the paper writing machine this is

play06:48

practically a tool that helps academics

play06:52

produce documents with citations and

play06:55

this Builds on the whole idea that we

play06:57

talked about until now with the zettle

play07:00

cting system that you're reading books

play07:03

articles take notes on the web and you

play07:07

capture all of these in your zle casting

play07:11

notes and from this you can create maybe

play07:15

VI a data view query maybe with other

play07:17

tools you can create an outline of your

play07:21

paper and then you can convert that into

play07:24

a document that's maybe a ver document

play07:27

or Google Docs or whatever so this is

play07:30

the solution that I want to show you

play07:34

today so the components of the solution

play07:37

that we are going to look at are a

play07:39

visual layout in exol draw and we're

play07:42

going to look at that in just one second

play07:44

it's an exol dra script it's the exol

play07:48

dra writing machine script it's ch GPT

play07:53

obsidian templator and ai4 templator as

play07:56

two additional plugins on top of exol

play08:00

and it's a templator template and again

play08:03

you can go as far or as little as you

play08:07

like so let's start with this visual

play08:11

layout that you can follow so this is

play08:14

the basic concept that first I want to

play08:16

show you and then we'll look at the

play08:20

actual example that we looked at the

play08:22

beginning so this the way this works is

play08:26

the script the exol draw writing machine

play08:30

script will go through your sequence of

play08:34

arrows and capture the text from the

play08:37

different elements so here it will start

play08:41

with the main title then the next lines

play08:45

until there's a fork in the road are

play08:48

just simply going to be paragraphs

play08:50

within that main title or under the main

play08:53

title and then you have a fork on the

play08:56

road then the first text be it on the

play08:59

arrow or be it a separate text element

play09:03

is going to be your section heading and

play09:06

again it's going to be followed by the

play09:08

paragraphs that follow in a linear way

play09:11

later on and if you have a z castan note

play09:14

like in this case so again I can show

play09:16

you this is a zle Casta node that is a

play09:20

very simple node so I have this Source

play09:24

section that says the mindset framework

play09:27

and the idea that this is the idea so if

play09:30

you have this layout then you need to

play09:34

select the very first element in your

play09:37

sequence and you need to

play09:40

run

play09:42

the excal through writing machine script

play09:46

then I run the script I can choose a

play09:50

template to use now I'm going to select

play09:53

another file and press Escape I'll

play09:55

explain about this later for now all I

play09:58

wanted to do is is not to use a template

play10:02

and you can see the end result so

play10:04

there's the main title that's a level

play10:06

two heading then I have paragraph 1 two

play10:10

and three then I have section 2 one here

play10:14

with paragraph one and two and then I

play10:18

have section 22 and I have paragraph 22

play10:22

one I have the image under the image I

play10:25

have the text that we saw on the back

play10:28

and I have the Source here in Brackets

play10:31

afterwards uh so I have the reference to

play10:34

the source for this note so this is the

play10:37

output that the script generates so now

play10:41

let's look at how you can use this

play10:43

output I'm going to close this and I'm

play10:46

going to actually head over to my

play10:49

writing machine demonstrations uh page

play10:54

now before we get going I want to show

play10:56

you how to install the exol writing

play11:00

machine script it's pretty simple you

play11:03

need to click here on the obsidian tools

play11:06

panel and here you need to select the

play11:10

first button that's install or update

play11:13

excal draw scripts and once it loads you

play11:16

need to just type in

play11:19

writing machine it will take you to this

play11:22

link to the excal writing machine and

play11:26

you can click here to install the

play11:30

script so what you can see here are my

play11:33

cards from the book on a page summary

play11:36

for Atomic habits so each of these cards

play11:39

if you can look at this each of these

play11:42

cards you're not going to be very

play11:44

surprised or a visuals that will cost a

play11:47

no so on the back of the card I have

play11:51

some data here about the source about

play11:54

the idea I have my 360 view of the idea

play11:58

and so on on so there's lots of content

play12:01

here for each of the cards as I was

play12:04

creating these cards I was creating each

play12:06

of them as a z Casta note in my system

play12:11

but of course each of these comes from

play12:13

somewhere in uh James clear's book and

play12:17

you can see that I've created this flow

play12:20

that it starts with the book cover then

play12:24

there's a brief introduction of what

play12:28

this article is is going to be about and

play12:31

then I continue on with four sections in

play12:35

my article tiny actions can lead to Big

play12:39

differences why focus on identity and on

play12:42

system is crucial Etc you can read these

play12:46

so if now I click on Atomic habits and

play12:51

again I

play12:52

start the writing

play12:57

machine writing machine script again

play13:00

still I'm not going to choose the

play13:02

templator script I'm going to select

play13:05

another file the reason I see this menu

play13:09

first time you run the script but we'll

play13:11

look at that you will not see this menu

play13:13

but only the next one but if youve

play13:15

already selected a template it's going

play13:17

to be offered to you if I choose to

play13:20

select another file and press Escape

play13:22

then it means that I'm not using any

play13:25

template so when I do this you can see

play13:28

that this document was created it's the

play13:30

same as the document we looked at in

play13:34

this case so it follows the same logic

play13:37

you can see here the images the text and

play13:40

here you go so here's the stitched

play13:43

together material and each of these

play13:46

sentences that you see here are the

play13:49

sentences that I wrote to capture my

play13:52

ideas about that

play13:54

specific permanent note that I created

play13:57

as a visual permanent

play13:59

note and now if you want to stop here

play14:03

great you can stop and you can take this

play14:06

document and start to type and improve

play14:09

your text and and I think you've already

play14:12

achieved a lot because you have a visual

play14:15

layout how you organize your text you

play14:19

generated the document from that and

play14:21

from then on you can start to work on

play14:24

this document but if you want to use AI

play14:28

then you have a simple option you can

play14:31

just simply select everything and copy

play14:34

this to the clipboard and then you can

play14:37

head over to CAD GPT and in CAD

play14:42

GPT I already have my prompt here so

play14:46

you're an expert in academic writing and

play14:49

so on you can pause the video and read

play14:51

it here and I'm going to paste

play14:56

the text that was generated by excolo

play15:01

writing machine here and I'm just going

play15:03

to press enter and with this chpt is

play15:07

going to do its magic it's going to

play15:10

generate the article I've asked chpt to

play15:15

generate the article uh

play15:18

into return the result as a markdown

play15:21

code block so that's why here I'm

play15:25

receiving this markdown code block the

play15:28

text is ready I'm going to scroll up to

play15:31

the top of the text and just copy the

play15:33

code like this I'm going to head back to

play15:37

obsidian and just simply press paste and

play15:41

here I can see that unfortunately in

play15:44

this generation now something happened

play15:47

to the images no nothing happened to the

play15:50

images good it just needed time to load

play15:53

the images so you can see that the

play15:56

article is ready um this is how it looks

play16:00

so there's a bit of a guide here and

play16:03

then yeah so you can read this I've done

play16:07

several runs of course as with GPT it's

play16:10

always slightly different but I think

play16:13

it's good enough so

play16:16

that's option one if you want to further

play16:19

automate this then your next option is

play16:23

to use AI for templator so AI for

play16:27

templator I'm going to to be using two

play16:30

scripts really so let's come to

play16:32

community plugin and I'm going to show

play16:35

you first of all AI

play16:38

for templater so this is a an excellent

play16:42

plugin for running CH GPT queries from

play16:47

TFT hacker so you need to install ai4

play16:50

templator and of

play16:52

course you need to install the templator

play16:55

plugin as well once you have those

play16:58

installed and

play16:59

configured then you will need a template

play17:03

as well this is the template that I

play17:06

created I'm going to include this link

play17:10

upload this somewhere and include the

play17:12

link in the video description so you

play17:14

will not need to um start from scratch

play17:19

practically this is a very simple

play17:21

template I'm going to close these two

play17:24

files

play17:25

um it defines a system message a user

play17:30

prompt uses a model now about the models

play17:34

I found that well GPT 40 mini is a very

play17:39

low cost model chbt 40 latest is a

play17:44

slightly more expensive model but

play17:45

frankly with all my testing I've spent

play17:49

around 50 cents or less over the two

play17:53

days so it is really not a huge amount

play17:56

of money the reason I chose these two

play18:01

models here is because they allow for

play18:05

more output tokens normally this is

play18:11

4,096 the maximum limit for example for

play18:14

GPT 40 these two models allow more and

play18:19

since the article can be bigger I went

play18:22

for

play18:23

this and and that's almost about it

play18:27

there are two more

play18:29

actually three more things I want to

play18:31

show you here just so you understand

play18:33

what's going on then the EXC colro

play18:37

writing machine script runs at the end

play18:41

it will place the generated text on

play18:44

window.

play18:46

ewm so when the templator script is

play18:50

executed it can take the value from

play18:54

window. ewm and use that to Sol submit

play18:59

to Chad GPT so that's Point number one

play19:03

point number two the way I develop this

play19:06

templator script to help with debugging

play19:09

finding errors is before closing it will

play19:15

place on ewm response it again on the

play19:20

window object it will store all these

play19:23

variables so you can go to developer

play19:26

console and find out what has happened

play19:30

and I think the third and most important

play19:32

Point here is I introduce so in the

play19:37

writing machine

play19:40

script I

play19:42

introduced this placeholder that

play19:45

wherever this is found in the template

play19:48

that you provide it is replaced with the

play19:51

generated text and this is good because

play19:54

this way uh you can include the original

play20:00

text in your templat I'll show you in a

play20:02

second how this will work here so that's

play20:07

about the templator file and now let's

play20:10

come here and run our script so I'm

play20:14

going

play20:15

to start writing machine and I'm going

play20:19

to use my template here and then I press

play20:23

enter then you will see that the page

play20:26

was generated and you need to pay

play20:27

attention to is these bubbles in the top

play20:31

right corner they will go on for quite a

play20:34

while just as CH gbt to get time

play20:38

responding it takes its time in this

play20:41

case as well so you will need to wait a

play20:44

little for this to finish the

play20:47

generation and there you go the

play20:49

generation is ready you can see some

play20:51

stats about the generation and we have

play20:55

the actual document here so this is a

play20:58

pretty

play20:59

uh nice document well I mean it's

play21:01

similar to the previous one that we

play21:04

looked at at the beginning I'm not going

play21:06

to go into the details I'm going to

play21:08

upload that PDF again we'll include the

play21:12

link in the video description so you can

play21:15

take a look at what was

play21:20

generated so the script comes with

play21:22

settings but the first time you need to

play21:25

run it once for the setting to appear so

play21:28

let me show you what what I mean if I

play21:32

come to excal draw plug-in settings at

play21:35

the bottom of settings settings for

play21:38

installed scripts now you will see that

play21:41

I have the excal writing machine here

play21:44

but that's because I've developed the

play21:47

script and it's not in my downloaded

play21:50

folder you can see here so this is

play21:52

actually for you not going to be here

play21:56

nothing is here but once I run the

play21:58

script for the first time so I need to

play22:01

select an element and I need to start

play22:05

writing machine you can see that now I

play22:08

have two writing machine scripts here

play22:11

and I'm going to run the downloaded

play22:14

version and I'm just going to press

play22:16

Escape because I don't want to use a

play22:19

template at this time if I press Escape

play22:21

here it means that whatever is generated

play22:24

is generated into a completely blank

play22:27

document so when I do this then this

play22:30

document was generated and if I come

play22:32

back to settings I can scroll down to

play22:35

the bottom of settings for installed

play22:38

scripts and you can see that downloaded

play22:41

excolo writing machine is here and there

play22:44

are a couple of settings you can do you

play22:47

can change the name of the summary

play22:50

section in my case I use the idea in all

play22:54

my notes so instead of summary I call it

play22:57

the idea whatever you call it you can

play23:00

typee it in here you can set where the

play23:03

source is so that's a section called

play23:06

Source the template path you don't need

play23:08

to worry about it then you select a

play23:11

template from the dropdown list it's

play23:13

going to be filled out automatically and

play23:15

this is where the script stores

play23:19

its last use template and finally you

play23:23

can choose to embed the images or not to

play23:26

embed so if I turn this off

play23:29

then I'm going to close this and I'm

play23:32

going to run the script

play23:35

again so if I come here and then the

play23:41

same text is generated but without the

play23:44

images so you can get rid of the images

play23:47

as well so that's about installing the

play23:52

script now if you want to edit the

play23:54

script which you might actually want to

play23:57

do because there are are some so my

play24:00

mindset here is this is a working

play24:04

prototype but as many people as many zle

play24:08

cast and system so there is no way of

play24:11

configuring it exactly the way you need

play24:13

it and that is the power of exol draw

play24:16

scripts so if I come here to the exol

play24:20

draw folder and come down to scripts and

play24:23

download it here then if I scroll down

play24:27

I'm going to find the Skol draw writing

play24:30

machine here and if I click on this then

play24:34

the script opens and yes you need a bit

play24:38

of scripting skill to edit this I tried

play24:41

to add some comments here and there that

play24:45

it is easy to follow it is not a very

play24:48

complicated script but of course what's

play24:51

complicated and what's simple is a very

play24:54

relative scale so I can understand if

play24:56

this is scary and if it is then just

play24:59

stick to the settings if you know what

play25:01

you're doing or if you want to

play25:03

experiment because what have you to lose

play25:05

so if you mess it up you download it

play25:07

again there's nothing to lose then I

play25:10

think it's a good place to start also

play25:14

Pro tip you can just select the whole

play25:16

thing head over to Chad GPT and ask Chad

play25:21

GPT to modify it this and that somehow

play25:26

you want to modify it and you can just

play25:29

simply baste the script here and then

play25:32

you can use CH GPT to do whatever

play25:36

updates you need to do with this script

play25:38

on a final note there's one important

play25:41

thing that you need to understand on how

play25:43

the text is generated and how arrows are

play25:47

interpreted the sequence of how you

play25:49

create the arrows is important so let me

play25:52

just show you what I mean here I'm going

play25:54

to write this is going to be my title

play25:58

and then this is going to be section one

play26:02

and this is going to be section two and

play26:06

then I'm going to have H paragraph one

play26:10

one and paragraph one2 and here I'm

play26:15

going to have paragraph 21

play26:21

and paragraph 22 and now let me show you

play26:26

how you can confuse the system so this

play26:29

is good to know if if you want to avoid

play26:32

this so I'm going to first draw the

play26:35

arrow to section

play26:36

two and I'm just going to use these nice

play26:40

uh elbow connectors and then I'm going

play26:43

to select section one and from here I

play26:47

can just simply continue on drawing the

play26:50

line so I'm just going to finish this

play26:53

off and what you're going to see is now

play26:57

if I just generate

play27:01

this with the writing machine script I

play27:04

don't

play27:05

want like this so if I generate this you

play27:08

can see that section two is at the top

play27:11

followed by section one which is not uh

play27:15

ideal so what I can do instead is I can

play27:20

just simply delete this and delete this

play27:25

and then I can come back and add first

play27:28

section one and then section two and

play27:33

now if I run this

play27:37

again then you will see

play27:41

that now section one is first and then

play27:44

section two so this solves this problem

play27:48

and so that's all I wanted to share with

play27:51

you today I hope you found it as

play27:53

exciting as I did I think this opens up

play27:56

so many opportuni these for visually

play27:59

organizing your ideas into flows you can

play28:03

create presentations you can create show

play28:07

notes I'm going to be using this to

play28:09

create scripts for my videos there's

play28:11

many use cases that you can do I think

play28:16

this is such a nice opportunity and

play28:19

hopefully you can also use these scripts

play28:22

to customize them to your needs and

play28:25

please in the comments I'd be very

play28:27

interested in how you use this what you

play28:30

thought of the entire process and what

play28:33

you're missing from all of this and

play28:36

finally if you find this useful and

play28:40

interesting and want to learn more about

play28:42

the mindset visual thinking framework

play28:44

and for the PKM then take a look at the

play28:48

links below check out the visual

play28:51

thinking workshop and join one of the

play28:53

next scorts I'd love to show you more

play28:56

about the framework

play28:58

and of course in the office hours of the

play29:01

visual thinking uh Workshop we have time

play29:04

to discuss other topics including

play29:07

scripting and automating and obsidian so

play29:10

that's just a plus an additional

play29:12

opportunity that you can gain from the

play29:15

workshop thank you

Rate This

5.0 / 5 (0 votes)

Etiquetas Relacionadas
視覚化アイデア管理記事作成Zettelkasten4D-PKMテンプレートAIスクリプトObsidianExcalidraw
¿Necesitas un resumen en inglés?