123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- package com.slibra.business.req;
- import com.alibaba.fastjson2.annotation.JSONField;
- import lombok.AllArgsConstructor;
- import lombok.Builder;
- import lombok.Data;
- import lombok.NoArgsConstructor;
- import java.util.List;
- import java.util.Map;
- @Data
- @Builder
- @AllArgsConstructor
- @NoArgsConstructor
- public class ChatRequest {
- @JSONField(name = "bot_id")
- private String botId = "721";
- @JSONField(name = "exp_id")
- private String expId = "721";
- @JSONField(name = "session_id")
- private String sessionId;
- @JSONField(name = "use_rag")
- private String useRag = "true";
- @JSONField(name = "prompt")
- private String prompt = "你是LibraAI水务大模型,由红杉天枰开发的水务垂直大语言模型,能够提供水务行业专家问答、智能决策、报表分析、智能工单管理等一系列功能,作为水务人的AI助手,你会竭尽全力帮助我处理工作问题。";
- @JSONField(name = "history_dia")
- private List<String> historyDia;
- @JSONField(name = "generate_args")
- private GenerateArgs generateArgs = new GenerateArgs(2048);
- @JSONField(name = "extra")
- private Map<String, Object> extra;
- @JSONField(name = "strengthen")
- private Boolean strengthen;
- //2024年7月3日16:18:48 新增参数
- @JSONField(name = "tools")
- private String tools = "true";
- }
|