@aiquants/governance-core 0.1.1 → 0.1.3

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/README.md +4 -4
  2. package/package.json +1 -6
package/README.md CHANGED
@@ -34,17 +34,17 @@ const client = new GovernanceClient({
34
34
  })
35
35
 
36
36
  // 規程統合検索
37
- const searchResult = await client.search({ query: "就業規則 育児休業" }, "sanwa")
37
+ const searchResult = await client.search({ query: "就業規則 育児休業" }, "acme")
38
38
  console.log(searchResult.hits)
39
39
 
40
40
  // 権威性連動規程回答
41
- const answerResult = await client.answer({ question: "育児休業の申請期限は何日前ですか?" }, "sanwa")
41
+ const answerResult = await client.answer({ question: "育児休業の申請期限は何日前ですか?" }, "acme")
42
42
  console.log(answerResult.answer)
43
43
 
44
44
  // マークル引用完全証明のクライアント側独立検証
45
45
  if (answerResult.citationProof) {
46
46
  const isValid = client.verifyCitationProof(answerResult.citationProof, {
47
- expectedTenantId: "sanwa",
47
+ expectedTenantId: "acme",
48
48
  expectedCitations: answerResult.verifiedCitations,
49
49
  })
50
50
  console.log(`Citation proof verified: ${isValid}`)
@@ -69,7 +69,7 @@ const simResult = await adminClient.simulate(
69
69
  },
70
70
  intentTypes: ["SET", "DIFF"],
71
71
  },
72
- "sanwa",
72
+ "acme",
73
73
  )
74
74
  console.log(`Delta groundedness: ${simResult.delta.groundedness}`)
75
75
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiquants/governance-core",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Enterprise knowledge governance core: canonical schemas, Merkle proof, dry-run simulation, and API client SDK.",
5
5
  "keywords": [
6
6
  "governance",
@@ -13,11 +13,6 @@
13
13
  ],
14
14
  "license": "MIT",
15
15
  "author": "AI Quants",
16
- "repository": {
17
- "type": "git",
18
- "url": "git+https://github.com/fehde-k/aiquants.git",
19
- "directory": "packages/governance-core"
20
- },
21
16
  "homepage": "https://github.com/fehde-k/aiquants/tree/main/packages/governance-core#readme",
22
17
  "bugs": {
23
18
  "url": "https://github.com/fehde-k/aiquants/issues"