Introduction
Tars is an Obsidian plugin that supports text generation by OpenAI, Kimi, Doubao, Ali Qianwen, Baidu Qianfan, Zhipu, and other LLMs based on tag suggestions. The name Tars comes from the robot Tars in the movie “Interstellar”.
Features
- Text generation AI assistant triggered by tags
- Support for internal links
- Export conversations to JSONL dataset, supports ms-swift (Scalable lightWeight Infrastructure for Fine-Tuning)
AI providers
- Kimi
- Doubao
- OpenAI
- Qianfan
- Qwen
- Zhipu
- DeepSeek
If the AI provider you want is not in the list above, you can propose a specific plan in the issue.
How to use
Add an AI assistant in the settings page, set the API key, and then use the corresponding tag in the editor to trigger the AI assistant.
If the model type you want is not in the AI assistant on the settings page, you can configure it in the “Override input parameters” in the settings, input JSON format, for example {"model":"your desired model"}
.
Conversations syntax
A paragraph cannot contain multiple messages. Messages should be separated by blank lines.
-
The conversation messages will send to the configured AI assistant.
-
Blockquote and callout sections are ignored. You can make annotations without sending them to the AI assistant.
-
Start a new conversation with
new conversation tag
.
Recommended
For better appearance, it is recommended to use the colored tags plugin.