@elizaos/plugin-openai 1.0.1 → 1.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/package.json +2 -84
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-openai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -43,89 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"agentConfig": {
|
|
45
45
|
"pluginType": "elizaos:plugin:1.0.0",
|
|
46
|
-
"pluginParameters": {
|
|
47
|
-
"OPENAI_API_KEY": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"description": "API key for the service"
|
|
50
|
-
},
|
|
51
|
-
"OPENAI_BASE_URL": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"description": "Custom OpenAI API endpoint",
|
|
54
|
-
"required": false,
|
|
55
|
-
"default": "https://api.openai.com/v1"
|
|
56
|
-
},
|
|
57
|
-
"OPENAI_SMALL_MODEL": {
|
|
58
|
-
"type": "string",
|
|
59
|
-
"description": "Model ID for small/fast text tasks",
|
|
60
|
-
"required": false,
|
|
61
|
-
"default": "gpt-4o-mini"
|
|
62
|
-
},
|
|
63
|
-
"OPENAI_LARGE_MODEL": {
|
|
64
|
-
"type": "string",
|
|
65
|
-
"description": "Model ID for large/complex text tasks",
|
|
66
|
-
"required": false,
|
|
67
|
-
"default": "gpt-4o"
|
|
68
|
-
},
|
|
69
|
-
"OPENAI_EMBEDDING_MODEL": {
|
|
70
|
-
"type": "string",
|
|
71
|
-
"description": "Model ID used for generating text embeddings",
|
|
72
|
-
"required": false,
|
|
73
|
-
"default": "text-embedding-3-small"
|
|
74
|
-
},
|
|
75
|
-
"OPENAI_EMBEDDING_URL": {
|
|
76
|
-
"type": "string",
|
|
77
|
-
"description": "Custom endpoint for embedding requests",
|
|
78
|
-
"required": false,
|
|
79
|
-
"default": "value of OPENAI_BASE_URL if not set"
|
|
80
|
-
},
|
|
81
|
-
"OPENAI_EMBEDDING_DIMENSIONS": {
|
|
82
|
-
"type": "number",
|
|
83
|
-
"description": "Number of dimensions for embedding vectors",
|
|
84
|
-
"required": false,
|
|
85
|
-
"default": 1536
|
|
86
|
-
},
|
|
87
|
-
"OPENAI_IMAGE_DESCRIPTION_MODEL": {
|
|
88
|
-
"type": "string",
|
|
89
|
-
"description": "Model ID used for image description tasks",
|
|
90
|
-
"required": false,
|
|
91
|
-
"default": "gpt-4o-mini"
|
|
92
|
-
},
|
|
93
|
-
"OPENAI_IMAGE_DESCRIPTION_MAX_TOKENS": {
|
|
94
|
-
"type": "number",
|
|
95
|
-
"description": "Maximum tokens allowed for image description responses",
|
|
96
|
-
"required": false,
|
|
97
|
-
"default": 8192
|
|
98
|
-
},
|
|
99
|
-
"SMALL_MODEL": {
|
|
100
|
-
"type": "string",
|
|
101
|
-
"description": "Generic fallback small model name if provider-specific variable is not set",
|
|
102
|
-
"required": false,
|
|
103
|
-
"default": "gpt-4o-mini"
|
|
104
|
-
},
|
|
105
|
-
"LARGE_MODEL": {
|
|
106
|
-
"type": "string",
|
|
107
|
-
"description": "Generic fallback large model name if provider-specific variable is not set",
|
|
108
|
-
"required": false,
|
|
109
|
-
"default": "gpt-4o"
|
|
110
|
-
},
|
|
111
|
-
"OPENAI_TTS_MODEL": {
|
|
112
|
-
"type": "string",
|
|
113
|
-
"description": "Model name to be used for text-to-speech requests",
|
|
114
|
-
"required": false,
|
|
115
|
-
"default": "gpt-4o-mini-tts"
|
|
116
|
-
},
|
|
117
|
-
"OPENAI_TTS_VOICE": {
|
|
118
|
-
"type": "string",
|
|
119
|
-
"description": "Voice preset to use with text-to-speech generation",
|
|
120
|
-
"required": false,
|
|
121
|
-
"default": "nova"
|
|
122
|
-
},
|
|
123
|
-
"OPENAI_TTS_INSTRUCTIONS": {
|
|
124
|
-
"type": "string",
|
|
125
|
-
"description": "Custom instructions or style prompts for text-to-speech output",
|
|
126
|
-
"required": false
|
|
127
|
-
}
|
|
128
|
-
}
|
|
46
|
+
"pluginParameters": {}
|
|
129
47
|
},
|
|
130
48
|
"gitHead": "646c632924826e2b75c2304a75ee56959fe4a460",
|
|
131
49
|
"devDependencies": {
|