diff --git a/build.gradle b/build.gradle index 99d6063c702..fd12d043ada 100644 --- a/build.gradle +++ b/build.gradle @@ -351,7 +351,7 @@ dependencies { exclude group: 'org.jetbrains.kotlin' } - + implementation 'org.apache.velocity:velocity-engine-core:2.3' implementation platform('ai.djl:bom:0.30.0') implementation 'ai.djl:api' implementation 'ai.djl.huggingface:tokenizers' diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java index 49906ad2625..f0151b8988e 100644 --- a/src/main/java/module-info.java +++ b/src/main/java/module-info.java @@ -160,6 +160,7 @@ uses ai.djl.repository.RepositoryFactory; uses ai.djl.repository.zoo.ZooProvider; uses dev.langchain4j.spi.prompt.PromptTemplateFactory; + requires velocity.engine.core; // endregion // region: Lucene diff --git a/src/main/java/org/jabref/gui/preferences/ai/AiTab.fxml b/src/main/java/org/jabref/gui/preferences/ai/AiTab.fxml index b81bd96ba06..64e737747f5 100644 --- a/src/main/java/org/jabref/gui/preferences/ai/AiTab.fxml +++ b/src/main/java/org/jabref/gui/preferences/ai/AiTab.fxml @@ -16,6 +16,9 @@ + + + - - @@ -235,5 +234,37 @@ glyph="REFRESH"/> + + +