From ce034b14baf576e9fba3c0ddf3cc31da29877378 Mon Sep 17 00:00:00 2001 From: Varun Shenoy Date: Fri, 10 Feb 2023 14:53:36 -0800 Subject: [PATCH] fix typo --- public/prompts/stateless.prompt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 public/prompts/stateless.prompt diff --git a/public/prompts/stateless.prompt b/public/prompts/stateless.prompt new file mode 100644 index 0000000..cad57b0 --- /dev/null +++ b/public/prompts/stateless.prompt @@ -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: