You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Thought 2: Think about how these terms can have one on one relation with other terms.\n"
47
-
"\tTerms that are mentioned in the same sentence or the same paragraph are typically related to each other.\n"
48
-
"\tTerms can be related to many other terms\n\n"
49
-
"Thought 3: Find out the relation between each such related pair of terms. \n\n"
50
-
"Format your output as a list of JSON. Each element of the list contains a pair of terms"
41
+
"You are a network graph maker who extracts the most critical terms and their relations from a given context. "
42
+
"You are provided with a context chunk (delimited by ```). Your task is to extract the ontology "
43
+
"of the few key terms that are indispensable for understanding the given context. These terms should represent the core concepts as per the context. \n"
44
+
"Thought 1: Identify the few most critical terms in the entire context.\n"
45
+
"\tTerms may include only the most significant objects, entities, locations, organizations, people, conditions, acronyms, documents, services, concepts, etc.\n"
46
+
"\tExclude all terms that are not crucial to the core message.\n"
47
+
"\tDo not extract a term from every sentence; focus only on the most important terms across the entire context.\n\n"
48
+
"Thought 2: Determine how these indispensable terms are directly related to each other.\n"
49
+
"\tTerms that are mentioned in the same sentence or paragraph are typically related to each other.\n"
50
+
"\tFocus solely on relationships that reveal the most critical interactions or dependencies, ignoring all minor details.\n\n"
51
+
"Thought 3: Identify the specific type of relationship between each related pair of terms.\n"
52
+
"\tEnsure the relationship is crucial, highly relevant, and necessary for understanding the context.\n\n"
53
+
"Format your output as a list of JSON. Each element of the list contains a pair of terms "
51
54
"and the relation between them, like the following: \n"
52
55
"[\n"
53
56
" {\n"
54
-
' "node_1": "A concept from extracted ontology",\n'
55
-
' "node_2": "A related concept from extracted ontology",\n'
57
+
' "node_1": "A core concept from extracted ontology",\n'
58
+
' "node_2": "A related core concept from extracted ontology",\n'
56
59
' "edge": "relationship between the two concepts, node_1 and node_2"\n'
0 commit comments