@talonic/docs 0.20.29 → 0.20.31

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.
Files changed (2) hide show
  1. package/dist/content.js +13 -13
  2. package/package.json +4 -2
package/dist/content.js CHANGED
@@ -10876,8 +10876,8 @@ X-Talonic-Cells-Resolved-AI: 5`
10876
10876
  ],
10877
10877
  related: [
10878
10878
  { label: "Schema Formats", slug: "extract-schemas" },
10879
- { label: "Options", slug: "extract-options" },
10880
- { label: "Responses", slug: "extract-responses" }
10879
+ { label: "Options", slug: "extract-include-markdown" },
10880
+ { label: "Responses", slug: "extract-processing-mode" }
10881
10881
  ],
10882
10882
  faq: [
10883
10883
  { question: "What file formats does /v1/extract support?", answer: "PDF, DOCX, PNG, JPG, XLSX, CSV, TXT, and MD files are supported." },
@@ -11151,7 +11151,7 @@ X-Talonic-Cells-Resolved-AI: 5`
11151
11151
  ],
11152
11152
  related: [
11153
11153
  { label: "POST /v1/extract", slug: "post-extract" },
11154
- { label: "Responses", slug: "extract-responses" }
11154
+ { label: "Responses", slug: "extract-processing-mode" }
11155
11155
  ],
