@haybarn/ext-llm-h1-5-3 202602.17.140903
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 +61 -0
- package/package.json +41 -0
package/README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/Query-farm-haybarn/.github/haybarn/profile/assets/haybarn-icon.png" alt="Haybarn" width="120" height="120">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# Haybarn extension: `llm`
|
|
6
|
+
|
|
7
|
+
Call LLM APIs (OpenAI, Gemini, Cloudflare) directly from SQL with structured output support.
|
|
8
|
+
|
|
9
|
+
> **Source:** [https://github.com/midwork-finds-jobs/duckdb-llm](https://github.com/midwork-finds-jobs/duckdb-llm)
|
|
10
|
+
> **Catalog:** [Haybarn community extensions](https://github.com/Query-farm-haybarn/haybarn-community-extensions)
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npm install @haybarn/ext-llm-h1-5-3
|
|
16
|
+
# or use the exact version:
|
|
17
|
+
npm install @haybarn/ext-llm-h1-5-3@202602.17.140903
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
npm picks the matching platform binary from the leaves below via its `os` / `cpu` / `libc` fields. No postinstall scripts, no network calls after `npm install`.
|
|
21
|
+
|
|
22
|
+
## Available platforms (this version)
|
|
23
|
+
|
|
24
|
+
Installed automatically by `npm install @haybarn/ext-llm-h1-5-3` (npm picks the one matching your `os`/`cpu`/`libc`):
|
|
25
|
+
|
|
26
|
+
- `@haybarn/ext-llm-h1-5-3-win32-x64`
|
|
27
|
+
- `@haybarn/ext-llm-h1-5-3-darwin-arm64`
|
|
28
|
+
- `@haybarn/ext-llm-h1-5-3-darwin-x64`
|
|
29
|
+
- `@haybarn/ext-llm-h1-5-3-linux-arm64`
|
|
30
|
+
- `@haybarn/ext-llm-h1-5-3-linux-x64`
|
|
31
|
+
|
|
32
|
+
## WebAssembly (duckdb-wasm)
|
|
33
|
+
|
|
34
|
+
Also built for [duckdb-wasm](https://github.com/duckdb/duckdb-wasm). These are **not** installed by the meta above (npm has no wasm `os`/`cpu` to match) — install the variant matching your duckdb-wasm bundle (`mvp` / `eh` / `threads`) and point duckdb-wasm at the bundled asset:
|
|
35
|
+
|
|
36
|
+
- `@haybarn/ext-llm-h1-5-3-wasm-threads`
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
npm install @haybarn/ext-llm-h1-5-3-wasm-threads
|
|
40
|
+
```
|
|
41
|
+
```js
|
|
42
|
+
import extUrl from '@haybarn/ext-llm-h1-5-3-wasm-threads/bin/llm.duckdb_extension.wasm?url';
|
|
43
|
+
await conn.query(`INSTALL llm FROM '${extUrl}'`);
|
|
44
|
+
await conn.query(`LOAD llm`);
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Use it
|
|
48
|
+
|
|
49
|
+
Once installed, the `.duckdb_extension` binary lands in your project's `node_modules/` tree under the matching leaf. The [Haybarn](https://github.com/Query-farm-haybarn/haybarn) engine auto-discovers it at startup; from a Haybarn SQL session:
|
|
50
|
+
|
|
51
|
+
```sql
|
|
52
|
+
LOAD llm;
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## License
|
|
56
|
+
|
|
57
|
+
The `llm` extension is distributed under **MIT**. The Haybarn engine itself is MIT-licensed.
|
|
58
|
+
|
|
59
|
+
## Trademark
|
|
60
|
+
|
|
61
|
+
Haybarn is an independent derived distribution of DuckDB published by [Query Farm LLC](https://query.farm). Not affiliated with or endorsed by the DuckDB Foundation. DuckDB is a trademark of the DuckDB Foundation.
|
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@haybarn/ext-llm-h1-5-3",
|
|
3
|
+
"version": "202602.17.140903",
|
|
4
|
+
"description": "Call LLM APIs (OpenAI, Gemini, Cloudflare) directly from SQL with structured output support.",
|
|
5
|
+
"homepage": "https://github.com/midwork-finds-jobs/duckdb-llm",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/midwork-finds-jobs/duckdb-llm/issues"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/Query-farm-haybarn/haybarn-community-extensions.git"
|
|
12
|
+
},
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"haybarn",
|
|
16
|
+
"duckdb",
|
|
17
|
+
"extension",
|
|
18
|
+
"llm"
|
|
19
|
+
],
|
|
20
|
+
"optionalDependencies": {
|
|
21
|
+
"@haybarn/ext-llm-h1-5-3-win32-x64": "202602.17.140903",
|
|
22
|
+
"@haybarn/ext-llm-h1-5-3-darwin-arm64": "202602.17.140903",
|
|
23
|
+
"@haybarn/ext-llm-h1-5-3-darwin-x64": "202602.17.140903",
|
|
24
|
+
"@haybarn/ext-llm-h1-5-3-linux-arm64": "202602.17.140903",
|
|
25
|
+
"@haybarn/ext-llm-h1-5-3-linux-x64": "202602.17.140903"
|
|
26
|
+
},
|
|
27
|
+
"haybarn": {
|
|
28
|
+
"built_at": "2026-05-23T16:10:16Z",
|
|
29
|
+
"ext_commit": "18c5a54197440fcf43643c22f5de9ea9cbfe31e5",
|
|
30
|
+
"ext_version_label": "",
|
|
31
|
+
"extension": "llm",
|
|
32
|
+
"haybarn_version": "1.5.3",
|
|
33
|
+
"sha256": "see-leaf-packages-for-per-platform-sha256"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"README.md"
|
|
37
|
+
],
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
}
|
|
41
|
+
}
|