Skip to content

Commit

Permalink
Ollama: remove invalid embedding_only option
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Vitale <[email protected]>
  • Loading branch information
ThomasVitale authored and tzolov committed Mar 24, 2024
1 parent 0a007b4 commit 23db7cc
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,6 @@ public class OllamaOptions implements ChatOptions, EmbeddingOptions {
*/
@JsonProperty("use_mlock") private Boolean useMLock;

/**
* ???
*/
@JsonProperty("embedding_only") private Boolean embeddingOnly;

/**
* ???
*/
Expand Down Expand Up @@ -319,11 +314,6 @@ public OllamaOptions withUseMLock(Boolean useMLock) {
return this;
}

public OllamaOptions withEmbeddingOnly(Boolean embeddingOnly) {
this.embeddingOnly = embeddingOnly;
return this;
}

public OllamaOptions withRopeFrequencyBase(Float ropeFrequencyBase) {
this.ropeFrequencyBase = ropeFrequencyBase;
return this;
Expand Down Expand Up @@ -520,14 +510,6 @@ public void setUseMLock(Boolean useMLock) {
this.useMLock = useMLock;
}

public Boolean getEmbeddingOnly() {
return embeddingOnly;
}

public void setEmbeddingOnly(Boolean embeddingOnly) {
this.embeddingOnly = embeddingOnly;
}

public Float getRopeFrequencyBase() {
return ropeFrequencyBase;
}
Expand Down

0 comments on commit 23db7cc

Please sign in to comment.