@gibs-dev/sdk 0.2.0 → 0.3.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 +53 -3
- package/dist/cjs/client.js +1 -1
- package/dist/cjs/types.d.ts +24 -3
- package/dist/cjs/types.d.ts.map +1 -1
- package/dist/esm/client.js +1 -1
- package/dist/esm/types.d.ts +24 -3
- package/dist/esm/types.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,9 +33,21 @@ const answer = await client.check({
|
|
|
33
33
|
question: 'What are the transparency requirements for chatbots under the AI Act?',
|
|
34
34
|
});
|
|
35
35
|
|
|
36
|
-
console.log(answer.answer);
|
|
37
|
-
console.log(answer.confidence);
|
|
38
|
-
console.log(answer.
|
|
36
|
+
console.log(answer.answer); // Detailed answer with article citations
|
|
37
|
+
console.log(answer.confidence); // "high" | "medium" | "low"
|
|
38
|
+
console.log(answer.confidence_score); // 0.87
|
|
39
|
+
console.log(answer.sources); // Source citations
|
|
40
|
+
|
|
41
|
+
// Get structured (machine-readable) response
|
|
42
|
+
const structured = await client.check({
|
|
43
|
+
question: 'What are the risk management obligations for high-risk AI?',
|
|
44
|
+
response_format: 'structured',
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
console.log(structured.structured?.summary); // Direct answer
|
|
48
|
+
console.log(structured.structured?.requirements); // ["Implement risk management...", ...]
|
|
49
|
+
console.log(structured.structured?.articles_cited); // ["Article 9", "Article 6", ...]
|
|
50
|
+
console.log(structured.confidence_score); // 0.89
|
|
39
51
|
|
|
40
52
|
// DORA: ICT resilience for financial entities
|
|
41
53
|
const dora = await client.check({
|
|
@@ -99,6 +111,7 @@ const answer = await client.check({
|
|
|
99
111
|
|
|
100
112
|
// answer.answer: string
|
|
101
113
|
// answer.confidence: "high" | "medium" | "low"
|
|
114
|
+
// answer.confidence_score: number (0.0–1.0)
|
|
102
115
|
// answer.sources: SourceCitation[]
|
|
103
116
|
// answer.should_abstain: boolean
|
|
104
117
|
// answer.abstention_reason: string | null
|
|
@@ -106,6 +119,41 @@ const answer = await client.check({
|
|
|
106
119
|
// answer.processing_time_ms: number
|
|
107
120
|
```
|
|
108
121
|
|
|
122
|
+
#### Structured response mode
|
|
123
|
+
|
|
124
|
+
Pass `response_format: 'structured'` to get machine-readable parsed sections:
|
|
125
|
+
|
|
126
|
+
```typescript
|
|
127
|
+
const answer = await client.check({
|
|
128
|
+
question: 'What are the transparency requirements for chatbots?',
|
|
129
|
+
response_format: 'structured',
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
// answer.structured?.summary — Direct 1-2 sentence answer
|
|
133
|
+
// answer.structured?.legal_basis — Legal basis with article references
|
|
134
|
+
// answer.structured?.requirements — ["Disclose AI interaction per Article 50(1)", ...]
|
|
135
|
+
// answer.structured?.timeline — ["Applies from 2 August 2026"]
|
|
136
|
+
// answer.structured?.articles_cited — ["Article 50", "Article 52"]
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
#### Confidence score
|
|
140
|
+
|
|
141
|
+
Every `/check` response includes a numeric `confidence_score` (0.0–1.0) for programmatic decisions:
|
|
142
|
+
|
|
143
|
+
| Score | Meaning |
|
|
144
|
+
|-------|---------|
|
|
145
|
+
| 0.8–1.0 | High confidence — well-sourced, specific answer |
|
|
146
|
+
| 0.5–0.8 | Medium — partial sources or hedged language |
|
|
147
|
+
| 0.0–0.5 | Low — limited sources, verify with legal counsel |
|
|
148
|
+
|
|
149
|
+
```typescript
|
|
150
|
+
if (answer.confidence_score >= 0.7) {
|
|
151
|
+
applyComplianceRules(answer.structured?.requirements);
|
|
152
|
+
} else {
|
|
153
|
+
flagForHumanReview(answer);
|
|
154
|
+
}
|
|
155
|
+
```
|
|
156
|
+
|
|
109
157
|
### `client.health()`
|
|
110
158
|
|
|
111
159
|
Check API health and component status. Does not require authentication.
|
|
@@ -201,11 +249,13 @@ import type {
|
|
|
201
249
|
ClassifyResponse,
|
|
202
250
|
CheckRequest,
|
|
203
251
|
CheckResponse,
|
|
252
|
+
StructuredAnswer,
|
|
204
253
|
HealthResponse,
|
|
205
254
|
SourceCitation,
|
|
206
255
|
Obligation,
|
|
207
256
|
RiskLevel,
|
|
208
257
|
ConfidenceLevel,
|
|
258
|
+
ResponseFormat,
|
|
209
259
|
KeyInfo,
|
|
210
260
|
} from '@gibs-dev/sdk';
|
|
211
261
|
```
|
package/dist/cjs/client.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.GibsClient = void 0;
|
|
12
12
|
const errors_js_1 = require("./errors.js");
|
|
13
|
-
const VERSION = '0.
|
|
13
|
+
const VERSION = '0.3.0';
|
|
14
14
|
const DEFAULT_BASE_URL = 'https://api.gibs.dev';
|
|
15
15
|
const DEFAULT_TIMEOUT_MS = 120_000;
|
|
16
16
|
const DEFAULT_MAX_RETRIES = 3;
|
package/dist/cjs/types.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export type RiskLevel = 'prohibited' | 'high' | 'limited' | 'minimal';
|
|
|
10
10
|
/** Confidence levels for compliance answers. */
|
|
11
11
|
export type ConfidenceLevel = 'high' | 'medium' | 'low';
|
|
12
12
|
/** Supported regulation identifiers. */
|
|
13
|
-
export type Regulation = 'ai_act' | 'gdpr' | '
|
|
13
|
+
export type Regulation = 'ai_act' | 'gdpr' | 'dora' | 'auto';
|
|
14
14
|
/** A source citation linking a claim to a specific legal article. */
|
|
15
15
|
export interface SourceCitation {
|
|
16
16
|
/** Article identifier, e.g., "ai_act_art6". */
|
|
@@ -82,21 +82,42 @@ export interface ClassifyResponse {
|
|
|
82
82
|
/** Processing time in milliseconds. */
|
|
83
83
|
processing_time_ms: number;
|
|
84
84
|
}
|
|
85
|
+
/** Response format options for /v1/check. */
|
|
86
|
+
export type ResponseFormat = 'text' | 'structured';
|
|
85
87
|
/** Request body for `POST /v1/check`. */
|
|
86
88
|
export interface CheckRequest {
|
|
87
89
|
/** Compliance question to answer. 10-2000 characters. */
|
|
88
90
|
question: string;
|
|
89
91
|
/** Optional context about the AI system (key-value pairs). */
|
|
90
92
|
system_context?: Record<string, string>;
|
|
91
|
-
/**
|
|
93
|
+
/** Target regulation: "ai_act", "gdpr", "dora", or "auto" (auto-detected). Defaults to "auto". */
|
|
92
94
|
regulation?: Regulation;
|
|
95
|
+
/** Response format: "text" (default markdown) or "structured" (parsed JSON sections). */
|
|
96
|
+
response_format?: ResponseFormat;
|
|
97
|
+
}
|
|
98
|
+
/** Parsed structured representation of a compliance answer. */
|
|
99
|
+
export interface StructuredAnswer {
|
|
100
|
+
/** Direct 1-2 sentence answer. */
|
|
101
|
+
summary: string;
|
|
102
|
+
/** Legal basis section with article references. */
|
|
103
|
+
legal_basis: string;
|
|
104
|
+
/** Key compliance requirements as bullet points. */
|
|
105
|
+
requirements: string[];
|
|
106
|
+
/** Relevant dates and deadlines. */
|
|
107
|
+
timeline: string[];
|
|
108
|
+
/** List of articles referenced (e.g., "Article 5(1)(a)"). */
|
|
109
|
+
articles_cited: string[];
|
|
93
110
|
}
|
|
94
111
|
/** Response body for `POST /v1/check`. */
|
|
95
112
|
export interface CheckResponse {
|
|
96
|
-
/** Answer to the compliance question. */
|
|
113
|
+
/** Answer to the compliance question (markdown). */
|
|
97
114
|
answer: string;
|
|
115
|
+
/** Parsed structured answer (only when response_format is "structured"). */
|
|
116
|
+
structured?: StructuredAnswer | null;
|
|
98
117
|
/** Confidence level: "high", "medium", or "low". */
|
|
99
118
|
confidence: ConfidenceLevel;
|
|
119
|
+
/** Numeric confidence score between 0.0 and 1.0 for programmatic use. */
|
|
120
|
+
confidence_score: number;
|
|
100
121
|
/** Source citations supporting this answer. */
|
|
101
122
|
sources: SourceCitation[];
|
|
102
123
|
/** True if the sources don't contain enough information to answer. */
|
package/dist/cjs/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"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C;CACH;AAED,iDAAiD;AACjD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE;QACJ,UAAU,EAAE,MAAM,CAAC;QACnB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,cAAc,EAAE,MAAM,CAAC;KACxB,CAAC;CACH;AAED,oCAAoC;AACpC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,uCAAuC;AACvC,MAAM,MAAM,WAAW,GACnB,iBAAiB,GACjB,gBAAgB,GAChB,mBAAmB,GACnB,eAAe,GACf,gBAAgB,CAAC"}
|
package/dist/esm/client.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module client
|
|
8
8
|
*/
|
|
9
9
|
import { GibsAPIError, GibsAuthError, GibsConnectionError, GibsRateLimitError, GibsTimeoutError, } from './errors.js';
|
|
10
|
-
const VERSION = '0.
|
|
10
|
+
const VERSION = '0.3.0';
|
|
11
11
|
const DEFAULT_BASE_URL = 'https://api.gibs.dev';
|
|
12
12
|
const DEFAULT_TIMEOUT_MS = 120_000;
|
|
13
13
|
const DEFAULT_MAX_RETRIES = 3;
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export type RiskLevel = 'prohibited' | 'high' | 'limited' | 'minimal';
|
|
|
10
10
|
/** Confidence levels for compliance answers. */
|
|
11
11
|
export type ConfidenceLevel = 'high' | 'medium' | 'low';
|
|
12
12
|
/** Supported regulation identifiers. */
|
|
13
|
-
export type Regulation = 'ai_act' | 'gdpr' | '
|
|
13
|
+
export type Regulation = 'ai_act' | 'gdpr' | 'dora' | 'auto';
|
|
14
14
|
/** A source citation linking a claim to a specific legal article. */
|
|
15
15
|
export interface SourceCitation {
|
|
16
16
|
/** Article identifier, e.g., "ai_act_art6". */
|
|
@@ -82,21 +82,42 @@ export interface ClassifyResponse {
|
|
|
82
82
|
/** Processing time in milliseconds. */
|
|
83
83
|
processing_time_ms: number;
|
|
84
84
|
}
|
|
85
|
+
/** Response format options for /v1/check. */
|
|
86
|
+
export type ResponseFormat = 'text' | 'structured';
|
|
85
87
|
/** Request body for `POST /v1/check`. */
|
|
86
88
|
export interface CheckRequest {
|
|
87
89
|
/** Compliance question to answer. 10-2000 characters. */
|
|
88
90
|
question: string;
|
|
89
91
|
/** Optional context about the AI system (key-value pairs). */
|
|
90
92
|
system_context?: Record<string, string>;
|
|
91
|
-
/**
|
|
93
|
+
/** Target regulation: "ai_act", "gdpr", "dora", or "auto" (auto-detected). Defaults to "auto". */
|
|
92
94
|
regulation?: Regulation;
|
|
95
|
+
/** Response format: "text" (default markdown) or "structured" (parsed JSON sections). */
|
|
96
|
+
response_format?: ResponseFormat;
|
|
97
|
+
}
|
|
98
|
+
/** Parsed structured representation of a compliance answer. */
|
|
99
|
+
export interface StructuredAnswer {
|
|
100
|
+
/** Direct 1-2 sentence answer. */
|
|
101
|
+
summary: string;
|
|
102
|
+
/** Legal basis section with article references. */
|
|
103
|
+
legal_basis: string;
|
|
104
|
+
/** Key compliance requirements as bullet points. */
|
|
105
|
+
requirements: string[];
|
|
106
|
+
/** Relevant dates and deadlines. */
|
|
107
|
+
timeline: string[];
|
|
108
|
+
/** List of articles referenced (e.g., "Article 5(1)(a)"). */
|
|
109
|
+
articles_cited: string[];
|
|
93
110
|
}
|
|
94
111
|
/** Response body for `POST /v1/check`. */
|
|
95
112
|
export interface CheckResponse {
|
|
96
|
-
/** Answer to the compliance question. */
|
|
113
|
+
/** Answer to the compliance question (markdown). */
|
|
97
114
|
answer: string;
|
|
115
|
+
/** Parsed structured answer (only when response_format is "structured"). */
|
|
116
|
+
structured?: StructuredAnswer | null;
|
|
98
117
|
/** Confidence level: "high", "medium", or "low". */
|
|
99
118
|
confidence: ConfidenceLevel;
|
|
119
|
+
/** Numeric confidence score between 0.0 and 1.0 for programmatic use. */
|
|
120
|
+
confidence_score: number;
|
|
100
121
|
/** Source citations supporting this answer. */
|
|
101
122
|
sources: SourceCitation[];
|
|
102
123
|
/** True if the sources don't contain enough information to answer. */
|
package/dist/esm/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,sDAAsD;AACtD,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAEtE,gDAAgD;AAChD,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;AAExD,wCAAwC;AACxC,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,sDAAsD;AACtD,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAEtE,gDAAgD;AAChD,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;AAExD,wCAAwC;AACxC,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAE7D,qEAAqE;AACrE,MAAM,WAAW,cAAc;IAC7B,+CAA+C;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,YAAY,EAAE,MAAM,CAAC;IACrB,2CAA2C;IAC3C,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,qDAAqD;AACrD,MAAM,WAAW,UAAU;IACzB,6BAA6B;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,uDAAuD;IACvD,WAAW,EAAE,MAAM,CAAC;IACpB,+DAA+D;IAC/D,cAAc,EAAE,MAAM,CAAC;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