Files
dsapi_pub/src/main/java/com/dsapi/dto/ProviderChatRequest.java
T
2026-12-05 18:03:58 +08:00

47 lines
959 B
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.dsapi.dto;
/**
* 对外提供商问答请求。apiKey 优先取 Body。
*/
public class ProviderChatRequest {
/** 优先使用的 API Key(Body) */
private String apiKey;
private String question;
private Boolean webSearch;
/** none | save,默认 none */
private String historyMode;
public String getApiKey() {
return apiKey;
}
public void setApiKey(String apiKey) {
this.apiKey = apiKey;
}
public String getQuestion() {
return question;
}
public void setQuestion(String question) {
this.question = question;
}
public Boolean getWebSearch() {
return webSearch;
}
public void setWebSearch(Boolean webSearch) {
this.webSearch = webSearch;
}
public String getHistoryMode() {
return historyMode;
}
public void setHistoryMode(String historyMode) {
this.historyMode = historyMode;
}
}