@elizaos/plugin-openai 1.0.2 → 1.0.3

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 +96 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-openai",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -43,7 +43,101 @@
43
43
  },
44
44
  "agentConfig": {
45
45
  "pluginType": "elizaos:plugin:1.0.0",
46
- "pluginParameters": {}
46
+ "pluginParameters": {
47
+ "OPENAI_API_KEY": {
48
+ "type": "string",
49
+ "description": "API key used to authenticate requests to the OpenAI API.",
50
+ "required": false,
51
+ "sensitive": true
52
+ },
53
+ "OPENAI_BASE_URL": {
54
+ "type": "string",
55
+ "description": "Base URL for all OpenAI API requests.",
56
+ "required": false,
57
+ "default": "https://api.openai.com/v1",
58
+ "sensitive": false
59
+ },
60
+ "OPENAI_SMALL_MODEL": {
61
+ "type": "string",
62
+ "description": "Identifier of the small language model to be used (overrides SMALL_MODEL).",
63
+ "required": false,
64
+ "sensitive": false
65
+ },
66
+ "SMALL_MODEL": {
67
+ "type": "string",
68
+ "description": "Fallback identifier for the small language model if OPENAI_SMALL_MODEL is not set.",
69
+ "required": false,
70
+ "default": "gpt-4o-mini",
71
+ "sensitive": false
72
+ },
73
+ "OPENAI_LARGE_MODEL": {
74
+ "type": "string",
75
+ "description": "Identifier of the large language model to be used (overrides LARGE_MODEL).",
76
+ "required": false,
77
+ "sensitive": false
78
+ },
79
+ "LARGE_MODEL": {
80
+ "type": "string",
81
+ "description": "Fallback identifier for the large language model if OPENAI_LARGE_MODEL is not set.",
82
+ "required": false,
83
+ "default": "gpt-4o",
84
+ "sensitive": false
85
+ },
86
+ "OPENAI_EMBEDDING_MODEL": {
87
+ "type": "string",
88
+ "description": "Identifier of the model to use for generating text embeddings.",
89
+ "required": false,
90
+ "default": "text-embedding-3-small",
91
+ "sensitive": false
92
+ },
93
+ "OPENAI_EMBEDDING_URL": {
94
+ "type": "string",
95
+ "description": "Custom base URL for the OpenAI embeddings endpoint.",
96
+ "required": false,
97
+ "sensitive": false
98
+ },
99
+ "OPENAI_EMBEDDING_DIMENSIONS": {
100
+ "type": "number",
101
+ "description": "Number of dimensions for the returned embedding vectors.",
102
+ "required": false,
103
+ "default": 1536,
104
+ "sensitive": false
105
+ },
106
+ "OPENAI_IMAGE_DESCRIPTION_MODEL": {
107
+ "type": "string",
108
+ "description": "Identifier of the model used for describing images.",
109
+ "required": false,
110
+ "default": "gpt-4o-mini",
111
+ "sensitive": false
112
+ },
113
+ "OPENAI_IMAGE_DESCRIPTION_MAX_TOKENS": {
114
+ "type": "number",
115
+ "description": "Maximum number of tokens allowed in the image-description model response.",
116
+ "required": false,
117
+ "default": 8192,
118
+ "sensitive": false
119
+ },
120
+ "OPENAI_TTS_MODEL": {
121
+ "type": "string",
122
+ "description": "Identifier of the model used for text-to-speech generation.",
123
+ "required": false,
124
+ "default": "gpt-4o-mini-tts",
125
+ "sensitive": false
126
+ },
127
+ "OPENAI_TTS_VOICE": {
128
+ "type": "string",
129
+ "description": "Voice profile to use for text-to-speech output.",
130
+ "required": false,
131
+ "default": "nova",
132
+ "sensitive": false
133
+ },
134
+ "OPENAI_TTS_INSTRUCTIONS": {
135
+ "type": "string",
136
+ "description": "Optional instructions to control the style or behavior of the text-to-speech request.",
137
+ "required": false,
138
+ "sensitive": false
139
+ }
140
+ }
47
141
  },
48
142
  "gitHead": "646c632924826e2b75c2304a75ee56959fe4a460",
49
143
  "devDependencies": {