11156
11156
  faq: [
11157
11157
  { question: "Can I extract specific pages from a PDF?", answer: 'Yes. Use the page_range option, e.g. "1-5" or "1,3,7-10".' },
@@ -15412,7 +15412,7 @@ var sections28 = [
15412
15412
  ],
15413
15413
  related: [
15414
15414
  { label: "Link Keys", slug: "list-link-keys" },
15415
- { label: "Case Graph", slug: "get-case-graph" },
15415
+ { label: "Case Graph", slug: "case-edges" },
15416
15416
  { label: "Document-Case Map", slug: "refresh-cases" }
15417
15417
  ],
15418
15418
  faq: [
@@ -22536,7 +22536,7 @@ var sections39 = [
22536
22536
  related: [
22537
22537
  { label: "List Cases", slug: "list-cases" },
22538
22538
  { label: "Case Operations", slug: "case-operations" },
22539
- { label: "Case Evidence", slug: "case-evidence" }
22539
+ { label: "Case Evidence", slug: "case-documents" }
22540
22540
  ],
22541
22541
  faq: [
22542
22542
  { question: "What is the case narrative?", answer: "The narrative is an AI-generated summary produced by Claude during the case-synthesis rebuild. It describes the relationships, patterns, and key facts across the documents in the case." },
@@ -22759,7 +22759,7 @@ var sections39 = [
22759
22759
  ],
22760
22760
  related: [
22761
22761
  { label: "Get Case", slug: "get-case" },
22762
- { label: "Linking", slug: "linking-overview" }
22762
+ { label: "Linking", slug: "list-link-keys" }
22763
22763
  ],
22764
22764
  faq: [
22765
22765
  { question: "What happens when I reject an edge?", answer: "The connection between the two documents is removed. If this disconnects a document from all others in the case, it may be removed from the case." },
@@ -25251,7 +25251,7 @@ var sections44 = [
25251
25251
  { type: "paragraph", text: "Most integrations use registry query as a lookup layer after ingestion is complete. Call `POST /v1/extract` to ingest documents, wait for the `document.extraction.completed` webhook, then query the registry by field values to retrieve structured data across your entire corpus. Pair with `GET /v1/fields` to discover available canonical field names before building `where` conditions." }
25252
25252
  ],
25253
25253
  related: [
25254
- { label: "Field Registry", slug: "field-registry" },
25254
+ { label: "Field Registry", slug: "list-fields" },
25255
25255
  { label: "Filter Documents", slug: "filter-documents" },
25256
25256
  { label: "POST /v1/extract", slug: "post-extract" }
25257
25257
  ],
@@ -26392,9 +26392,9 @@ var sections49 = [
26392
26392
  }
26393
26393
  ],
26394
26394
  related: [
26395
- { label: "Documents", slug: "documents-list" },
26396
- { label: "Extract", slug: "extract-endpoint" },
26397
- { label: "Sources", slug: "sources-overview" }
26395
+ { label: "Documents", slug: "list-documents" },
26396
+ { label: "Extract", slug: "post-extract" },
26397
+ { label: "Sources", slug: "list-sources" }
26398
26398
  ],
26399
26399
  faq: [
26400
26400
  { question: "How does Talonic classify documents?", answer: "Classification is automatic during ingestion. Document AI OCR returns a free-text type label, which is resolved against the 529-type ontology via exact match with content signal verification. When the label is ambiguous or mismatched, a Haiku LLM call with the document content determines the correct type. This multi-tier approach ensures accurate classification across all languages." },
@@ -27177,7 +27177,7 @@ var sections51 = [
27177
27177
  related: [
27178
27178
  { label: "List Fields", slug: "list-fields" },
27179
27179
  { label: "Get Field", slug: "get-field" },
27180
- { label: "Schema Graph", slug: "schema-graph-overview" }
27180
+ { label: "Schema Graph", slug: "list-schema-graph-classes" }
27181
27181
  ],
27182
27182
  faq: [
27183
27183
  { question: "How is the is_universal flag determined?", answer: "A field is marked as universal when it appears in more than 50% of your organization's schemas. For example, if you have 10 schemas and a field appears in 6 or more of them, `is_universal` is `true`. The threshold is computed dynamically as your schema count changes." },
@@ -33300,7 +33300,7 @@ var sections_default2 = [
33300
33300
  {
33301
33301
  type: "callout",
33302
33302
  variant: "warning",
33303
- text: "Always provide either a `schema` or `schema_id`. The MCP layer rejects schema-less calls with a validation error before they reach the API."
33303
+ text: "Specify the fields you want: provide a `schema` or `schema_id`, or set `auto_schema: true` for open capture (Talonic discovers the fields and returns a suggested schema). A call giving none of the three returns a validation error that hands back a ready-to-paste minimal schema."
33304
33304
  },
33305
33305
  {
33306
33306
  type: "heading",
@@ -35029,7 +35029,7 @@ var sections_default2 = [
35029
35029
  },
35030
35030
  {
35031
35031
  type: "paragraph",
35032
- text: "By design in v0.1: schema-less extraction is unreliable, so the MCP layer rejects calls that omit both `schema` and `schema_id` before they reach the API. Provide either an inline `schema` (full JSON Schema recommended) or a `schema_id` from `talonic_list_schemas`."
35032
+ text: "By design, to keep results reliable. The error hands back a ready-to-paste minimal JSON Schema (tailored to your `instructions`) so the retry succeeds immediately. Three ways forward: provide an inline `schema` (full JSON Schema recommended), pass a `schema_id` from `talonic_list_schemas`, or set `auto_schema: true` for open capture \u2014 Talonic discovers the fields and returns a suggested schema you can refine."
35033
35033
  },
35034
35034
  {
35035
35035
  type: "heading",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talonic/docs",
3
- "version": "0.20.29",
3
+ "version": "0.20.31",
4
4
  "description": "Talonic documentation components — API Reference & Platform Guide",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -36,7 +36,8 @@
36
36
  "openapi.json"
37
37
  ],
38
38
  "scripts": {
39
- "build": "tsup",
39
+ "validate": "tsx src/content/validate.ts",
40
+ "build": "npm run validate && tsup",
40
41
  "dev": "tsup --watch",
41
42
  "prepublishOnly": "npm run build"
42
43
  },
@@ -50,6 +51,7 @@
50
51
  "react": "^19.0.0",
51
52
  "react-dom": "^19.0.0",
52
53
  "tsup": "^8.4.0",
54
+ "tsx": "^4.22.4",
53
55
  "typescript": "^5.7.3"
54
56
  }
55
57
  }