package com.slodon.b2b2c.investment.constant;

/**
 * @author sunshihao
 * @version 1.0
 * @description: TODO
 * @date 2025/8/5 15:33
 */
public class InvestmentConst {
    /**
     * 默认固定线程数
     */
    public static final int DEFAULT_RUN_THREAD_NUM = 2;

    public static final int NUM_ZERO = 0;
    public static final int NUM_ONE = 1;
    public static final int NUM_TWO = 2;
    public static final int NUM_THREE = 3;
    public static final int NUM_FOUR = 4;
    public static final long NUM_TEN = 10;
    public static final int NUM_FIFTY = 50;
    public static final int NUM_ONE_HUNDRED = 100;
    public static final int NUM_ONE_THOUSAND = 1000;
    public static final int NEGATIVE_ONE = -1;
    /**
     * 线程池存活时间
     */
    public static final long KEEP_ALIVE_TIME = 5000L;
    /**
     * 等待队列大小
     */
    public static final int WORK_QUEUE = 2;
    public static final Double ONE_HUNDRED_DOUBLE = 100.0;
    public static final String CONTENT_TYPE = "Content-Type";
    public static final String APPLICATION_JSON = "application/json";
    public static final String TEXT = "text";
    public static final String MODEL_NAME = "model_name";
    public static final String AUTHORIZATION = "Authorization";
    public static final String KEYWORDS = "keywords";
    public static final String LANGUAGE_NAME = "language_name";
    public static final String LOCATION_NAME = "location_name";
    public static final String ENGLISH = "English";
    public static final String LIMIT = "limit";
    public static final String TARGET = "target";
    public static final String HTTPS = "https://";
    public static final String HTTP = "http://";
    public static final String WWW = "www.";
    public static final String COM = ".com";
    public static final String TARGETS = "targets";
    public static final String KEYWORD = "keyword";
    public static final String CHINESE = "chinese";
    public static final String LAST_PART_MARKER = "```\n" +
            "\n" +
            "## 参考资料";
    public static final String FIRST_MARKER = "4. 引用";

    // dify 配置
    public static final String BEARER = "Bearer ";
    public static final String NAME = "name";
    public static final String INDEXING_TECHNIQUE = "indexing_technique";
    public static final String HIGH_QUALITY = "high_quality";
    public static final String MODE = "mode";
    public static final String AUTOMATIC = "automatic";
    public static final String PROCESS_RULE = "process_rule";
    public static final String CREATE_BY_TEXT = "/document/create-by-text";
    public static final String DOCUMENT_ID = "document.id";
    public static final String DOCUMENTS = "/documents/";
    public static final String UPDATE_BY_TEXT = "/update-by-text";
    public static final String ID = "id";
    public static final String REMOVE_EXTRA_SPACES = "remove_extra_spaces";
    public static final String ENABLED = "enabled";
    public static final String REMOVE_URLS_EMAILS = "remove_urls_emails";
    public static final String SEPARATOR = "separator";
    public static final String SEPARATOR_VALUE = "###";
    public static final String MAX_TOKENS = "max_tokens";
    public static final String PRE_PROCESSING_RULES = "pre_processing_rules";
    public static final String SEGMENTATION = "segmentation";
    public static final String RULES = "rules";
    public static final String CUSTOM = "custom";
    public static final String CREATE_BY_FILE = "/document/create-by-file";
    public static final String UPDATE_BY_FILE = "/update-by-file";
    public static final String FILE = "file";
    public static final String DATA = "data";
    public static final String PAGE = "page";
    public static final String TOTAL = "total";

    public static final String YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";
    public static final String DELETE_SUCCESS = "204\n";
}
