langchain-ai
langchain
BlogDocsChangelog

feat(ollama): embeddings output dimensionality parameter

#34627
Comparing
jasiecky:feature/34623
(
31e0e4a
) with
master
(
48cd131
)
CodSpeed Performance Gauge
-1%
Untouched
14
Skipped
20

Benchmarks

Skipped (20)

Passed

test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+1%
177.9 ms175.5 ms
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+1%
622.1 ms614.7 ms
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+1%
563 ms558.8 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
189.4 ms189.2 ms
test_init_time
libs/partners/ollama/tests/unit_tests/test_chat_models.py::TestChatOllama
CodSpeed Performance Gauge
0%
1.6 s*1.6 s
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
515.2 ms517.2 ms
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
479.6 ms484.1 ms
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
652.9 ms661.3 ms
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py
CodSpeed Performance Gauge
-2%
23.5 ms23.9 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-2%
515 ms525.1 ms
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-3%
556.9 ms573.4 ms
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-3%
459.1 ms474.2 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-4%
541 ms560.9 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-4%
267.8 ms278.2 ms

Commits

Click on a commit to change the comparison range
Base
master
48cd131
+0.01%
added output output_dimensionality parameter to ollama embeddings
bad0cb6
2 days ago
by jasiecky
+12.57%
added parameter as optional
49a7319
1 day ago
by jasiecky
+0.6%
updated fake.py
0cdf3e1
1 day ago
by jasiecky
+13.49%
updated MockEmbeddings
06fd370
1 day ago
by jasiecky
-15.11%
converted to kwargs
03e93de
1 day ago
by jasiecky
-8.53%
removed unnecessary changes
8af37b2
1 day ago
by jasiecky
+9.97%
changed to kwargs
0d5e5ec
1 day ago
by jasiecky
-2.65%
linters
5e7eec4
1 day ago
by jasiecky
-5.67%
fixes
a39cbf3
1 day ago
by jasiecky
+16.77%
adjusted test to _kwargs
a1679e1
10 hours ago
by jasiecky
-22.63%
fix
31e0e4a
10 hours ago
by jasiecky
© 2026 CodSpeed Technology
Home Terms Privacy Docs