@continum/sdk 0.0.1 → 0.0.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.
- package/README.md +15 -5
- package/dist/index.js +1 -1
- package/package.json +17 -3
package/README.md
CHANGED
|
@@ -4,10 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
## Quick Start
|
|
6
6
|
|
|
7
|
+
### Installation
|
|
8
|
+
|
|
7
9
|
```bash
|
|
10
|
+
# Install the Continum SDK
|
|
8
11
|
npm install @continum/sdk
|
|
12
|
+
|
|
13
|
+
# Install LLM providers you plan to use (choose one or more)
|
|
14
|
+
npm install openai # For OpenAI GPT models
|
|
15
|
+
npm install @anthropic-ai/sdk # For Claude models
|
|
16
|
+
npm install @google/generative-ai # For Gemini models
|
|
9
17
|
```
|
|
10
18
|
|
|
19
|
+
### Usage
|
|
20
|
+
|
|
11
21
|
```typescript
|
|
12
22
|
import { Continum } from '@continum/sdk';
|
|
13
23
|
|
|
@@ -36,12 +46,12 @@ const response = await continum.llm.openai.gpt_4o.chat({
|
|
|
36
46
|
|
|
37
47
|
## Documentation
|
|
38
48
|
|
|
39
|
-
- [Setup Guide](https://docs.continum.
|
|
40
|
-
- [API Reference](https://docs.continum.
|
|
41
|
-
- [Examples](https://docs.continum.
|
|
49
|
+
- [Setup Guide](https://docs.continum.co/setup)
|
|
50
|
+
- [API Reference](https://docs.continum.co/api)
|
|
51
|
+
- [Examples](https://docs.continum.co/examples)
|
|
42
52
|
|
|
43
53
|
## Support
|
|
44
54
|
|
|
45
55
|
- [GitHub Issues](https://github.com/Continum-Agency/continum-sdk/issues)
|
|
46
|
-
- [Documentation](https://docs.continum.
|
|
47
|
-
- Email: support@continum.
|
|
56
|
+
- [Documentation](https://docs.continum.co)
|
|
57
|
+
- Email: support@continum.co
|
package/dist/index.js
CHANGED
|
@@ -21,7 +21,7 @@ const gemini_driver_1 = require("./drivers/gemini.driver");
|
|
|
21
21
|
const mirror_client_1 = require("./mirror/mirror.client");
|
|
22
22
|
const guardian_client_1 = require("./guardian/guardian.client");
|
|
23
23
|
const provider_proxy_1 = require("./proxy/provider.proxy");
|
|
24
|
-
const DEFAULT_ENDPOINT = 'https://api.continum.
|
|
24
|
+
const DEFAULT_ENDPOINT = 'https://api.continum.co';
|
|
25
25
|
/**
|
|
26
26
|
* Continum SDK — The "Next.js" to the AI world's "React"
|
|
27
27
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@continum/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Zero-latency compliance auditing for every LLM call in your application",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
],
|
|
35
35
|
"author": "Continum Team",
|
|
36
36
|
"license": "MIT",
|
|
37
|
-
"homepage": "https://continum.
|
|
37
|
+
"homepage": "https://continum.co",
|
|
38
38
|
"repository": {
|
|
39
39
|
"type": "git",
|
|
40
40
|
"url": "https://github.com/Continum-Agency/continum-sdk.git",
|
|
@@ -51,7 +51,21 @@
|
|
|
51
51
|
"typescript": "^5.1.3"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"typescript": ">=5.0.0"
|
|
54
|
+
"typescript": ">=5.0.0",
|
|
55
|
+
"openai": "^4.0.0",
|
|
56
|
+
"@anthropic-ai/sdk": "^0.24.0",
|
|
57
|
+
"@google/generative-ai": "^0.15.0"
|
|
58
|
+
},
|
|
59
|
+
"peerDependenciesMeta": {
|
|
60
|
+
"openai": {
|
|
61
|
+
"optional": true
|
|
62
|
+
},
|
|
63
|
+
"@anthropic-ai/sdk": {
|
|
64
|
+
"optional": true
|
|
65
|
+
},
|
|
66
|
+
"@google/generative-ai": {
|
|
67
|
+
"optional": true
|
|
68
|
+
}
|
|
55
69
|
},
|
|
56
70
|
"publishConfig": {
|
|
57
71
|
"access": "public"
|