Skip to content

Commit 012d2bd

Browse files
committed
ContentElementRepository no longer has a count method.
1 parent a2dc714 commit 012d2bd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/com/embabel/guide/rag/DataManager.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import org.springframework.lang.Nullable;
1515
import org.springframework.stereotype.Service;
1616
import org.springframework.transaction.annotation.Transactional;
17+
import org.springframework.transaction.PlatformTransactionManager;
1718

1819
import java.util.Collections;
1920
import java.util.List;
@@ -71,9 +72,8 @@ public List<LlmReference> referencesForUser(@Nullable User user) {
7172
return referencesForAllUsers();
7273
}
7374

74-
@Transactional(readOnly = true)
75-
public int count() {
76-
return store.count();
75+
public void provisionDatabase() {
76+
store.provision();
7777
}
7878

7979
/**

0 commit comments

Comments
 (0)