@hilbras/sdk 0.21.0 → 0.23.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 +5 -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.22.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,8 @@ 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) |
|
|
120
|
+
| **Scaffolding** | `npx create-hilbras-app` project scaffolding | [CLI](docs/cli.md) |
|
|
119
121
|
| **Zero runtime deps** | Pure TypeScript, no transitive dependencies | — |
|
|
120
122
|
|
|
121
123
|
---
|
|
@@ -135,6 +137,7 @@ const reply = await client.complete({
|
|
|
135
137
|
- **[Catalog](docs/catalog.md)** — provider/model discovery
|
|
136
138
|
- **[CLI](docs/cli.md)** — command-line tools
|
|
137
139
|
- **[Migration](docs/migration-from-vercel-ai-sdk.md)** — from Vercel AI SDK
|
|
140
|
+
- **[Fine-tuning](docs/fine-tune.md)** — training data export and validation
|
|
138
141
|
- **[CHANGELOG](CHANGELOG.md)** — version history
|
|
139
142
|
|
|
140
143
|
## Subpath imports
|
|
@@ -157,6 +160,7 @@ import { useChat } from "@hilbras/angular"; // Angular signals
|
|
|
157
160
|
import { ToolLoopAgent } from "@hilbras/agent"; // Agent framework
|
|
158
161
|
import { evaluate } from "@hilbras/eval"; // Evaluation
|
|
159
162
|
import { RAGPipeline } from "@hilbras/rag"; // RAG
|
|
163
|
+
import { exportTrainingData } from "@hilbras/fine-tune"; // Fine-tuning
|
|
160
164
|
```
|
|
161
165
|
|
|
162
166
|
## Development
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hilbras/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.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",
|