24 lines
612 B
Java
24 lines
612 B
Java
package com.superbiz.agent.config;
|
|
|
|
import lombok.Getter;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
@Getter
|
|
@Configuration
|
|
@ConfigurationProperties(prefix = "rag.sidecar.spring-ai")
|
|
public class RagSidecarProperties {
|
|
|
|
private boolean enabled = false;
|
|
|
|
private int contentPreviewLimit = 300;
|
|
|
|
public void setEnabled(boolean enabled) {
|
|
this.enabled = enabled;
|
|
}
|
|
|
|
public void setContentPreviewLimit(int contentPreviewLimit) {
|
|
this.contentPreviewLimit = contentPreviewLimit;
|
|
}
|
|
}
|