package com.storlead.knowledge.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "dify")
public class DifyProperties {

    private String baseUrl;
    private String datasetApiKey;

    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    public String getDatasetApiKey() {
        return datasetApiKey;
    }

    public void setDatasetApiKey(String apiKey) {
        this.datasetApiKey = apiKey;
    }
}