me.zhangjh.gemini.request.EmbeddingRequest 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.common.ApiVersionEnum;
import me.zhangjh.gemini.pojo.Content;
/**
* @author [email protected]
* @date 20:35 2023/12/22
* @Description
*/
@ToString(callSuper = true)
@Getter
@Setter
public class EmbeddingRequest {
@JSONField(serialize = false)
private String version = ApiVersionEnum.V1.getCode();
private Content content;
@JSONField(serialize = false)
private String urlPath = "/models/embedding-001:embedContent";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy