Skip to content

Commit

Permalink
change interaction field names
Browse files Browse the repository at this point in the history
timestamp -> create_time
metadata -> additional_info

Signed-off-by: HenryL27 <[email protected]>
  • Loading branch information
HenryL27 committed Aug 29, 2023
1 parent 5901df4 commit 981acd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class ActionConstants {
/** name of prompt template field in all requests */
public final static String PROMPT_TEMPLATE_FIELD = "prompt_template";
/** name of metadata field in all requests */
public final static String METADATA_FIELD = "metadata";
public final static String METADATA_FIELD = "additional_info";
/** name of success field in all requests */
public final static String SUCCESS_FIELD = "success";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ public class ConversationalIndexConstants {
/** Name of the interaction field for the response's origin */
public final static String INTERACTIONS_ORIGIN_FIELD = "origin";
/** Name of the interaction field for additional metadata */
public final static String INTERACTIONS_METADATA_FIELD = "metadata";
public final static String INTERACTIONS_METADATA_FIELD = "additional_info";
/** Name of the interaction field for the timestamp */
public final static String INTERACTIONS_TIMESTAMP_FIELD = "timestamp";
public final static String INTERACTIONS_TIMESTAMP_FIELD = "create_time";
/** Mappings for the interactions index */
public final static String INTERACTIONS_MAPPINGS = "{\n"
+ " \"_meta\": {\n"
Expand Down

0 comments on commit 981acd9

Please sign in to comment.