@2kw/ai 6.3.0-dev.153 → 6.3.0-dev.157

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.
@@ -37,7 +37,7 @@ export function makeKnowledgeCommand() {
37
37
  .description("Create a knowledge base and its first configuration version")
38
38
  .requiredOption("-n, --name <name>", "Knowledge base name")
39
39
  .requiredOption("--slug <slug>", "Unique slug")
40
- .requiredOption("--embedding-provider <id>", "Embedding provider ID")
40
+ .requiredOption("--embedding-provider <id>", "Embedding provider: a provider ID, or builtin for the platform's built-in models (text-embedding-3-small, text-embedding-3-large; charged per input token)")
41
41
  .requiredOption("--embedding-model <model>", "Embedding model")
42
42
  .requiredOption("--embedding-dim <n>", "Embedding dimension", parseInt)
43
43
  .option("-d, --description <text>", "Description")
@@ -77,7 +77,7 @@ export function makeKnowledgeCommand() {
77
77
  .argument("<id>", "Knowledge base ID")
78
78
  .option("-n, --name <name>", "New name")
79
79
  .option("-d, --description <text>", "New description")
80
- .option("--embedding-provider <id>", "New embedding provider ID")
80
+ .option("--embedding-provider <id>", "New embedding provider ID, or builtin. Re-embeds nothing: stored vectors stay comparable only if the new provider serves the same model at the same width; the safe move is a new knowledge base with the documents uploaded again")
81
81
  .option("--embedding-model <model>", "New embedding model")
82
82
  .option("--chunking-strategy <strategy>", "New chunking strategy (AUTO, FIXED, HIERARCHICAL, CUSTOM)")
83
83
  .option("--chunk-size <n>", "New chunk size", parseInt)
@@ -178,7 +178,7 @@ export function makeKnowledgeCommand() {
178
178
  cmd
179
179
  .command("embedding-models")
180
180
  .description("List embedding models a provider serves that fit a provisioned dimension")
181
- .argument("<providerId>", "Provider ID")
181
+ .argument("<providerId>", "Provider ID, or builtin for the platform's built-in embedding models")
182
182
  .action(async (providerId, _opts, command) => {
183
183
  await runAction(command, async () => {
184
184
  const client = getClient(command);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2kw/ai",
3
- "version": "6.3.0-dev.153",
3
+ "version": "6.3.0-dev.157",
4
4
  "description": "CLI for 2kw.ai — schema-driven document extraction, an OpenAI-compatible EU LLM gateway, transcription, prompts, datasets, and experiments from your terminal or agentic workflows. Ships as 2kw, backbone, and bb.",
5
5
  "keywords": [
6
6
  "cli",