aira-sdk 0.1.0 → 0.1.2

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 +8 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -147,10 +147,16 @@ await aira.escrowRelease(account.id, 15000, "Loan disbursed successfully");
147
147
  ## Chat
148
148
 
149
149
  ```typescript
150
- const response = await aira.ask("How many loan decisions were notarized this week?");
150
+ const response = await aira.ask("How many loan decisions were notarized this week?", {
151
+ model: "claude-sonnet-4-6",
152
+ });
151
153
  console.log(response.content);
152
154
  ```
153
155
 
156
+ The `model` parameter is optional. If omitted, the organization's default chat model is used.
157
+
158
+ > A default chat model must be configured in your dashboard (Settings → Models) before using `ask()` without an explicit model.
159
+
154
160
  ## Public Verification
155
161
 
156
162
  ```typescript
@@ -192,6 +198,7 @@ MIT
192
198
 
193
199
  ## Links
194
200
 
201
+ - [Interactive Demo](https://app.airaproof.com/demo) — try Aira in your browser, no code needed
195
202
  - [Documentation](https://docs.airaproof.com)
196
203
  - [API Reference](https://docs.airaproof.com/docs/api-reference)
197
204
  - [Python SDK](https://pypi.org/project/aira-sdk/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aira-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "TypeScript SDK for Aira — legal infrastructure for AI agents",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",