Improve ChatGPT response consistency

Added `relevance`, `repeated`, and `conflicting` fields to the request
`tool` properties for ChatGPT, aiming to maintain consistency in
responses and prevent type mismatches.

Jira-Id: IT-103
Change-Id: I0d824325291bbaf62f496b6449456ccdb4a923f1
Signed-off-by: Patrizio <patrizio.gelosi@amarulasolutions.com>
diff --git a/src/main/java/com/googlesource/gerrit/plugins/chatgpt/model/chatgpt/ChatGptRequest.java b/src/main/java/com/googlesource/gerrit/plugins/chatgpt/model/chatgpt/ChatGptRequest.java
index 09cad7a..bfe1390 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/chatgpt/model/chatgpt/ChatGptRequest.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/chatgpt/model/chatgpt/ChatGptRequest.java
@@ -57,6 +57,9 @@
                                 private Field id;
                                 private Field reply;
                                 private Field score;
+                                private Field relevance;
+                                private Field repeated;
+                                private Field conflicting;
                                 private Field filename;
                                 private Field lineNumber;
                                 private Field codeSnippet;
diff --git a/src/main/resources/Config/tools.json b/src/main/resources/Config/tools.json
index 3a242e9..643bd8d 100644
--- a/src/main/resources/Config/tools.json
+++ b/src/main/resources/Config/tools.json
@@ -22,6 +22,15 @@
                   "score": {
                     "type": "integer"
                   },
+                  "relevance": {
+                    "type": "number"
+                  },
+                  "repeated": {
+                    "type": "boolean"
+                  },
+                  "conflicting": {
+                    "type": "boolean"
+                  },
                   "filename": {
                     "type": "string"
                   },