@sisu-ai/adapter-ollama 3.0.2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
# @sisu-ai/adapter-ollama
|
|
2
|
+
|
|
3
|
+
Ollama Chat adapter with native tools support.
|
|
4
|
+
|
|
2
5
|
[](https://github.com/finger-gun/sisu/actions/workflows/tests.yml)
|
|
3
6
|
[](https://github.com/finger-gun/sisu/blob/main/LICENSE)
|
|
4
7
|
[](https://www.npmjs.com/package/@sisu-ai/adapter-ollama)
|
|
5
8
|
[](https://github.com/finger-gun/sisu/blob/main/CONTRIBUTING.md)
|
|
6
9
|
|
|
7
|
-
Ollama Chat adapter with native tools support.
|
|
8
|
-
|
|
9
10
|
## Setup
|
|
10
11
|
```bash
|
|
11
12
|
npm i @sisu-ai/adapter-ollama
|
|
@@ -37,7 +38,11 @@ const model = ollamaAdapter({ model: 'llama3.1' });
|
|
|
37
38
|
- Streaming can be added via Ollama's streaming API if desired.
|
|
38
39
|
- Env: `OLLAMA_BASE_URL` or `BASE_URL` can override the base URL (or pass `baseUrl` in code). Examples may also support a CLI flag `--base-url` to override env.
|
|
39
40
|
|
|
41
|
+
|
|
40
42
|
# Community & Support
|
|
43
|
+
|
|
44
|
+
Discover what you can do through examples or documentation. Check it out at https://github.com/finger-gun/sisu. Example projects live under [`examples/`](https://github.com/finger-gun/sisu/tree/main/examples) in the repo.
|
|
45
|
+
|
|
41
46
|
- [Code of Conduct](https://github.com/finger-gun/sisu/blob/main/CODE_OF_CONDUCT.md)
|
|
42
47
|
- [Contributing Guide](https://github.com/finger-gun/sisu/blob/main/CONTRIBUTING.md)
|
|
43
48
|
- [License](https://github.com/finger-gun/sisu/blob/main/LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sisu-ai/adapter-ollama",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"build": "tsc -b"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@sisu-ai/core": "1.0
|
|
27
|
+
"@sisu-ai/core": "1.1.0"
|
|
28
28
|
},
|
|
29
29
|
"keywords": [
|
|
30
30
|
"sisu",
|