/GPT-Brain

An AI-powered brain that efficiently stores, categorizes, and interrelates personal notes to optimize the management of creative ideas.

Primary LanguagePythonMIT LicenseMIT

🧠 GPT Brain

python

中文说明 | 日本語説明書 | English

⭐️ Like this repo? please consider a star!

💡This project is inspired by youtuber All About AI's video on Second Brain. Please consider support him!

💡As I am not a professional programmer and am fairly new to Python, this project may contain bugs. If you encounter any issues, please suggest them in the Issues section.

Description

This program leverages the power of GPT-3 & 3.5 to provide a summary of the content of atomic notes, as well as answer questions related specifically to your notes. The program scans a designated directory, which is typically a vault containing multiple notes, and appends the contents of all the notes to a single file. This file then serves as the context for the user's query. The program is able to identify relationships between the contents of the notes, and generate a refined response that summarizes the key points.

Although the program is compatible with other note-taking software that uses markdown or txt, it is primarily designed with Obsidian in mind.

Feature

  • Use OpenAI GPT-3 and GPT-3.5 (ChatGPT) to generate response.
  • Use OpenAI embedding for semetic comparison of question and note content for enhanced searching.
  • Configurable prompts.
  • Customizable personal background information for more accurate answers.
  • Integration with Obsidian note local directory for easy note content updates.
  • Note content preview & content modification.
  • Section parsing using delimiters for targeted updates.
  • Obsidian YAML frontmatter filtering.
  • OpenAI API key management.
  • OpenAI Language model selection for different needs.
  • Basic & Advanced parameter sliders for OpenAI Language model configurations.

Todo

  • Support PDF format。
  • Support PDF OCR scan。
  • Support Word document。

Install

1. What you need

2. Set up the project for the first time

  1. Download the project
  2. Run SETUP.bat
  3. Enter your OpenAI API Key

3. Run

  • Execute RUN.bat

Demo

Main Page

screenshot1

Brain Memory

screenshot2