invoice_numbertext제공자 confidence
0.99누락 확률
0.01Playground
송장 번호와 금액은? Clairic이 송장 텍스트에서 둘 다 추출합니다. 미지급 총액이 "확인 예정"이면 금액은 null입니다. 입력이 값을 정하지 못하면 Clairic은 null을 반환하며, 송장 번호는 그대로 추출됩니다.
INVOICE INV-2291From: Northwind SupplyTo: Contoso LtdIssued: 2026-09-02Total due: 1080.00
{ "invoice_number": { "type": "text", "instructions": "The invoice id printed on the document." }, "amount": { "type": "number", "instructions": "The total amount due. Do not invent a currency symbol." }}이 두 예시는 세부 사항 하나만 다릅니다. 결과가 그에 따라 바뀝니다.
무엇이 바뀌었는지완전한 인보이스 → 금액 누락
invoice_numbertext0.990.01amountnumber0.960.02SYSTEM_ONE_API_KEY를 설정하세요. 스니펫은 게시된 카탈로그 모델 ID를 사용합니다.
{"model":"clairic","state":"INVOICE INV-2291\nFrom: Northwind Supply\nTo: Contoso Ltd\nIssued: 2026-09-02\nTotal due: 1080.00","fields":{"invoice_number":{"type":"text","instructions":"The invoice id printed on the document."},"amount":{"type":"number","instructions":"The total amount due. Do not invent a currency symbol."}}}curl "https://system-one.dev/v1/systemone" \ -H "Authorization: Bearer $SYSTEM_ONE_API_KEY" \ -H 'Content-Type: application/json' \ -H 'Idempotency-Key: saved-operation-id' \ --data '{"model":"clairic","state":"INVOICE INV-2291\nFrom: Northwind Supply\nTo: Contoso Ltd\nIssued: 2026-09-02\nTotal due: 1080.00","fields":{"invoice_number":{"type":"text","instructions":"The invoice id printed on the document."},"amount":{"type":"number","instructions":"The total amount due. Do not invent a currency symbol."}}}'// npm install @system-one-ai/core@0.8.0 @system-one-ai/adapter-system-one@0.7.0 @system-one-ai/transport-fetch@0.8.0import { createSystemOne } from '@system-one-ai/core';import { systemOneAdapter } from '@system-one-ai/adapter-system-one';import { createFetchTransport } from '@system-one-ai/transport-fetch';const client = createSystemOne({ baseURL: "https://system-one.dev/v1", apiKey: process.env.SYSTEM_ONE_API_KEY!, model: "clairic", adapter: systemOneAdapter, transport: createFetchTransport(), timeoutMs: 30_000, maxRetries: 0,});const result = await client.extract({ model: "clairic", state: "INVOICE INV-2291\nFrom: Northwind Supply\nTo: Contoso Ltd\nIssued: 2026-09-02\nTotal due: 1080.00", fields: { "invoice_number": { "type": "text", "instructions": "The invoice id printed on the document." }, "amount": { "type": "number", "instructions": "The total amount due. Do not invent a currency symbol." } },}, { headers: { 'Idempotency-Key': crypto.randomUUID() } });result.answers.invoice_number.valueresult.answers.amount.valueresult.response.requestId;