File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/main/java/schemacrawler/tools/command/aichat/utility/lanchain4j Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,13 @@ public class FullTextCatalogContentRetriever implements ContentRetriever {
26
26
27
27
private final LuceneContentRetriever fullTextCatalogRetriever ;
28
28
29
- public FullTextCatalogContentRetriever (final EmbeddingModel embeddingModel , final Catalog catalog ) {
29
+ public FullTextCatalogContentRetriever (
30
+ final EmbeddingModel embeddingModel , final Catalog catalog ) {
30
31
requireNonNull (catalog , "No catalog provided" );
31
32
32
33
final Directory tempDirectory = DirectoryFactory .tempDirectory ();
33
- final LuceneEmbeddingStore luceneIndexer = LuceneEmbeddingStore .builder ().directory (tempDirectory ).build ();
34
+ final LuceneEmbeddingStore luceneIndexer =
35
+ LuceneEmbeddingStore .builder ().directory (tempDirectory ).build ();
34
36
final TextSegment databaseInfoContent = getDatabaseInfoContent (catalog );
35
37
luceneIndexer .add (databaseInfoContent );
36
38
for (final Table table : catalog .getTables ()) {
You can’t perform that action at this time.
0 commit comments