aboutsummaryrefslogtreecommitdiffstats
path: root/model-integration/pom.xml
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@vespa.ai>2023-04-19 10:58:01 +0200
committerJon Bratseth <bratseth@vespa.ai>2023-04-19 10:58:01 +0200
commit2d9fd2e6c78e9ae8580cd4a21d20d0febb8f9c93 (patch)
treeb42f58bd734f4db2e2e45dfad298f96ade13573e /model-integration/pom.xml
parent4dd12fde1043fb42eeac2917d40e77e2682403e4 (diff)
Llm completion abstraction and OpenAi implementation
Diffstat (limited to 'model-integration/pom.xml')
-rw-r--r--model-integration/pom.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/model-integration/pom.xml b/model-integration/pom.xml
index c27ed9d2c31..c96441f11a7 100644
--- a/model-integration/pom.xml
+++ b/model-integration/pom.xml
@@ -111,6 +111,11 @@
</dependency>
<dependency>
+ <groupId>com.theokanning.openai-gpt3-java</groupId>
+ <artifactId>service</artifactId>
+ </dependency>
+
+ <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
@@ -146,6 +151,18 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <!--
+ openai-gpt3-java depends on a different Jackson version than the one we provide,
+ which leads to warnings, so we must disable error on warnings.
+ -->
+ <compilerArgs>
+ <arg>-Xlint:all</arg>
+ <arg>-Xlint:-rawtypes</arg>
+ <arg>-Xlint:-unchecked</arg>
+ <arg>-Xlint:-serial</arg>
+ </compilerArgs>
+ </configuration>
</plugin>
<plugin>
<groupId>com.github.os72</groupId>