Skip to content

Extends Templater with AI Chat commands using the OpenAI Client Library

License

Notifications You must be signed in to change notification settings

TfTHacker/obsidian-ai-templater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

This plugin extends Templater to interact with large language models. It is primarily designed to work with OpenAI LLMs, like the ones used by ChatGPT, but is also compatible with any LLM that supports the OpenAI API.

For example, in Templater, you can use the following command to ask ChatGPT a question:

<%tp.ai.chat("How far is the moon from the earth?")%>

For detailed instructions on the use of this plugin, please see: [https://tfthacker.com/AIT]

Please note that this plugin requires an API key from OpenAI. You can get one by signing up at [https://beta.openai.com/signup/].

Additionally, when you use this plugin, unless you have configured it to use a local LLM, it will make internt requests to the OpenAI API. Please be aware of this when using this plugin.

Follow me at https://twitter.com/tfthacker for updates.

You might also be interested in a few products I have made for Obsidian:

  • JournalCraft - A curated collection of 10 powerful journaling templates designed to enhance your journaling experience. Whether new to journaling or looking to step up your game, JournalCraft has something for you.
  • Cornell Notes Learning Vault - This vault teaches you how to use the Cornell Note-Taking System in your Obsidian vault. It includes learning material, samples, and Obsidian configuration files to enable Cornell Notes in your vault.