Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions docs/website/content/docs/reference/api/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: API Summary — v0.15.x (latest)
title: API Summary — v0.16.x (latest)
description: One-page reference of all public functions and objects exported by @qvac/sdk
---

Expand Down Expand Up @@ -790,6 +790,15 @@ function ocr(params: OCRClientParams): { blocks: Promise<{ bbox?: [number, numbe

**Example**:
```ts
// Load an OCR model first. Registry GGUF models resolve their pipeline
// and detector automatically:
// EasyOCR (default): OCR_LATIN (CRAFT detector auto-derived)
// DocTR: OCR_DOCTR (DBNet detector auto-derived)
const modelId = await loadModel({
modelSrc: OCR_LATIN.src,
modelType: MODEL_TYPES.ggmlOcr,
});

// Non-streaming mode (default) - get all blocks at once
const { blocks } = ocr({ modelId, image: "/path/to/image.png" });
for (const block of await blocks) {
Expand Down Expand Up @@ -1621,7 +1630,7 @@ await cancel(requestId);

### `vla`

Run VLA inference on a loaded model (SmolVLA or π₀.₅) and return the
Run VLA inference on a loaded model (SmolVLA, π₀.₅, or GR00T) and return the
produced action chunk plus per-stage timings.

**Signature**:
Expand Down
Loading
Loading