You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Zeke Zhang cda9ee2b95
Update issue templates
first created issue tempalates
1 year ago
.core Merge branch 'main' into Major_Dev 1 year ago
.github/ISSUE_TEMPLATE Update issue templates 1 year ago
.locals fix: no translation .mo file find 1 year ago
Documentation doc: update README.md 1 year ago
GPT fix: non stream mode cannot use gpt-3.5 1 year ago
batch-programs fix: trying to access __pycache__ when update language base 1 year ago
example_prompt trans: add example prompt for newly supported language 1 year ago
modules Revert "Revert "Revert "fix: tokens not display if brain is not build yet""" 1 year ago
pages refactor: change function name 1 year ago
streamlit_toolkit fix: not able to find API key 1 year ago
.gitattributes Initial commit 1 year ago
.gitignore build: update gitignore 1 year ago
LICENSE Initial commit 1 year ago
README.md doc: update README.md 1 year ago
RUN.bat refactor: rename important batch files 1 year ago
SETUP.bat refactor: rename important batch files 1 year ago
Seanium_Brain.py chore: change default stream mode to true 1 year ago
initial_file_creator.py fix: cannot create API-KEYS.txt 1 year ago
requirements.txt build: add tiktoken library 1 year ago
update.bat chore: remove pause 1 year ago

README.md

🧠 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