1 Star 0 Fork 1

Sean1832 / GPT-Brain

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

🧠 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

MIT License Copyright (c) 2023 sean1832 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

一个由AI驱动的大脑,有效地存储、分类和相互关联的个人笔记,以优化对创造性想法的管理。 展开 收起
Python 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/sean1832/GPT-Brain.git
git@gitee.com:sean1832/GPT-Brain.git
sean1832
GPT-Brain
GPT-Brain
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891