diff options
Diffstat (limited to 'firmal/src/main/java/bjc/firmal/gptbrowser/msginfo/ParsedMessagePart.java')
| -rw-r--r-- | firmal/src/main/java/bjc/firmal/gptbrowser/msginfo/ParsedMessagePart.java | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/firmal/src/main/java/bjc/firmal/gptbrowser/msginfo/ParsedMessagePart.java b/firmal/src/main/java/bjc/firmal/gptbrowser/msginfo/ParsedMessagePart.java new file mode 100644 index 0000000..38a02d4 --- /dev/null +++ b/firmal/src/main/java/bjc/firmal/gptbrowser/msginfo/ParsedMessagePart.java @@ -0,0 +1,54 @@ +package bjc.firmal.gptbrowser.msginfo; + +/** + * A representation of the parts of a parsed message + */ +public interface ParsedMessagePart { + /** + * + */ + /** + * The type of the parsed message + */ + public static enum MessagePartType { + /** + * A parsed message containing text + */ + TEXT, + + /** + * A recap of the reasoning for a message + */ + REASONING_RECAP, + + /** + * The thoughts behind a message. + */ + THOUGHTS, + + /** + * A message consisting of code + */ + CODE, + /** + * A message consisting of the results of executing code + */ + EXECUTION_OUTPUT, + + /** + * A 'raw' parsed message, just containing JSON + */ + RAW, + + /** + * A parsed message containing other parsed messages + */ + COMPOUND + } + + /** + * Get the type of the parsed message + * @return The type of the parsed message + */ + public MessagePartType getType(); +} |
