@mux/ai 0.41.0 → 0.43.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/README.md +1 -0
- package/dist/{index-C3PW73qH.d.ts → index-BCyjRRuI.d.ts} +224 -74
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1003 -108
- package/dist/index.js.map +1 -1
- package/dist/primitives/index.js +14 -1
- package/dist/primitives/index.js.map +1 -1
- package/dist/prompts/index.d.ts +335 -0
- package/dist/prompts/index.js +502 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/workflows/index.d.ts +2 -1
- package/dist/workflows/index.js +1002 -107
- package/dist/workflows/index.js.map +1 -1
- package/package.json +8 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mux/ai",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.43.0",
|
|
5
5
|
"description": "AI library for Mux",
|
|
6
6
|
"author": "Mux",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -50,6 +50,12 @@
|
|
|
50
50
|
},
|
|
51
51
|
"import": "./dist/primitives/index.js"
|
|
52
52
|
},
|
|
53
|
+
"./prompts": {
|
|
54
|
+
"types": {
|
|
55
|
+
"import": "./dist/prompts/index.d.ts"
|
|
56
|
+
},
|
|
57
|
+
"import": "./dist/prompts/index.js"
|
|
58
|
+
},
|
|
53
59
|
"./workflows": {
|
|
54
60
|
"types": {
|
|
55
61
|
"import": "./dist/workflows/index.d.ts"
|
|
@@ -99,6 +105,7 @@
|
|
|
99
105
|
"example:moderation:compare": "npx tsx examples/moderation/provider-comparison.ts",
|
|
100
106
|
"example:moderation:scoped": "npx tsx examples/moderation/scoped-execution.ts",
|
|
101
107
|
"example:embeddings": "npx tsx examples/embeddings/basic-example.ts",
|
|
108
|
+
"example:generate-text": "npx tsx examples/generate-text/basic-example.ts",
|
|
102
109
|
"example:embeddings:scoped": "npx tsx examples/embeddings/scoped-execution.ts",
|
|
103
110
|
"example:edit-captions": "npx tsx examples/edit-captions/basic-example.ts",
|
|
104
111
|
"example:translate-captions": "npx tsx examples/translate-captions/basic-example.ts",
|