Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wyl-willing authored Aug 26, 2023
1 parent e34d6e0 commit 275ff4b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,16 @@ This is the official codebase of the **MindMap** :snowflake: framework for elici

# Overview
We present **MindMap**, a plug-and-play prompting approach, which enables LLMs to comprehend graphical inputs to build their own mind map that supports evidence-grounded generation. Here is an overview of our model architecture:
![https://github.com/willing510/MindMap/blob/main/fig/mind%20map.png](https://github.com/willing510/MindMap/blob/main/fig/mind%20map.png)

# Run MindMap
As the chatdoctor5k dataset for example. First, you need to create a Blank Sandbox on [https://sandbox.neo4j.com/](https://sandbox.neo4j.com/), click "connect via drivers", find your url and user password. Then replace the following parts in MindMap.py:
```
uri = "Your_url"
username = "Your_user"
password = "Your_password"
```
Note that the data of CMCKG is too large, and it will take about two days to wait. We recommend clicking "extend your project" in neo4j sandbox. But don't worry, the EMCKG used by chatdoctor5k will be ready to build on your facility in no time.
Then, don't forget to replace your openai_key in MindMap.py.

# Build your own MindMap

0 comments on commit 275ff4b

Please sign in to comment.