@elizaos/plugin-openai 1.0.3 → 1.0.6

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 CHANGED
@@ -21,6 +21,7 @@ The plugin requires these environment variables (can be set in .env file or char
21
21
  "OPENAI_SMALL_MODEL": "gpt-4o-mini",
22
22
  "OPENAI_LARGE_MODEL": "gpt-4o",
23
23
  "OPENAI_EMBEDDING_MODEL": "text-embedding-3-small",
24
+ "OPENAI_EMBEDDING_API_KEY": "your_openai_api_key_for_embedding",
24
25
  "OPENAI_EMBEDDING_URL": "optional_custom_endpoint",
25
26
  "OPENAI_EMBEDDING_DIMENSIONS": "1536",
26
27
  "OPENAI_IMAGE_DESCRIPTION_MODEL": "gpt-4o-mini",
@@ -37,6 +38,7 @@ OPENAI_BASE_URL=optional_custom_endpoint
37
38
  OPENAI_SMALL_MODEL=gpt-4o-mini
38
39
  OPENAI_LARGE_MODEL=gpt-4o
39
40
  OPENAI_EMBEDDING_MODEL=text-embedding-3-small
41
+ OPENAI_EMBEDDING_API_KEY=your_openai_api_key_for_embedding
40
42
  OPENAI_EMBEDDING_URL=optional_custom_endpoint
41
43
  OPENAI_EMBEDDING_DIMENSIONS=1536
42
44
  OPENAI_IMAGE_DESCRIPTION_MODEL=gpt-4o-mini
@@ -50,6 +52,7 @@ OPENAI_IMAGE_DESCRIPTION_MAX_TOKENS=8192
50
52
  - `OPENAI_SMALL_MODEL`: Defaults to GPT-4o Mini ("gpt-4o-mini")
51
53
  - `OPENAI_LARGE_MODEL`: Defaults to GPT-4o ("gpt-4o")
52
54
  - `OPENAI_EMBEDDING_MODEL`: Defaults to text-embedding-3-small ("text-embedding-3-small")
55
+ - `OPENAI_EMBEDDING_API_KEY`: Custom embedding api key (defaults to `OPENAI_API_KEY`)
53
56
  - `OPENAI_EMBEDDING_URL`: Custom embedding endpoint (defaults to `OPENAI_BASE_URL`)
54
57
  - `OPENAI_EMBEDDING_DIMENSIONS`: Defaults to 1536 (1536)
55
58
  - `OPENAI_IMAGE_DESCRIPTION_MODEL`: Model used for image description (default: "gpt-4o-mini")