![[Product Info#^embed]] # 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, the following simple Templater snippet will ask ChatGPT *How old is the moon?*: ```javascript <%tp.ai.chat("How old is the moon?")%> ``` This plugin **requires an API key from OpenAI** or another OpenAI-compatible service. You can get an API key by signing up at [https://beta.openai.com/signup/]. Install via the [community list](obsidian://show-plugin?id=ai-templater). See the following pages for information on using this plugin. - [[Templater Commands]] - [[Examples Index]] - [[JavaScript support]] - [GitHub repository](https://github.com/TfTHacker/obsidian-ai-templater) >[!info] >Please note that this plugin requires an API key from OpenAI. You can get one by signing up at [https://beta.openai.com/signup/](https://beta.openai.com/signup/). >[!warning] >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.