dev.langchain4j.model.ollama.Options Maven / Gradle / Ivy
package dev.langchain4j.model.ollama;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
/**
* request options in completion/embedding API
*
* @see Ollama REST API Doc
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
class Options {
private Double temperature;
private Integer topK;
private Double topP;
private Double repeatPenalty;
private Integer seed;
private Integer numPredict;
private List stop;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy