Skip to content

Commit

Permalink
polish sample to make it working
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Mar 12, 2024
1 parent 5111d40 commit 9df386b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
14 changes: 8 additions & 6 deletions llm-rag-with-langchain4j-spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<properties>
<java.version>17</java.version>
<langchain4j.version>0.28.0</langchain4j.version>
<langchain4j.version>0.27.1</langchain4j.version>
<spotless.version>2.43.0</spotless.version>
</properties>

Expand Down Expand Up @@ -66,11 +66,11 @@
<version>${langchain4j.version}</version>
</dependency>

<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-document-parser-apache-pdfbox</artifactId>
<version>${langchain4j.version}</version>
</dependency>
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-document-parser-apache-pdfbox</artifactId>
<version>${langchain4j.version}</version>
</dependency>

<dependency>
<groupId>org.postgresql</groupId>
Expand All @@ -92,6 +92,8 @@
<groupId>org.testcontainers</groupId>
<artifactId>postgresql</artifactId>
<scope>test</scope>
<!-- should be removed when OOTB version is same or greater than this -->
<version>1.19.7</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
public interface ContainersConfig {

@ServiceConnection
PostgreSQLContainer<?> postgreSQLContainer = new PostgreSQLContainer<>(
DockerImageName.parse("pgvector/pgvector:pg16").asCompatibleSubstituteFor("postgres"));
PostgreSQLContainer<?> postgreSQLContainer =
new PostgreSQLContainer<>(DockerImageName.parse("pgvector/pgvector:pg16"));
}

0 comments on commit 9df386b

Please sign in to comment.