package com.huimv.employment.integration.kb.rag;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * {@code POST /api/rag/insert-text} 请求体。
 */
public class RagInsertTextRequest {

    private String text;

    @JsonProperty("file_source")
    private String fileSource;

    public RagInsertTextRequest() {
    }

    public RagInsertTextRequest(String text, String fileSource) {
        this.text = text;
        this.fileSource = fileSource;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getFileSource() {
        return fileSource;
    }

    public void setFileSource(String fileSource) {
        this.fileSource = fileSource;
    }
}
