Skip to content

Commit 48fc0ba

Browse files
authored
Merge pull request #361 from marklogic/feature/refactor-subproject
Moved langchain4j code to new subproject
2 parents 0fd8fc7 + 2844a05 commit 48fc0ba

30 files changed

+21
-10
lines changed

marklogic-langchain4j/build.gradle

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//configurations.all {
2+
// // Ensures that slf4j-api 1.x does not appear on the Flux classpath in particular, which can lead to this
3+
// // issue - https://www.slf4j.org/codes.html#StaticLoggerBinder .
4+
// resolutionStrategy {
5+
// force "org.slf4j:slf4j-api:2.0.13"
6+
// }
7+
//}
8+
9+
dependencies {
10+
compileOnly "com.fasterxml.jackson.core:jackson-databind:2.17.2"
11+
api "com.marklogic:marklogic-client-api:7.0.0"
12+
13+
// Supports splitting documents.
14+
api "dev.langchain4j:langchain4j:0.35.0"
15+
16+
// Needed for splitting XML documents via XPath.
17+
implementation "jaxen:jaxen:2.0.0"
18+
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import com.marklogic.client.document.DocumentWriteOperation;
77
import com.marklogic.client.io.marker.AbstractWriteHandle;
88
import com.marklogic.client.io.marker.DocumentMetadataWriteHandle;
9-
import org.jetbrains.annotations.NotNull;
109

1110
import java.util.List;
1211

@@ -64,7 +63,7 @@ public String getTemporalDocumentURI() {
6463
}
6564

6665
@Override
67-
public int compareTo(@NotNull DocumentWriteOperation o) {
66+
public int compareTo(DocumentWriteOperation o) {
6867
return documentToWrite.compareTo(o);
6968
}
7069
}

0 commit comments

Comments
 (0)