Skip to content

Conversation

@garethjevans
Copy link
Contributor

fixes #3926

@garethjevans garethjevans force-pushed the separate-ollama-chat-embedding-options branch from fb02e62 to 46ed2bb Compare July 28, 2025 14:17
@garethjevans garethjevans force-pushed the separate-ollama-chat-embedding-options branch 6 times, most recently from 8bf1484 to 07f2969 Compare August 7, 2025 10:23
@markpollack markpollack added this to the 1.1.0.M2 milestone Sep 4, 2025
@ilayaperumalg
Copy link
Member

@garethjevans Could you rebase this PR? Thanks!

@markpollack
Copy link
Member

as this PR has been rebased many times as we never got around to it, we will handle the rebase ourself when the time comes to merge

@garethjevans garethjevans force-pushed the separate-ollama-chat-embedding-options branch from 07f2969 to 62506a5 Compare September 5, 2025 21:26
@garethjevans
Copy link
Contributor Author

failing on checkstyle validations and there don't appear to be any instructions on how to configure.

* @see <a href="https://github.com/ollama/ollama/blob/main/api/types.go">Ollama Types</a>
*/
@JsonInclude(Include.NON_NULL)
public class OllamaEmbeddingOptions implements EmbeddingOptions {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@garethjevans Thanks for the PR. Sorry about the delay in getting back to this. Looks like some of the properties like numGPU need to be added to OllamaEmbeddingOptions as well. Could you check?

@ilayaperumalg
Copy link
Member

@garethjevans Thanks for the PR. Rebased and merged as f908aa1 along with the changes to include the missing hardware, memory, execution and performance properties into embedding options as well. Verified Ollama ITs with these changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split OllamaOptions to Chat and Embedding specific Options

3 participants