-
Notifications
You must be signed in to change notification settings - Fork 207
Expand file tree
/
Copy pathbuild.gradle
More file actions
30 lines (24 loc) · 866 Bytes
/
build.gradle
File metadata and controls
30 lines (24 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
plugins {
id 'java'
id 'application'
}
repositories {
mavenCentral()
}
dependencies {
// OpenInference instrumentation
implementation project(path: ':instrumentation:openinference-instrumentation-langchain4j')
// implementation 'com.arize:openinference-instrumentation-langchain4j:0.1.2'
// LangChain4j
implementation "dev.langchain4j:langchain4j:${langchain4jVersion}"
implementation "dev.langchain4j:langchain4j-open-ai:${langchain4jVersion}"
// OpenTelemetry
implementation "io.opentelemetry:opentelemetry-sdk"
implementation "io.opentelemetry:opentelemetry-exporter-otlp"
implementation "io.opentelemetry:opentelemetry-exporter-logging"
// Logging
implementation "org.slf4j:slf4j-simple:${slf4jVersion}"
}
application {
mainClass = 'io.openinference.examples.LangChain4jExample'
}