GithubHelp home page GithubHelp logo

xianjianlf2 / mindgeniusai Goto Github PK

View Code? Open in Web Editor NEW
169.0 5.0 39.0 19.87 MB

Auto generate MindMap with ChatGPT

License: MIT License

HTML 0.30% Vue 53.17% TypeScript 46.33% CSS 0.05% Dockerfile 0.14%
chatgpt langchain-js mindmap

mindgeniusai's Introduction

MindGenius AI

Auto generate MindMap with ChatGPT

Features

  • Generate mindmap based on the result.
  • Manually add nodes to the mindmap.
  • Delete unnecessary nodes from the mindmap.
  • Modify generated nodes in the mindmap.
  • Render and display the result in markdown format.
  • Export the result as a picture or JSON file.
  • Support AI-generated content for individual nodes in the mindmap.
  • Edit existing nodes in the mindmap.
  • Provide chat support within the application.
  • Allow importing files into the application for creating a new mindmap.
  • Add notes feature to include summary content and generate a comprehensive mindMap.
  • Enable adding pictures to individual nodes in the mindmap.
  • Automatically summarize web-linked articles when generating a mindmap

mindmap mindmap mindmap


Now you can upload a PDF file and ask questions.

mindmap


Now you can add notes and convert them into a mind map. You can also attach chat messages to your notes.

mindmap mindmap

Motivation

Auto generate MindMap with ChatGPT

Inspiration

Installation

git clone https://github.com/xianjianlf2/MindGeniusAI.git
cd server
# config your env file (which file name is .env)
# run server and client root path
npm run dev
# enjoy it

License

Source code in this repository is made available under the MIT License.

Star History

Star History Chart

mindgeniusai's People

Contributors

xianjianlf2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mindgeniusai's Issues

npm run dev error

环境:
npm 9.6.7
nodejs v18.17.1
Windows10

启用命令:
cd server
npm install
npm run dev

image

TypeError: Object.hasOwn is not a function at mapKeys

两个服务可以正常启动,正常打开页面,输入问题提交后控制台报错。请帮忙指导一下。

`D:\Tools\tool\nodejs\node.exe D:\Tools\tool\nodejs\node_global\node_modules\pnpm\bin\pnpm.cjs run dev

[email protected] dev D:\works\MindGeniusAI\server
npx nodemon --exec ts-node --esm index.ts

[nodemon] 2.0.22
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): .
[nodemon] watching extensions: ts,json
[nodemon] starting ts-node --esm index.ts
┌───────────────────────────────────┐
│ New version of nodemon available! │
│ Current Version: 2.0.22 │
│ Latest Version: 3.0.1 │
└───────────────────────────────────┘
open server http://localhost:3000

End of ERROR.

TypeError: Object.hasOwn is not a function
at mapKeys (file:///D:/works/MindGeniusAI/server/node_modules/.pnpm/langchain@0.0.102_@pinecone-database[email protected][email protected]/node_modu
les/langchain/dist/load/map_keys.js:12:20)
at ChatOpenAI.toJSON (file:///D:/works/MindGeniusAI/server/node_modules/.pnpm/langchain@0.0.102_@pinecone-database[email protected][email protected]
/node_modules/langchain/dist/load/serializable.js:108:21)
at ChatOpenAI.generate (file:///D:/works/MindGeniusAI/server/node_modules/.pnpm/langchain@0.0.102_@pinecone-database[email protected][email protected]
.1/node_modules/langchain/dist/chat_models/base.js:35:79)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async ChatOpenAI.call (file:///D:/works/MindGeniusAI/server/node_modules/.pnpm/langchain@0.0.102_@pinecone-database[email protected]_pdf-parse@1
.1.1/node_modules/langchain/dist/chat_models/base.js:87:24)
`

openAI proxy

Hi, I added Azure OpenAI endpoint to the openAI proxy section, but it still didn't work. How can I find the url that I will write in the proxy section there?

openAI Proxy error

Hi Mark, I edited the .example.env file as you said but I get this error and I cannot run the project.
mm_gena

Run into issue

HI I ran into issues as following:
C:\Users\Administrator\Documents\GitHub\MindGeniusAI>npm run dev

[email protected] dev
vite

failed to load config from C:\Users\Administrator\Documents\GitHub\MindGeniusAI\vite.config.ts
error when starting dev server:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'vite' imported from C:\Users\Administrator\Documents\GitHub\MindGeniusAI\vite.config.ts.timestamp-1705904014491-4a24026209caa.mjs
at new NodeError (node:internal/errors:399:5)
at packageResolve (node:internal/modules/esm/resolve:889:9)
at moduleResolve (node:internal/modules/esm/resolve:938:20)
at defaultResolve (node:internal/modules/esm/resolve:1153:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap. (node:internal/modules/esm/module_job:77:40)
at link (node:internal/modules/esm/module_job:76:36)

C:\Users\Administrator\Documents\GitHub\MindGeniusAI>
C:\Users\Administrator\Documents\GitHub\MindGeniusAI>

You mentioned to config .env but I didn't see it in the cloned file.

TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts"

npm install之后,运行这个命令报错了。请问如何解决?
环境信息:Ubuntu 22.04,125 verbose Linux 5.19.0-41-generic,node v20.5.1,verbose npm v9.8.0

PS:您可否提供一个通过docker运行的方式,比如Dockerfile一键运行。这样能避免各种类型的环境问题。

$ npm run dev

> [email protected] dev
> npx nodemon --exec ts-node --esm index.ts

[nodemon] 3.0.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: ts,json
[nodemon] starting `ts-node --esm index.ts`
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/ubuntu/Software/MindGeniusAI/server/index.ts
    at new NodeError (node:internal/errors:405:5)
    at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:99:9)
    at defaultGetFormat (node:internal/modules/esm/get_format:142:36)
    at defaultLoad (node:internal/modules/esm/load:91:20)
    at nextLoad (node:internal/modules/esm/hooks:733:28)
    at load (/home/ubuntu/Software/MindGeniusAI/server/node_modules/ts-node/dist/child/child-loader.js:19:122)
    at nextLoad (node:internal/modules/esm/hooks:733:28)
    at Hooks.load (node:internal/modules/esm/hooks:377:26)
    at MessagePort.handleMessage (node:internal/modules/esm/worker:168:24)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:778:20) {
  code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
[nodemon] app crashed - waiting for file changes before starting...

openAI Proxy

@xianjianlf2 ran the project on my machine, but it wants an open API proxy login, a url etc. where can I find it. it would be nice if you upload a description or a description as a gif in that part of the project.
Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.