@elizaos/plugin-local-ai 1.0.2 → 1.0.4

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 (1) hide show
  1. package/package.json +25 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-local-ai",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -50,41 +50,49 @@
50
50
  "pluginParameters": {
51
51
  "MODELS_DIR": {
52
52
  "type": "string",
53
- "description": "Specifies a custom directory for storing model GGUF files",
54
- "required": false,
55
- "default": "~/.eliza/models"
53
+ "description": "Filesystem path to the directory where AI models are stored; required for initializing the LocalAI plugin during tests.",
54
+ "required": true,
55
+ "sensitive": false
56
56
  },
57
57
  "CACHE_DIR": {
58
58
  "type": "string",
59
- "description": "Specifies a custom directory for caching components like tokenizers",
60
- "required": false,
61
- "default": "~/.eliza/cache"
59
+ "description": "Filesystem path to the cache directory for model assets used by the LocalAI plugin during tests.",
60
+ "required": true,
61
+ "sensitive": false
62
62
  },
63
63
  "LOCAL_SMALL_MODEL": {
64
64
  "type": "string",
65
- "description": "Filename for the small text generation model located in the models directory",
66
- "required": false
65
+ "description": "Filename of the small local AI model; overrides the built-in default model if provided.",
66
+ "required": false,
67
+ "default": "DeepHermes-3-Llama-3-3B-Preview-q4.gguf",
68
+ "sensitive": false
67
69
  },
68
70
  "LOCAL_LARGE_MODEL": {
69
71
  "type": "string",
70
- "description": "Filename for the large text generation model located in the models directory",
71
- "required": false
72
+ "description": "Filename of the large local AI model; overrides the built-in default model if provided.",
73
+ "required": false,
74
+ "default": "DeepHermes-3-Llama-3-8B-q4.gguf",
75
+ "sensitive": false
72
76
  },
73
77
  "LOCAL_EMBEDDING_MODEL": {
74
78
  "type": "string",
75
- "description": "Filename for the text embedding model located in the models directory",
76
- "required": false
79
+ "description": "Filename of the embedding model used for vector embeddings; overrides the default if supplied.",
80
+ "required": false,
81
+ "default": "bge-small-en-v1.5.Q4_K_M.gguf",
82
+ "sensitive": false
77
83
  },
78
84
  "LOCAL_EMBEDDING_DIMENSIONS": {
79
85
  "type": "number",
80
- "description": "Fallback dimension size for text embeddings if generation fails",
86
+ "description": "Number of dimensions the embedding model outputs; parsed as an integer.",
81
87
  "required": false,
82
- "default": "model's native dimension size (e.g., 384)"
88
+ "default": 384,
89
+ "sensitive": false
83
90
  },
84
91
  "CUDA_VISIBLE_DEVICES": {
85
92
  "type": "string",
86
- "description": "Indicates availability of CUDA-enabled GPU devices; if set, the application will configure the vision model to run on GPU with fp16 precision.",
87
- "required": false
93
+ "description": "Used to detect if CUDA-enabled GPUs are available and configure device and data type settings for model components accordingly.",
94
+ "required": false,
95
+ "sensitive": false
88
96
  }
89
97
  }
90
98
  },