@sisu-ai/adapter-ollama 1.0.0 → 1.0.1
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 -0
- package/package.json +11 -2
package/README.md
CHANGED
|
@@ -3,9 +3,16 @@
|
|
|
3
3
|
Ollama Chat adapter with native tools support.
|
|
4
4
|
|
|
5
5
|
## Setup
|
|
6
|
+
```bash
|
|
7
|
+
npm i @sisu-ai/adapter-ollama
|
|
8
|
+
```
|
|
9
|
+
|
|
6
10
|
- Start Ollama locally: `ollama serve`
|
|
7
11
|
- Pull a tools-capable model: `ollama pull llama3.1:latest`
|
|
8
12
|
|
|
13
|
+
## Documentation
|
|
14
|
+
Discover what you can do through examples or documentation. Check it out at https://github.com/finger-gun/sisu
|
|
15
|
+
|
|
9
16
|
## Usage
|
|
10
17
|
```ts
|
|
11
18
|
import { ollamaAdapter } from '@sisu-ai/adapter-ollama';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sisu-ai/adapter-ollama",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,10 +10,19 @@
|
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/finger-gun/sisu",
|
|
16
|
+
"directory": "packages/adapters/ollama"
|
|
17
|
+
},
|
|
18
|
+
"homepage": "https://github.com/finger-gun/sisu#readme",
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/finger-gun/sisu/issues"
|
|
21
|
+
},
|
|
13
22
|
"scripts": {
|
|
14
23
|
"build": "tsc -b"
|
|
15
24
|
},
|
|
16
25
|
"peerDependencies": {
|
|
17
|
-
"@sisu-ai/core": "0.2.
|
|
26
|
+
"@sisu-ai/core": "0.2.1"
|
|
18
27
|
}
|
|
19
28
|
}
|