LLM Summary

by QSun
5
4
3
2
1
Score: 53/100

Description

Category: Note Enhancements

The LLM Summary plugin is designed to simplify note-taking and concept defining for users of Obsidian. With this plugin, you can automatically generate summaries of PDF files using OpenAI's GPT models, saving you time and effort. You can also define new concepts from selected text with just a few clicks, creating new notes in your vault. The plugin is particularly well-suited for academic paper readings, as it can help you quickly summarize key points and identify important concepts.

Reviews

No reviews yet.

Stats

14
stars
7,547
downloads
0
forks
566
days
610
days
600
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
28
commits

Latest Version

2 years ago

Changelog

README file from

Github

Minimize your efforts for lazy note-takers. Before your readings, summarize all PDF files in a folder to your vault with the power of LLMs (like GPTs from OpenAI). During your readings, define concepts to new *.MD notes and create a link to each.

Currently suits academic paper readings the best.

Features

  • Summarize PDF Files: Automatically generate summaries for PDF files on batch using OpenAI’s GPT models. The summaries are structured in markdown with a recommended default structure.

  • Create New Concept Notes: Create new notes from selected text with a single command. The plugin will generate a markdown file with the selected text as the title.

Installation

Install Dependency

  • For MacOS users: Before installation, you can check your systemwide version of Python and Pip by using which command to determine pip or pip3 (Let's take pip3 for example).

    • Anaconda manager: pip3 install openai, arxiv, pymupdf
    • Homebrew manager: pip3 install openai, arxiv, pymupdf --break-system-packages
  • For Windows users: Install by running pip install openai, arxiv, pymupdf in your terminal.

OpenAI API Key Requested: Before you start, you need an OpenAI API key to make LLM Summary function properly. Create one from their website if you don't have one.

Python Environment Requested: You also need a functioning Python environment. Mac users have a default Python environment. And it's easy to setup on a Windows machine too.

New Vault Recommended: We recommend you start a new vault to avoid any possible conflicts since LLM Summary works on a specific folder setup.

Follow these steps to install from the official Obsidian plug-in store:

  1. Search for "LLM Summary" in Obsidian's community plugins browser (click "settings...", then Community plugins)
  2. Enable the plugin in your Obsidian settings (click "Settings...", find "LLM Summary" under "Community plugins"-> "Installed plugins")
  3. Check the settings. Paste your OpenAI API Key into the first field. Change your expert field (default is ML) if you want.
  4. Open command palette, and run "Initialize LLM Summary Folders" to build the working folders.

Follow these steps to install from github repo (npm requested):

  1. Clone the repository into your Obsidian plugins directory, usually located at <VaultFolder>/.obsidian/plugins/.
  2. If your npm is configured with a mirror source, it is recommended to change to the official one by npm config set registry https://registry.npmjs.org/. Otherwise, you may encounter issues where certain versions of npm packages cannot be found.
  3. Enter the plugin source code directory, build npm packages first by npm install and then run npm run dev to start.
  4. Enable the plugin in Obsidian by navigating to Settings > Community Plugins and toggling on LLM Summary.
  5. Check the settings. Paste your OpenAI API Key into the first field. Change your expert field (default is ML) if you want.
  6. Open command, and run "LLM Summary: Initialize Notes Folders" to build the working folders.

Now you should have the folder structure like this:

- Attachments
- Concepts  // new concepts saved here
- Files
- - PDFs  // your pdf files to summary
- Notes  // summary notes saved here
- - Read
- Topics

Now you are good to go. We recommend the plugin Image Converter for image compressions.

Usage

Summary PDFs

You need to run the summary_pdf_folder.py script (find it in your plug-in folder). To use the summarization feature, first setup your OpenAI API Key for Python script, full instructions from OpenAI:

Setup API Key

For Mac Users
  1. Open Terminal: You can find it in the Applications folder or search for it using Spotlight (Command + Space).

  2. Edit Bash Profile: Use the command nano ~/.bash_profile or nano ~/.zshrc (for newer MacOS versions) to open the profile file in a text editor.

  3. Add Environment Variable: In the editor, add the line below, replacing your-api-key-here with your actual API key:

export OPENAI_API_KEY='your-api-key-here'
  1. Save and Exit: Press Ctrl+O to write the changes, followed by Ctrl+X to close the editor.

  2. Load Your Profile: Use the command source ~/.bash_profile or source ~/.zshrc to load the updated profile.

  3. Verification: Verify the setup by typing echo $OPENAI_API_KEY in the terminal. It should display your API key.

For Windows Users
  1. Open Command Prompt: You can find it by searching "cmd" in the start menu.

  2. Set environment variable in the current session: To set the environment variable in the current session, use the command below, replacing your-api-key-here with your actual API key:

setx OPENAI_API_KEY "your-api-key-here"

This command will set the OPENAI_API_KEY environment variable for the current session.

  1. Permanent setup: To make the setup permanent, add the variable through the system properties as follows:
  • Right-click on 'This PC' or 'My Computer' and select 'Properties'.
  • Click on 'Advanced system settings'.
  • Click the 'Environment Variables' button.
  • In the 'System variables' section, click 'New...' and enter OPENAI_API_KEY as the variable name and your API key as the variable value.
  1. Verification: To verify the setup, reopen the command prompt and type the command below. It should display your API key: echo %OPENAI_API_KEY%

Run Python Script to Summary

  1. Copy your PDF Files to the Files/PDFs, and keep the file name the same as the paper's title (recommended not required).
  2. Summarize PDF Files (you can set the API key by passing an argument). Run python summary_pdf_folder.py

This script will search for all PDF files, summarize them, and save the result into the output folder in your vault. The summary will be formatted with the following sections:

  • Problems to Solve
  • Previous Methods and Their Limitations
  • Our Theory and Methods and How We Solve Them
  • Experiments to Back Our Theory

You can change the pdf_folder, output_folder, or openai_api_key by passing arguments into the Python script. You can also automatically delete these PDF files by setting delete_pdf to True.

Create New Concept Notes

  • Select the concept text you want to define
  • Open command palette, run "New concept from selected" and wait for the process (by checking status changes).

Hotkey Setting

We strongly recommend setting a hotkey for this command to avoid interruptions during your reading. Click 'Settings...' -> 'Hotkeys', and search 'LLM Summary' to setup a hotkey for the 'New concept from selected' command.

This command will create a new markdown file in the Concepts folder with the selected text as the file name.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Extract PDF Annotations
4 years ago by Franz Achermann
This is a plugin for https://obsidian.md. It extracts Annotations from PDF Files.
Obsidian Enhancing Export
4 years ago by YISH
This is an enhancing export plugin base on Pandoc for Obsidian (https://obsidian.md/ ). It's allow you to export to formats like Markdown、Markdown (Hugo https://gohugo.io/ )、Html、docx、Latex etc.
Relation Pane
3 years ago by mottox2
New Bullet With Time
3 years ago by Boninall
A plugin allows you to auto add current time to new bullet line.
Achievements
3 years ago by Zachatoo
Add achievements to Obsidian to help guide the user to build good habits in Obsidian.
Aggregator
3 years ago by SErAphLi
This plugin helps you gather information from files, and make a summary in the file.
Text Extractor
3 years ago by Simon Cambier
A (companion) plugin to facilitate the extraction of text from images (OCR) and PDFs.
GPT-3 Notes
3 years ago by micahke
An Obsidian plugin to generate notes based on GP3 output.
Reading comments
3 years ago by BumbrT
Reading comments, for consuming books or large articles in markdown with https://obsidian.md/.
Awesome Reader
3 years ago by AwesomeDog
Make Obsidian a proper Reader.
Whisper
3 years ago by Nik Danilov
Speech-to-text in Obsidian using Whisper
Auto Classifier
3 years ago by Hyeonseo Nam
Auto classification plugin for Obsidian using ChatGPT.
Slide Note
3 years ago by Jinyan Xu
Flashcards LLM
3 years ago by Marco Pampaloni
Use Large Language Models (such as ChatGPT) to automatically generate flashcards from obsidian notes
BMO Chatbot
3 years ago by Longy2k
Generate and brainstorm ideas while creating your notes using Large Language Models (LLMs) from Ollama, LM Studio, Anthropic, Google Gemini, Mistral AI, OpenAI, and more for Obsidian.
AI Notes Summary
3 years ago by R. Ian Bull (irbull)
An Obsidian plugin that uses ChatGPT to generate a summary of referenced notes
AI Editor
3 years ago by Zekun Shen
Cannoli
3 years ago by blindmansion
Cannoli allows you to build and run no-code LLM scripts using the Obsidian Canvas editor.
ZettelFlow
3 years ago by RafaelGB
ZettelFlow is a plugin for Obsidian that helps you to create and manage your notes in a Zettelkasten way.
HTML Tabs
3 years ago by Patrick Tournet
Obsidian plugin allowing the creation and rendering of Tabs and tab panels in your notes.
Editor Autofocus
2 years ago by Mgussekloo
Tag Buddy
2 years ago by David Fasullo
Unlock powerful tag editing features in Reading Mode. Add, remove and edit tags across your vault. Use tag inboxes to level up any workflow with a powerful idea assembly line.
Ollama Chat
2 years ago by Brumik
A plugin for chatting with you obsidian notes trough local Ollama LLM instead of Chat GTP.
Consecutive Lists
2 years ago by Josh Tucker
Better Export PDF
2 years ago by l1xnan
Obsidian PDF export enhancement plugin
PDF++
2 years ago by Ryota Ushio
PDF++: the most Obsidian-native PDF annotation & viewing tool ever. Comes with optional Vim keybindings.
PDF break page
2 years ago by CG
Plugin for obsidian that adding shortcuts to create breakpages for pdf exports.
SwiftLaTeX Render
2 years ago by gboyd068
AI Summarize
2 years ago by Alp Sariyer
Easy to use AI Summary tool for your notes in Obsidian
Mindmap
2 years ago by YunXiaoYi
An Obsidian plugin for creating Mindmaps.
Local LLM Helper
2 years ago by Mani Mohan
An Obsidian plugin to process text, chat with AI, and semantically search your notes — works with any OpenAI-compatible LLM server (Ollama, LM Studio, vLLM, and more).
Relative Timestamps
2 years ago by Charles Young
Simple Prompt
2 years ago by David Zachariae
Simple Prompt Plugin is a plugin for Obsidian that allows you generate content in your notes using LLMs.
Smart Memos
2 years ago by Evan Moscoso
Super-human brainstorming and note-taking by smart transcribing your voice! This involves a complete transcript, a summary, an expansion on the concepts presented, and a fully customizable analysis of it for any use case you can think of!
Caret
2 years ago by Jake Colling
Caret, an Obsidian Plugin
Marker PDF to MD
2 years ago by L3N0X
Make use of different AI models to convert your pdfs into markdown with perfect ocr, latex formulas, tables, images and more! Supports Mistral AI OCR (free) and self hosted variants!
Templater
5 years ago by SilentVoid
A template plugin for obsidian
PDF Highlights
5 years ago by Alexis Rondeau
Extract highlights, underlines and annotations from your PDFs into Obsidian
Better PDF
5 years ago by MSzturc
Goal of this Plugin in to implement a native PDF handling workflow in Obsidian
Table Extended
5 years ago by AidenLx
Extend basic table in Obsidian with MultiMarkdown table syntax
Pluck
5 years ago by Kevin Barrett
Quickly create notes in Obsidian from web pages.
Pandoc
5 years ago by Oliver Balfour
Pandoc document export plugin for Obsidian (https://obsidian.md)
Annotator
5 years ago by Elias Sundqvist
A plugin for reading and annotating PDFs and EPUBs in obsidian.
Ghost Fade Focus
5 years ago by Sami Korpela
Ghost Fade Focus plugin for Obsidian
Markmind
5 years ago by Mark
A mind map, outline for obsidian,It support mobile and desktop
Omnisearch
4 years ago by Simon Cambier
A search engine that "just works" for Obsidian. Supports OCR and PDF indexing.
Callout Toggles
2 years ago by Aly Thobani
An Obsidian plugin to quickly add, change, or remove callout wrappers in your notes.
downloadPDF
a year ago by Frieda
BookNav
a year ago by jemberton
A plugin for ObsidianMD that enables book style navigation links in a note.
PDF2Image
a year ago by RasmusAChr
PromptCrafter
a year ago by Fabrice Hong
Create reusable, modular prompts in Obsidian
Masking Type
a year ago by Telehakke
Obsidian plugin.
Bottom to Top
a year ago by Henry Gustafson
Daily Summary
a year ago by Luke
Trakt.tv Sync
a year ago by Nick Felker
Sync Trakt checkins to Obsidian file
AI bot
a year ago by kuzzh
The AI Bot Plugin is a powerful tool designed to enhance your note-editing experience in Obsidian by leveraging the capabilities of AI. This plugin allows you to interact with an AI assistant directly within Obsidian, making it easier to generate, edit, and organize your notes with intelligent suggestions and automated tasks.
Post Webhook
a year ago by MasterB1234
A plugin for Obsidian that sends notes to Webhook endpoints (e.g. n8n, Make.com, Zapier) for streamlined automation and integration.
LLM workspace
a year ago by Olivér Falvai
Paperless
a year ago by Talal Abou Haiba
BibDesk Integration
a year ago by Andrea Alberti
Integration of Obsidian with bibtex files
Varinote
a year ago by Giorgos Sarigiannidis
A plugin for Obsidian that allows you to add variables in Templates and set their values during the Note creation.
PDF Paste
a year ago by Cormac
LLM Tagger
a year ago by David Jayatillake
tidit
a year ago by codingthings.com
tidit is an Obsidian - https://obsidian.md - plugin that adds timestamps to your document as you type — when you want it, how you want it, where you want it.
LLM Test Generator
a year ago by Aldo E George
AI Helper
a year ago by David Connolly
PDF Folder to Markdowns
a year ago by CrisHood
Convert a folder of PDFs into a folder of Markdown files with embedded PDFs. This plugin is useful for users who want to migrate their PDF notes from different apps (e.g., Boox) or organize their reference materials inside Obsidian.
Large Language Models
a year ago by eharris128, r-mahoney, & jsmorabito
The LLM plugin gives Obsidian users access to local and web-based, large language models via several chat interfaces: modal, widget, FAB window, and commands.
Auto Bullet
a year ago by takitsuba
Pure Chat LLM
a year ago by Justice Vellacott
Turn notes into conversations with chatGPT or better yet Ollama
LLM docs
a year ago by Shane Lamb
Chat with LLM in regular markdown files in Obsidian
LLM Shortcut
9 months ago by Viktor Chernodub
A plugin for Obsidian that provides a way to create shortcuts for commands powered by LLM capabilities.
Handwriting OCR
9 months ago by ikmolbo
Transform handwritten documents and scanned images into editable text with Handwriting OCR's AI-powered handwriting to text conversion.
Time Inserter
7 months ago by heycalmdown
Obsidian plugin to insert current time at cursor position with exact or rounded formats
Canvas LLM
7 months ago by Mike Farlenkov
A canvas-like UI to talk with LLMs in Obsidian.
Steward
6 months ago by Dang Nguyen
A vault-specific agent equipped with agentic capacity, fast search, flexible commands, vault management, and terminals to "jump" into other CLI agents, such as Claude, Gemini, etc.
YOLO
4 months ago by Lapis0x0
Smart, snappy, and multilingual AI assistant for your vault.
Smart Export
2 months ago by Iván Sotillo
Plugin that follows wikilinks to a configurable depth, joining the notes into a single export.