Skip to content

Commit

Permalink
Fix checkstyle fail
Browse files Browse the repository at this point in the history
  • Loading branch information
isontheline committed May 27, 2024
1 parent a6c20d3 commit 0612a4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions backend/src/main/java/ai/dragon/config/AsyncConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
public class AsyncConfig {
@Bean
public Executor threadPoolTaskExecutor() {
ThreadPoolTaskExecutor threadPoolTaskExecutor = new ThreadPoolTaskExecutor();
threadPoolTaskExecutor.setMaxPoolSize(10);
return threadPoolTaskExecutor;
ThreadPoolTaskExecutor threadPoolTaskExecutor = new ThreadPoolTaskExecutor();
threadPoolTaskExecutor.setMaxPoolSize(10);

return threadPoolTaskExecutor;
}
}
4 changes: 2 additions & 2 deletions backend/src/main/java/ai/dragon/entity/SiloEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ public class SiloEntity implements IAbstractEntity {
private String name;

@NotNull
@Schema(description = "Java Class to be used for the Vector Store", example = "dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore")
@Schema(description = "Java Class to be used for the Vector Store", example = "InMemoryEmbeddingStore")
private String vectorStoreClass;

@NotNull
@Schema(description = "Java Class to be used for the Embedding Model", example = "dev.langchain4j.model.embedding.bge.small.en.v15.BgeSmallEnV15QuantizedEmbeddingModel")
@Schema(description = "Java Class to be used for the Embedding Model", example = "BgeSmallEnV15QuantizedEmbeddingModel")
private String embeddingModelClass;

public SiloEntity() {
Expand Down

0 comments on commit 0612a4f

Please sign in to comment.