Obsidian Local LLM 插件使用教程

随笔1天前发布 老阿姨
9 0 0

Obsidian Local LLM 插件使用教程

obsidian-local-llmObsidian Local LLM is a plugin for Obsidian that provides access to a powerful neural network, allowing users to generate text in a wide range of styles and formats using a local LLM.项目地址:https://gitcode.com/gh_mirrors/ob/obsidian-local-llm

项目目录结构及介绍

Obsidian Local LLM 插件的目录结构如下:


obsidian-local-llm/
├── main.js
├── manifest.json
├── styles.css
├── README.md
├── LICENSE
└── gallery/
    ├── obsidian-local-llm-canvas.mp4
    └── obsidian-local-llm-canvas-typewriter.webm

main.js: 插件的主逻辑文件。manifest.json: 插件的元数据文件,包含插件的名称、版本、作者等信息。styles.css: 插件的样式文件。README.md: 项目的说明文档。LICENSE: 项目的许可证文件,本项目使用 MIT 许可证。gallery/: 包含插件使用的示例视频文件。

项目的启动文件介绍

项目的启动文件是 main.js。该文件包含了插件的主要逻辑,负责初始化插件、处理用户输入和生成文本等操作。

项目的配置文件介绍

项目的配置文件是 manifest.json。该文件包含了插件的元数据信息,具体内容如下:


{
  "id": "obsidian-local-llm",
  "name": "Obsidian Local LLM",
  "version": "1.0.0",
  "minAppVersion": "0.12.0",
  "description": "A plugin for Obsidian that provides access to a powerful neural network allowing users to generate text in a wide range of styles and formats using a local LLM.",
  "author": "zatevakhin",
  "authorUrl": "https://github.com/zatevakhin",
  "isDesktopOnly": false
}

id: 插件的唯一标识符。name: 插件的名称。version: 插件的版本号。minAppVersion: 插件支持的最低 Obsidian 版本。description: 插件的描述信息。author: 插件的作者。authorUrl: 作者的 URL。isDesktopOnly: 是否仅支持桌面版 Obsidian。

以上是 Obsidian Local LLM 插件的基本使用教程,希望对您有所帮助。

obsidian-local-llmObsidian Local LLM is a plugin for Obsidian that provides access to a powerful neural network, allowing users to generate text in a wide range of styles and formats using a local LLM.项目地址:https://gitcode.com/gh_mirrors/ob/obsidian-local-llm

© 版权声明

相关文章

暂无评论

您必须登录才能参与评论!
立即登录
暂无评论...