This commit is contained in:
Varun Shenoy
2023-02-10 14:53:36 -08:00
parent 3c2014b874
commit ce034b14ba

View File

@@ -0,0 +1,15 @@
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: $prompt
updates: