mirror of
https://gitee.com/lucinox/dsapi_pub.git
synced 2026-12-07 02:55:00 +08:00
public_version_261205
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user