me.zhangjh.gemini.request.TextRequest Maven / Gradle / Ivy
The newest version!
package me.zhangjh.gemini.request;
import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import me.zhangjh.gemini.pojo.ChatContent;
import java.util.List;
/**
* @author [email protected]
* @date 20:18 2023/12/22
* @Description
*/
@ToString(callSuper = true)
@Getter
@Setter
public class TextRequest extends BaseRequest {
private List contents;
@JSONField(serialize = false)
private String urlPath = "/models/gemini-pro:generateContent";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy