@hilbras/sdk 0.21.0 → 0.22.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 +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://img.shields.io/badge/version-0.
|
|
2
|
+
<img src="https://img.shields.io/badge/version-0.21.0-blue" alt="version">
|
|
3
3
|
<img src="https://img.shields.io/badge/license-MIT-green" alt="license">
|
|
4
4
|
<img src="https://img.shields.io/badge/node-%3E%3D18-brightgreen" alt="node">
|
|
5
5
|
<img src="https://img.shields.io/badge/types-strict-blueviolet" alt="types">
|
|
@@ -116,6 +116,7 @@ const reply = await client.complete({
|
|
|
116
116
|
| **Provider catalog** | Runtime provider/model discovery with search | [Catalog](docs/catalog.md) |
|
|
117
117
|
| **CLI** | `hilbras` CLI for init, provider management, model listing, cost estimation | [CLI](docs/cli.md) |
|
|
118
118
|
| **Migration** | Guide from Vercel AI SDK | [Migration](docs/migration-from-vercel-ai-sdk.md) |
|
|
119
|
+
| **Fine-tuning** | Export training data in 6 formats, data splitting, quality validation | [Fine-tune](docs/fine-tune.md) |
|
|
119
120
|
| **Zero runtime deps** | Pure TypeScript, no transitive dependencies | — |
|
|
120
121
|
|
|
121
122
|
---
|
|
@@ -135,6 +136,7 @@ const reply = await client.complete({
|
|
|
135
136
|
- **[Catalog](docs/catalog.md)** — provider/model discovery
|
|
136
137
|
- **[CLI](docs/cli.md)** — command-line tools
|
|
137
138
|
- **[Migration](docs/migration-from-vercel-ai-sdk.md)** — from Vercel AI SDK
|
|
139
|
+
- **[Fine-tuning](docs/fine-tune.md)** — training data export and validation
|
|
138
140
|
- **[CHANGELOG](CHANGELOG.md)** — version history
|
|
139
141
|
|
|
140
142
|
## Subpath imports
|
|
@@ -157,6 +159,7 @@ import { useChat } from "@hilbras/angular"; // Angular signals
|
|
|
157
159
|
import { ToolLoopAgent } from "@hilbras/agent"; // Agent framework
|
|
158
160
|
import { evaluate } from "@hilbras/eval"; // Evaluation
|
|
159
161
|
import { RAGPipeline } from "@hilbras/rag"; // RAG
|
|
162
|
+
import { exportTrainingData } from "@hilbras/fine-tune"; // Fine-tuning
|
|
160
163
|
```
|
|
161
164
|
|
|
162
165
|
## Development
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hilbras/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "Provider-agnostic LLM client SDK — streaming, tool calling, embeddings, image generation, speech synthesis, transcription, reranking, circuit breaker, retry, reasoning normalization, cost enforcement, structured output with schema validation, type-safe tool builder, and SSRF-safe provider registration. Zero runtime dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|