mirror of
https://github.com/run-llama/LlamaIndexTS.git
synced 2026-07-20 22:41:23 -04:00
chore: bump ollama (#2156)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@llamaindex/ollama": patch
|
||||
---
|
||||
|
||||
chore: bump ollama package to support gpt-oss
|
||||
@@ -0,0 +1,9 @@
|
||||
import { ollama } from "@llamaindex/ollama";
|
||||
|
||||
(async () => {
|
||||
const llm = ollama({
|
||||
model: "gpt-oss:20b",
|
||||
});
|
||||
const response = await llm.complete({ prompt: "How are you?" });
|
||||
console.log("Response:", response.text);
|
||||
})();
|
||||
@@ -34,7 +34,7 @@
|
||||
"@llamaindex/env": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"ollama": "^0.5.10",
|
||||
"ollama": "^0.5.16",
|
||||
"remeda": "^2.17.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
Generated
+5
-5
@@ -1404,8 +1404,8 @@ importers:
|
||||
packages/providers/ollama:
|
||||
dependencies:
|
||||
ollama:
|
||||
specifier: ^0.5.10
|
||||
version: 0.5.14
|
||||
specifier: ^0.5.16
|
||||
version: 0.5.16
|
||||
remeda:
|
||||
specifier: ^2.17.3
|
||||
version: 2.21.3
|
||||
@@ -11217,8 +11217,8 @@ packages:
|
||||
okapibm25@1.4.1:
|
||||
resolution: {integrity: sha512-UHmeH4MAtZXGFVncwbY7pfFvDVNxpsyM3W66aGPU0SHj1+ld59ty+9lJ0ifcrcnPUl1XdYoDgb06ObyCnpTs3g==}
|
||||
|
||||
ollama@0.5.14:
|
||||
resolution: {integrity: sha512-pvOuEYa2WkkAumxzJP0RdEYHkbZ64AYyyUszXVX7ruLvk5L+EiO2G71da2GqEQ4IAk4j6eLoUbGk5arzFT1wJA==}
|
||||
ollama@0.5.16:
|
||||
resolution: {integrity: sha512-OEbxxOIUZtdZgOaTPAULo051F5y+Z1vosxEYOoABPnQKeW7i4O8tJNlxCB+xioyoorVqgjkdj+TA1f1Hy2ug/w==}
|
||||
|
||||
on-finished@2.4.1:
|
||||
resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==}
|
||||
@@ -25571,7 +25571,7 @@ snapshots:
|
||||
|
||||
okapibm25@1.4.1: {}
|
||||
|
||||
ollama@0.5.14:
|
||||
ollama@0.5.16:
|
||||
dependencies:
|
||||
whatwg-fetch: 3.6.20
|
||||
|
||||
|
||||
Reference in New Issue
Block a user