Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual Input react-graph-vis #22

Open
JamesFlare1212 opened this issue Feb 13, 2023 · 0 comments
Open

Manual Input react-graph-vis #22

JamesFlare1212 opened this issue Feb 13, 2023 · 0 comments

Comments

@JamesFlare1212
Copy link

As GraphGPT works like make a request to GPT 3

Given a prompt, extrapolate as many relationships as possible from it and provide a list of updates.

If an update is a relationship, provide [ENTITY 1, RELATIONSHIP, ENTITY 2]. The relationship is directed, so the order matters.

If an update is related to a color, provide [ENTITY, COLOR]. Color is in hex format.

If an update is related to deleting an entity, provide ["DELETE", ENTITY].

Example:
prompt: Alice is Bob's roommate. Make her node green.
updates:
[["Alice", "roommate", "Bob"], ["Alice", "#00FF00"]]

prompt:

I can also get the response from other model like ChatGPT/GPT 3. So, is there anyway that allows me put the response like,

[["知识", "包括", "科学定律"], ["知识", "包括", "科学模型"], ["科学定律", "指引", "未来的研究方向"], ["科学定律", "优化", "各种商业行为"], ["科学定律", "为基础", "先进的想法"], ["科学定律", "为人类社会创造价值"], ["科学模型", "描述", "事物规律"], ["科学模型", "给人们决策提供强有力支持"], ["科学模型", "避免了不科学导致的失败"], ["科学模型", "避免了资源浪费"], ["自然科学", "回答问题"], ["人文科学", "回答问题"], ["比较各类知识", "是否能给人类社会创造足够多价值"], ["价值", "是金钱"], ["价值", "是物质发展"], ["价值", "是减少的损失"]]

Into react-graph-vis, so, I can get the same graph anyhow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant