Ollama: remove invalid embedding_only option
Signed-off-by: Thomas Vitale <ThomasVitale@users.noreply.github.com>
This commit is contained in:
committed by
Christian Tzolov
parent
0a007b4a5c
commit
23db7cccdf
@@ -108,11 +108,6 @@ public class OllamaOptions implements ChatOptions, EmbeddingOptions {
|
||||
*/
|
||||
@JsonProperty("use_mlock") private Boolean useMLock;
|
||||
|
||||
/**
|
||||
* ???
|
||||
*/
|
||||
@JsonProperty("embedding_only") private Boolean embeddingOnly;
|
||||
|
||||
/**
|
||||
* ???
|
||||
*/
|
||||
@@ -319,11 +314,6 @@ public class OllamaOptions implements ChatOptions, EmbeddingOptions {
|
||||
return this;
|
||||
}
|
||||
|
||||
public OllamaOptions withEmbeddingOnly(Boolean embeddingOnly) {
|
||||
this.embeddingOnly = embeddingOnly;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OllamaOptions withRopeFrequencyBase(Float ropeFrequencyBase) {
|
||||
this.ropeFrequencyBase = ropeFrequencyBase;
|
||||
return this;
|
||||
@@ -520,14 +510,6 @@ public class OllamaOptions implements ChatOptions, EmbeddingOptions {
|
||||
this.useMLock = useMLock;
|
||||
}
|
||||
|
||||
public Boolean getEmbeddingOnly() {
|
||||
return embeddingOnly;
|
||||
}
|
||||
|
||||
public void setEmbeddingOnly(Boolean embeddingOnly) {
|
||||
this.embeddingOnly = embeddingOnly;
|
||||
}
|
||||
|
||||
public Float getRopeFrequencyBase() {
|
||||
return ropeFrequencyBase;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user