Skip to content

Commit

Permalink
Don't use demo code anymore, real google instance
Browse files Browse the repository at this point in the history
  • Loading branch information
frankyhollywood committed Aug 12, 2024
1 parent 0032337 commit 72ca06a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions projects/saturn/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ dependencies {

implementation("org.json:json:20240303")

// LLM is customer specific. By default the jar will be a demo implementation, overwrite it with customer specific implementation
implementation files("libs/nl-hyve-fairspace-demo-v2.4.jar")

runtimeOnly 'org.apache.logging.log4j:log4j-api:2.23.0'
runtimeOnly 'org.apache.logging.log4j:log4j-core:2.23.0'
runtimeOnly 'org.apache.logging.log4j:log4j-slf4j2-impl:2.23.0'
Expand All @@ -83,6 +80,10 @@ dependencies {
testImplementation "org.testcontainers:postgresql:1.19.6"
testImplementation('com.github.stefanbirkner:system-rules:1.19.0') {
exclude group: 'junit', module:'junit-dep'

// dependencies for google llm api
implementation 'com.google.auth:google-auth-library-oauth2-http:1.23.0'
implementation("org.json:json:20240303")
}

constraints {
Expand Down
Binary file removed projects/saturn/libs/nl-hyve-fairspace-demo-v2.4.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import java.util.stream.Collectors;

import lombok.extern.log4j.*;
import nl.hyve.llm.LlmConversation;
import io.fairspace.saturn.services.llm.LlmConversation;
import org.json.JSONObject;
import spark.Request;

Expand Down

0 comments on commit 72ca06a

Please sign in to comment.