Skip to content

Instantly share code, notes, and snippets.

@Tostino
Created July 10, 2024 13:11
Show Gist options
  • Save Tostino/0460c18024697efc2ac34fe86ecd2db3 to your computer and use it in GitHub Desktop.
Save Tostino/0460c18024697efc2ac34fe86ecd2db3 to your computer and use it in GitHub Desktop.
Inkbot training data knowledge graph use - medium
{
"prompt_date":"2022-06-29",
"task":"kg",
"system_prompt":"As an AI assistant, furnish an extensive answer that negates the user's need for supplementary information from external sources.",
"conversation":[
{
"bot":"Link between the nodes: Zeta leads to Eta.",
"user":"Describe the connection between node Zeta and node Eta.",
"user_context":"nodes:\n - id: Alpha\n event: Protracted conflict in Ukraine\n date: Unknown\n - id: Beta\n event: West and the United States supplying Ukraine\n date: Unknown\n - id: Gamma\n event: Distribution of missile defense system to Ukraine\n date: Expected soon\n - id: Delta\n event: Ukrainian special forces running operations inside Russian territory\n date: Unknown\n - id: Epsilon\n event: Guerilla activities in Russian territory\n date: Expected soon\n - id: Zeta\n event: Sanctions causing Russia's first big default\n date: Unknown\n - id: Eta\n event: Russia cooking economic books\n date: Unknown\n - id: Theta\n event: Unemployment going down in Russia due to government pressure on businesses\n date: Unknown\n - id: Iota\n event: Long-term picture for the Russian economy\n date: Unknown\n - id: Kappa\n person: Zielinski\n role: Unknown\n date: Unknown\n - id: Lambda\n event: Zielinski's goal for the war to be over\n date: End of the year\n - id: Mu\n event: Possible break in supply chain for Ukraine\n date: Unknown\n - id: Nu\n event: Possible collapse of Russian economy\n date: Unknown\n\nedges:\n Alpha:\n - id: Beta\n description: is being sustained by\n confidence: high\n - id: Delta\n description: involves\n confidence: high\n - id: Epsilon\n description: may involve\n confidence: medium\n Beta:\n - id: Gamma\n description: includes\n confidence: high\n Delta:\n - id: Epsilon\n description: may trigger\n confidence: medium\n Zeta:\n - id: Eta\n description: leads to\n confidence: high\n Eta:\n - id: Theta\n description: influences\n confidence: high\n - id: Iota\n description: leads to\n confidence: high\n Iota:\n - id: Nu\n description: may result in\n confidence: medium\n Kappa:\n - id: Lambda\n description: aims for\n confidence: medium\n Lambda:\n - id: Mu\n description: may be influenced by\n confidence: medium\n - id: Nu\n description: may be influenced by\n confidence: medium"
},
{
"bot":"The relationship between the two nodes is: Kappa aims for Lambda",
"user":"Describe the connection between node Kappa and node Lambda."
},
{
"bot":"Delta may trigger Epsilon.",
"user":"Describe the connection between node Delta and node Epsilon."
},
{
"bot":"The node(s) with the most connections are Alpha.",
"user":"Can you tell which node(s) are the most connected?"
},
{
"bot":"Alpha is being sustained by Beta, Alpha involves Delta, Alpha may involve Epsilon",
"user":"Detail the connections associated with node Alpha in the KG."
},
{
"bot":"2 incoming connections and 0 outgoing connections.",
"user":"Give me the connections for node id Epsilon."
},
{
"bot":"Iota is a event node.",
"user":"Which category does node Iota belong to?"
},
{
"bot":"Lambda may be influenced by Mu",
"user":"Detail the connections associated with node Mu in the KG."
},
{
"bot":"high.",
"user":"What is the confidence level of the relationship between node Beta and node Gamma?"
},
{
"bot":"Node Theta has the following connections:\nEta influences Theta",
"user":"Which nodes are connected to node Theta?"
},
{
"bot":"Node Nu belongs to the event category.",
"user":"Can you specify the category of node Nu?"
},
{
"bot":"The confidence score for the relationship between Alpha and Epsilon is medium.",
"user":"How confident are we about the connection between Alpha and Epsilon?"
},
{
"bot":"Node Kappa has 0 incoming connections and 1 outgoing connections.",
"user":"What's the number of connections for node id Kappa?"
},
{
"bot":"There are 0 isolated nodes.",
"user":"How many isolated nodes are there?"
},
{
"bot":"The relationship(s) Mu, Lambda, Epsilon, Nu have the lowest confidence level.",
"user":"Identify the relationship(s) with the minimal confidence score."
},
{
"bot":"The confidence level of the relationship between node Eta and node Theta is high.",
"user":"What is the confidence level of the relationship between node Eta and node Theta?"
},
{
"bot":"Theta is a event node.",
"user":"Can you specify the category of node Theta?"
},
{
"bot":"There are 13 nodes in the KG.",
"user":"Can you tell the node count in the KG?"
},
{
"bot":"1 incoming connections and 2 outgoing connections.",
"user":"Give me the connections for node id Lambda."
},
{
"bot":"12",
"user":"How many edges connect these nodes?"
},
{
"bot":"1",
"user":"Identify the number of nodes with person as their defining attribute."
},
{
"bot":"Theta, Eta, Beta, Iota, Gamma, Delta is/are the relationship(s) with the highest confidence.",
"user":"Identify the relationship(s) with the maximum confidence score."
},
{
"bot":"On average, the confidence level across all nodes is 0.75.",
"user":"What's the average confidence level of the relationships?"
},
{
"bot":"There are 12 nodes with event as an attribute.",
"user":"Count the nodes that have event as their main attribute."
},
{
"bot":"There are 13 more connected nodes than isolated nodes in the KG.",
"user":"Subtract the number of isolated nodes from connected ones. How many do you get?"
},
{
"bot":"There are 1 nodes with role as an attribute.",
"user":"How many nodes are defined by the attribute role?"
},
{
"bot":"The KG has 13 nodes, 12 edges, and an average confidence level of 0.75.",
"user":"Could you describe the structure and confidence metrics of the knowledge graph?"
},
{
"bot":"Beta is/are the least connected node(s).",
"user":"Can you point out the node(s) with minimal connections?"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment