Skip to content

feat(ollama): Add dimensions provider option to embeddings#913

Merged
sixlive merged 1 commit intoprism-php:mainfrom
WoutervdBrink:feature/ollama-embeddings-dimentions-option
Feb 26, 2026
Merged

feat(ollama): Add dimensions provider option to embeddings#913
sixlive merged 1 commit intoprism-php:mainfrom
WoutervdBrink:feature/ollama-embeddings-dimentions-option

Conversation

@WoutervdBrink
Copy link
Copy Markdown
Contributor

Description

Ollama has an option to specify dimensions when calculating embeddings. This pull request adds that option to the Ollama embeddings handler. I also wrote a test using output from my Ollama instance.

Ollama has an option to specify dimensions when calculating embeddings.
This commit adds that option to the Ollama embeddings handler.
@sixlive sixlive force-pushed the feature/ollama-embeddings-dimentions-option branch from 688243c to 07398a0 Compare February 26, 2026 16:34
@sixlive sixlive merged commit 89922ec into prism-php:main Feb 26, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants