MIT License

项目介绍

florian-kalisch/auto-mindmapping 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 MIT License 许可证,目前获得 69 个 Star、11 次 Fork。

仓库全名
florian-kalisch/auto-mindmapping
开源许可证
MIT License
Star 数
69
Fork 数
11
未关闭 Issue
1

README 摘要

Automated Mindmapping with GPT and Mermaid This repository houses a project that enables automatic creation of mindmaps using OpenAI's GPT-3.5-turbo and GPT-4 models, with the support of Mermaid for mindmap visualizations. About The system comes with built-in system prompts for brainstorming, text summarization, and cause/effect visualization. The integration of GPT models provides the power of language…

完整内容见 GitHub 原始 README 或本页 。

常见问题

auto-mindmapping 用什么语言开发?

主要使用 JavaScript 编写,采用 MIT License 许可证,目前有 69 个 Star。

auto-mindmapping 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 auto-mindmapping 的源码?

可以直接克隆仓库:git clone https://github.com/florian-kalisch/auto-mindmapping.git,默认分支为 main;安装与运行步骤见仓库 README。

auto-mindmapping 最近还在维护吗?

仓库最近一次更新为 2024年8月17日,当前有 1 个未关闭 Issue;Star 数为 69,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Revolutionize your mind mapping with this repo, combining mermaid and GPT-3.5-turbo / GPT-4! Craft captivating mindmaps for brainstorming and text summarization, unlocking creativity and productivity. Experience this trailblazing solution for the ultimate mind mapping experience today! Don't miss out and elevate your creative thinking skills!

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
93
价值分
44
活跃状态
活跃

语言占比

CSS
HTML
JavaScript

README

Automated Mindmapping with GPT and Mermaid

This repository houses a project that enables automatic creation of mindmaps using OpenAI’s GPT-3.5-turbo and GPT-4 models, with the support of Mermaid for mindmap visualizations.

auto-mindmapping-2

About

The system comes with built-in system prompts for brainstorming, text summarization, and cause/effect visualization. The integration of GPT models provides the power of language understanding, while Mermaid enables rich and customizable visual representations.

What does the project say about advantages and disadvantages of automated mindmapping (note that GitHub doesn’t seem to support the icons)? This is the generated mermaid code (available under Output):

mindmap root("Automated Mind Mapping using Large Language Models") ["Advantages"] ::icon(fa fa-thumbs-up) ("Efficient and time-saving") ::icon(fa fa-clock) ("Easily customizable and adaptable") ::icon(fa fa-cogs) ("Improved collaboration and communication") ::icon(fa fa-users) ("Supports creative thinking and idea generation") ::icon(fa fa-lightbulb) ("Accessible and shareable") ::icon(fa fa-share-alt) ("Scalable for large data sets") ::icon(fa fa-expand-arrows-alt) ("Minimizes human error") ::icon(fa fa-exclamation-triangle) ("Integrates with other tools and platforms") ::icon(fa fa-link) ["Disadvantages"] ::icon(fa fa-thumbs-down) ("Requires reliable and accurate data") ::icon(fa fa-database) ("Potential for privacy and security concerns") ::icon(fa fa-shield-alt) ("Dependent on quality of language model") ::icon(fa fa-brain) ("May not capture nuances and subtleties") ::icon(fa fa-adjust) ("Limited by AI understanding of context") ::icon(fa fa-glasses) ("Potential for bias in AI-generated content") ::icon(fa fa-balance-scale) ("Requires regular maintenance and updates") ::icon(fa fa-wrench) ("May be expensive to implement and maintain") ::icon(fa fa-dollar-sign) ("Lack of personal touch in content")

view at mermaid.live

Features

  • Utilizes gpt-3.5-turbo, gpt-3.5-turbo-16k, gpt-4, gpt-4-turbo models for mindmap generation
  • Supports prompts for brainstorming, text summarization, and cause/effect visualizations
  • Outputs mindmaps in Mermaid syntax
  • Provides a visual representation of mindmaps
  • Offers a convenient way to save generated mindmap images

Known Limitations

  • The system may sometimes produce inaccurate information due to the current limitations of Large Language Models (LLMs).
  • There might be occasional inconsistencies in style.
  • Sometimes, the output isn’t valid Mermaid syntax (you can then edit the mermaid code under output).
  • When saving the image, the Font Awesome icons might look different from what is shown on the screen.
  • Due to iOS limitations the text area elements can’t be resized

Getting Started

Online

Prerequisites

Ensure you have access to OpenAI’s API with models like gpt-3.5-turbo, gpt-3.5-turbo-16k, gpt-4, gpt-4-turbo.

It should be obvious, but: Using the API will result in request-based costs (it is not part of the ChatGPT / Subscription).

Quickstart

The fastest way would be https://florian-kalisch.github.io/auto-mindmapping/

Offline

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of Node.js and npm.
  • You have a recent version of Yarn installed.
  • Ensure you have access to OpenAI’s API with models like gpt-3.5-turbo, gpt-3.5-turbo-16k, gpt-4, gpt-4-turbo.

It should be obvious, but: Using the API will result in request-based costs (it is not part of the ChatGPT / Subscription).

Clone and run

To start using the project, follow these steps:

  1. Clone the repository:
git clone https://github.com/florian-kalisch/auto-mindmapping.git
  1. Navigate into the project directory:
cd auto-mindmapping
  1. Install the required dependencies using Yarn:
yarn install
  1. Start the React development server:
yarn start

Your application should be running on localhost:3000/auto-mindmapping

Usage

Settings

Under the Settings tab you have to enter your OpenAI API token. The default model is gpt-3.5-turbo.

You can set max tokens and temperature based on your needs (will be saved to localStorage). For brainstorming a higher temperature might be good.

Prompt Template shows you the system prompt. You can customize it to achieve more or better results (will be saved to localStorage).

Mindmapping

With Prompt you can input your request. You can ask “Brainstorming for weekend activities on a sunny weekend” and get a mindmap for this topic. You can input text and you get a mind map summarizing the text. You can ask for “Mindmap for: What are the consequences if it rains.” and you see what might happen then.

Sometimes the output contains the typical GPT chatter text. In this case, Mermaid does not recognize valid syntax. To avoid this, the streamed text would need to be edited/cleaned up, or at least some post-processing would need to be done. This is currently missing. To work around this problem, you can simply try again. It might also be helpful to include “brainstorm” or “mind map” in your command prompt.

To save your result, you can either copy the mermaid code from “Output” or save the image.

Further Reading

Please take a look at the following resources to better understand the project:

评论

暂无评论