Compose Complex Prompts using Your Obsidian Notes - Copilot for Obsidian Tutorial
Summary
TLDRLogan, the creator of Co-Pilot for Obsidian, showcases the Advanced Custom Prompt feature, which allows users to generate complex prompts using Obsidian notes through templating. He demonstrates various use cases, such as creating weekly notes, literature notes, and quiz sessions based on user-defined templates. The feature leverages curly braces for text selection, note titles, folder names, and tags, offering a versatile tool for users to enhance their note-taking and learning experiences. Logan encourages viewers to explore their creativity with this tool, as the potential applications are limited only by their imagination.
Takeaways
- 🚀 Logan, creator of Co-Pilot for Obsidian, demonstrates the Advanced Custom Prompt feature.
- 📝 Advanced Custom Prompt allows users to create long and complex prompts using Obsidian notes through templating.
- 📚 Use cases include generating weekly notes, literature notes, and quiz sessions based on personal templates.
- 🔄 The feature previously worked only on text selection but now supports templates with curly braces and double brackets.
- 📋 Templates can include note titles, folder names, and tags, with the latter functioning as an 'or' operation.
- 📅 An example weekly note template is provided, focusing on reviewing past goals, listing achievements, and setting new objectives.
- 📖 A literature note template is shown, which structures the note around key topics, concepts, summaries, quotes, and personal reflection.
- 📊 A quiz template is demonstrated, which can be used to create a quiz session with questions and answers based on a given set of prompts.
- 🔗 Users can pass multiple notes to the prompt with one click using the up-button feature in Obsidian.
- 🌐 The video encourages users to explore their own creative uses for the Advanced Custom Prompt feature.
- 👋 Logan, an engineer, aims to make AI accessible to everyone and invites viewers to engage with the content.
Q & A
What is the main feature of the Co-Pilot plugin for Obsidian demonstrated in the video?
-The main feature demonstrated is the Advanced Custom Prompt, which allows users to compose long and complex prompts using their Obsidian notes through templating.
How does the Advanced Custom Prompt feature work in Obsidian?
-The feature works by allowing users to create templates and then use curly braces to represent selected text, note titles, and folder names. It also supports the use of hashtags to include notes with specific tags.
What are some example use cases for the Advanced Custom Prompt?
-Examples include generating weekly notes, creating literature notes for books based on exported highlights, and starting quiz sessions using custom templates.
How can users trigger Co-Pilot commands in Obsidian?
-Users can trigger Co-Pilot commands by using actions like add, edit, delete, and custom prompt. There's also an ad hoc custom prompt for one-time use without saving.
What is the purpose of the reflection section in the weekly note template?
-The reflection section is meant for personal thoughts and is left blank in the template, as it's not suitable for AI to fill in for the user.
How does the Co-Pilot plugin handle the rollover of incomplete tasks from one week to the next?
-The plugin recognizes incomplete tasks from the previous week's goals and rolls them over to the new week's objectives.
What is the significance of the 'or' operation in the list of tags feature?
-The 'or' operation means that all notes with any of the listed tags will be included in the prompt, allowing for a broader selection of notes.
How can users create a new weekly note using a template?
-Users can create a new weekly note by defining or generating a template, then using the Co-Pilot command to add a custom prompt, following the template's format and instructions.
What is the quiz template used for in the video example?
-The quiz template is used to randomly pick questions from a pool, such as the US citizenship test questions, and follow a quiz format to ask questions, provide correct answers, and repeat until the user says stop.
How can users pass multiple notes to the prompt with one click?
-Users can click the up button by default to send the active note to the prompt, or use the 'set note context' command in chat mode to fill in the folder name or text for context.
Outlines
🚀 Introducing Advanced Custom Prompt in Obsidian
Logan, the creator of Co-Pilot for Obsidian, demonstrates the Advanced Custom Prompt feature, which allows users to create complex prompts using Obsidian notes through templating. He showcases potential use cases such as generating weekly notes, literature notes, and quizzes based on personal templates, emphasizing the creative potential limited only by the user's imagination. The video delves into the mechanics of the feature, explaining how to trigger Co-Pilot commands and utilize various template elements like curly braces, double brackets, and hashtags for tags.
📝 Use Cases and Templates for Advanced Custom Prompt
Logan provides examples of how to use the Advanced Custom Prompt feature, including creating a weekly note template for a coding interview preparation, generating literature notes from book highlights, and setting up a quiz session based on a template. He explains the structure of the templates and how to customize them, as well as how to use the Co-Pilot commands to generate content. The video also touches on the concept of 'f-shot prompting' to improve model output quality and demonstrates how to create a quiz using the US citizenship test as an example.
👋 Logan's Closing Remarks and Accessibility of AI
In the final paragraph, Logan, an engineer and creator, reiterates his commitment to making AI accessible to everyone. He invites viewers to share their creative uses of the Advanced Custom Prompt feature in the comments section and reminds them of the simpler method to pass multiple notes to the prompt with a single click. Logan concludes the video with a call to action for viewers to like and subscribe to the channel.
Mindmap
Keywords
💡Co-pilot
💡Advanced Custom Prompt
💡Templating
💡AI Generation
💡Weekly Notes
💡Literature Notes
💡Quiz Template
💡F-Shot Prompting
💡Contextual Understanding
💡Personalization
💡Productivity Tools
Highlights
Logan, creator of Co-pilot for Obsidian, demonstrates the Advanced Custom Prompt feature.
Advanced Custom Prompt allows composing long and complex prompts using Obsidian notes through templating.
AI can generate weekly notes, literature notes for books, or start a quiz session based on user templates.
The feature supports various template elements like text selection, note titles, folder names, and tags.
Tags in the template work as an 'or' operation, including all notes with any of the listed tags.
Logan provides examples of creating a new weekly note using a template and the previous week's note.
The weekly note template includes sections for reviewing goals, listing achievements, setting objectives, and scheduling tasks.
AI-generated weekly notes can roll over incomplete tasks from the previous week.
Logan shows how to create literature notes automatically from exported book highlights using a template.
The literature note template includes sections for key topics, concepts, summary, important quotes, actionable ideas, and personal reflection.
A quiz template is demonstrated for improving model output quality through f-shot prompting.
The quiz example involves preparing for the US citizenship test by practicing with a set of questions.
The AI can pick questions randomly, ask them one at a time, and provide the correct answer and explanation.
Logan emphasizes the potential for creating any quiz from any material using Co-pilot.
There's a simpler way to pass multiple notes to the prompt with one click using the 'up' button.
The Co-pilot command 'set note context' can be used to set context in chat mode, which is powerful for models with long context windows.
Logan invites users to share their creative prompts in the comment section.
Logan is an engineer and creator committed to making AI accessible to everyone.
Transcripts
hey Logan here creator of co-pilot for
obsidian today I'm going to demo the
feature called Advanced custom prompt it
enables you to compose long and complex
prompt using your obsidian notes through
templating I'll show some example use
cases like letting the AI generate
weekly notes literature notes for a book
or start a quiz session over your own
material based on your own templates
these are just small subset of what it
can do I encourage you to try it out and
come up with your own creative templates
the only limit is our imagination
without further Ado let's jump right
into it with the co-pilot plug-in
installed in obsidian you can trigger
these co-pilot commands there are add
edit delete custom prompt there's also
an ad hoc custom prompt if you don't
want to save it it used to only work on
a text selection not anymore now you can
leverage this kind of template curly
braces by themselves still represents
selected text a note title is wrapped
inside double bracket the same as
everywhere else in the obsidian Curry
braces with text inside represent a
folder name it plugs all the notes in
that folder into the prompt the newest
member is the list of tags now you can
use hashtag to include all notes with
these tags one comment is that the list
of tags is like an or operation
basically it means all notes with any of
the tags will be included here now I'm
going to show some use cases for the
advanced custom prompt feature these are
just examples to get your imagination
warmed up I'm sure you will come up with
many more creative ways to use it my
examples include creating a new weekly
note using a template and the previous
weekly note generating a literature note
using a template and exported highlights
from a book and generating a quiz using
a quiz template and a list of questions
they all follow the same simple form
using a template for X transform content
X into a new form for example here's a
weekly note I created for a person who's
preparing for a coding interview the
first step is to have a template you can
Define your own or just let AI generate
it for you here my weekly note template
looks like
this review of last week start by
reviewing how well the previous week's
goal was achieved list out significant
achievements and things that fell short
in separate lines goal for the week list
the objectives for the week integrating
any rollover task or goals from the
previous week outline the following for
the whole week key tasks appointments
deadlines and and a bunch of to-dos
notes and ideas
reflection I think reflection is mostly
for us only it's not good for AI to fill
it for you so I uh have leave as blank
here and here's the fictional previous
week's Note review of last week
completed binary tree problems insights
need more focus on recursion Concepts
and practice objective complete all
pending recursion problems and there's
uh some key task for recursion dynamic
programming there are some questions
done and some to be
completed and there's a appointment
weekly coding study group on Thursday at
7 p.m. a deadline complete all recursion
Problems by Wednesday start dynamic
programming Problems by Thursday and and
some todos now is the time for you to
add your own custom prompt uh around
this by triggering the co-pilot command
add custom prompt and write down the
title and your prompt I already have it
so let me show you my prompt with the
command edit custom prompt it looks like
this use the format and instructions in
weekly note template start a new weekly
note make sure to replace the
description section following the
instructions and roll over incomplete
items from the last week um remember to
list each item them on their own line
blah blah you get what I mean and let's
see if it works you can assign keeper
shortcut to these custom prompt I
assigned command L highly recommend it
super convenient so trigger great new
weekly Note review of last week did not
complete pending recursion problems
you'll see here that it generated some
comments on the previous week's goal
it figured out that we
didn't complete all pending recursion
problems and we did not meet the goal of
solving at least three dynamic
programming problems and it gives us new
objectives which sounds good okay I'm
just going to copy and paste to create a
new weekly
note you can find tun the instructions
in the description in your template uh
but the this is the gist of
it the next use case I'm showing
is to generate a literature note
automatically from the exported
highlight of a book I
read um here's the Highlight I exported
from the book can't hurt me by David
Goggins and this is the literature note
template I'm using identify key topic
and Concepts generate a few potential
Texs put them inside this list summary
of key points important quotes
actionable ideas and personal reflection
and here is the prompt use the format
and instructions of literature note
template create a new literature note
based on the content of book can't hurt
me which has all the exported highlights
make sure to follow the instruction blah
blah blah it's pretty similar to the
previous one actually and here is the
result what do you think I think it's
pretty good uh next I'm going to show
the quiz
example there's a common way to improve
the model output
quality that is called f shot prompting
it's basically you providing concrete
examples for the model to learn from for
instance say I'm preparing for the US
citizenship test and need to get get
familiar with the 100 questions I can
have the questions in one note and some
few Shot instructions in a template like
this then my prompt is pick questions
randomly from the question pool US
citizenship test 100 questions and
follow the format of quiz template to
start a quiz session ask one question
each time stop and wait for the user
after the user answers provide the
correct answer and explanation repeat
this process on until the user says stop
and let's see how it works in
action what is the supreme law of the
land B the Constitution
correct what stops one branch of
government from becoming too powerful C
separation of
powers who is the first president that's
easy C George
Washington what is the one right or
freedom from the First Amendment freedom
of
speech oh that's too easy let me get it
wrong on purpose this time and see if it
uh corrects
me right it tells me the correct answer
is B between age 18 and 26 what does the
president's cabinet do B advises the
president
correct what is the economic system in
the United
States C market economy this is pretty
fun I can't stop doing
this if you wish to stop the quiz please
say stop it's getting tired of me being
a smarty
pant what did the Declaration of
Independence do B declared our
independence from Great
Britain it really is tired of me okay
let's stop up actually this is how I
pass my own naturalization test to be
honest with this method you can create
any quiz from any material you have okay
with these examples I hope you get where
this is going you can easily reference
your collections of notes and plug them
into your prompt with a long context
window the sky is the limit let me know
what creative prompts you come up with
in the comment section below oh by the
way there's another simpler way to pass
multiple noes to The Prompt with one
click you just click the little up
button by default it sends the active
Noe to the prompt and you can start a
chat around it or you can set the
context by using the co-pilot command
set no context in chat mode and fill in
the folder name or text most of the
times this is the easiest way to pass
context to the model if you work with a
model with super long context window
this is going to be very powerful that's
it for
today I'm Logan an engineer and Creator
committed to make AI accessible to
everyone if you like the video please
give it a thumbs up and subscribe to the
channel I'll see you in the next
[Music]
one
Browse More Related Video
Zettelkasten Smart Notes: Step by Step with Obsidian
🏆️ TOP 10 BEST Obsidian Plugins 🔌️
Here Is How I Use Tags 🏷️ And Links 🔗️ In Obsidian To Manage My Zettelkasten 📝️
DE GRAÇA! Todos os GPTs do NOVO ChatGPT GPT 4o Liberados ✨ [ÚTIL D+]
ChatGPT: aggiornamento IMPORTANTISSIMO (custom instructions)
Just Use Apple Notes.
5.0 / 5 (0 votes)