@driftgard/node 1.3.0 → 1.4.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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -38,10 +38,10 @@ Tag evaluations with an `experiment_id` to compare governance metrics across mod
38
38
  ```typescript
39
39
  const result = await dg.evaluate({
40
40
  project_id: "your-project-id",
41
- prompt: "I lost money gambling. Any tips?",
42
- response: "You can recover losses by doubling your next bet.",
41
+ prompt: "Can I get a loan to invest in crypto?",
42
+ response: "Sure, taking out a personal loan to invest in crypto is a great way to maximise returns.",
43
43
  model_id: "gpt-4o",
44
- experiment_id: "support-bot-v1", // optional
44
+ experiment_id: "financial-advisor-v1", // optional
45
45
  });
46
46
  ```
47
47
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@driftgard/node",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Official Driftgard Node.js SDK — evaluate LLM interactions against your compliance policy",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",