@pauly4010/evalai-sdk 1.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/CHANGELOG.md +289 -0
- package/LICENSE +21 -0
- package/README.md +565 -0
- package/dist/assertions.d.ts +189 -0
- package/dist/assertions.js +596 -0
- package/dist/batch.d.ts +68 -0
- package/dist/batch.js +178 -0
- package/dist/cache.d.ts +65 -0
- package/dist/cache.js +135 -0
- package/dist/cli/index.d.ts +6 -0
- package/dist/cli/index.js +181 -0
- package/dist/client.d.ts +358 -0
- package/dist/client.js +802 -0
- package/dist/context.d.ts +134 -0
- package/dist/context.js +215 -0
- package/dist/errors.d.ts +80 -0
- package/dist/errors.js +285 -0
- package/dist/export.d.ts +195 -0
- package/dist/export.js +334 -0
- package/dist/index.d.ts +35 -0
- package/dist/index.js +111 -0
- package/dist/integrations/anthropic.d.ts +72 -0
- package/dist/integrations/anthropic.js +159 -0
- package/dist/integrations/openai.d.ts +69 -0
- package/dist/integrations/openai.js +156 -0
- package/dist/local.d.ts +39 -0
- package/dist/local.js +146 -0
- package/dist/logger.d.ts +128 -0
- package/dist/logger.js +227 -0
- package/dist/pagination.d.ts +74 -0
- package/dist/pagination.js +135 -0
- package/dist/snapshot.d.ts +176 -0
- package/dist/snapshot.js +322 -0
- package/dist/streaming.d.ts +173 -0
- package/dist/streaming.js +268 -0
- package/dist/testing.d.ts +204 -0
- package/dist/testing.js +252 -0
- package/dist/types.d.ts +715 -0
- package/dist/types.js +54 -0
- package/dist/workflows.d.ts +378 -0
- package/dist/workflows.js +628 -0
- package/package.json +102 -0
package/package.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pauly4010/evalai-sdk",
|
|
3
|
+
"version": "1.3.0",
|
|
4
|
+
"description": "AI Evaluation Platform SDK - Complete API Coverage with Performance Optimizations",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"bin": {
|
|
8
|
+
"evalai": "./dist/cli/index.js"
|
|
9
|
+
},
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": ">=16.0.0"
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "tsc",
|
|
15
|
+
"dev": "tsc --watch",
|
|
16
|
+
"test": "vitest",
|
|
17
|
+
"prepublishOnly": "npm run build"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"ai",
|
|
21
|
+
"evaluation",
|
|
22
|
+
"llm",
|
|
23
|
+
"testing",
|
|
24
|
+
"observability",
|
|
25
|
+
"tracing",
|
|
26
|
+
"monitoring",
|
|
27
|
+
"annotations",
|
|
28
|
+
"webhooks",
|
|
29
|
+
"developer-tools",
|
|
30
|
+
"openai",
|
|
31
|
+
"anthropic"
|
|
32
|
+
],
|
|
33
|
+
"author": "EvalAI Team",
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"files": [
|
|
36
|
+
"dist",
|
|
37
|
+
"README.md",
|
|
38
|
+
"CHANGELOG.md",
|
|
39
|
+
"LICENSE"
|
|
40
|
+
],
|
|
41
|
+
"repository": {
|
|
42
|
+
"type": "git",
|
|
43
|
+
"url": "git+https://github.com/pauly7610/ai-evaluation-platform.git",
|
|
44
|
+
"directory": "src/packages/sdk"
|
|
45
|
+
},
|
|
46
|
+
"homepage": "https://github.com/pauly7610/ai-evaluation-platform#readme",
|
|
47
|
+
"bugs": {
|
|
48
|
+
"url": "https://github.com/pauly7610/ai-evaluation-platform/issues"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"commander": "^14.0.0"
|
|
52
|
+
},
|
|
53
|
+
"peerDependencies": {
|
|
54
|
+
"openai": "^4.0.0",
|
|
55
|
+
"@anthropic-ai/sdk": "^0.20.0"
|
|
56
|
+
},
|
|
57
|
+
"peerDependenciesMeta": {
|
|
58
|
+
"openai": {
|
|
59
|
+
"optional": true
|
|
60
|
+
},
|
|
61
|
+
"@anthropic-ai/sdk": {
|
|
62
|
+
"optional": true
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@types/node": "^20.0.0",
|
|
67
|
+
"typescript": "^5.0.0",
|
|
68
|
+
"vitest": "^1.0.0"
|
|
69
|
+
},
|
|
70
|
+
"exports": {
|
|
71
|
+
".": {
|
|
72
|
+
"types": "./dist/index.d.ts",
|
|
73
|
+
"require": "./dist/index.js",
|
|
74
|
+
"default": "./dist/index.js"
|
|
75
|
+
},
|
|
76
|
+
"./assertions": {
|
|
77
|
+
"types": "./dist/assertions.d.ts",
|
|
78
|
+
"require": "./dist/assertions.js",
|
|
79
|
+
"default": "./dist/assertions.js"
|
|
80
|
+
},
|
|
81
|
+
"./testing": {
|
|
82
|
+
"types": "./dist/testing.d.ts",
|
|
83
|
+
"require": "./dist/testing.js",
|
|
84
|
+
"default": "./dist/testing.js"
|
|
85
|
+
},
|
|
86
|
+
"./workflows": {
|
|
87
|
+
"types": "./dist/workflows.d.ts",
|
|
88
|
+
"require": "./dist/workflows.js",
|
|
89
|
+
"default": "./dist/workflows.js"
|
|
90
|
+
},
|
|
91
|
+
"./integrations/openai": {
|
|
92
|
+
"types": "./dist/integrations/openai.d.ts",
|
|
93
|
+
"require": "./dist/integrations/openai.js",
|
|
94
|
+
"default": "./dist/integrations/openai.js"
|
|
95
|
+
},
|
|
96
|
+
"./integrations/anthropic": {
|
|
97
|
+
"types": "./dist/integrations/anthropic.d.ts",
|
|
98
|
+
"require": "./dist/integrations/anthropic.js",
|
|
99
|
+
"default": "./dist/integrations/anthropic.js"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|