@inductiv/node-red-openai-api 1.103.0 → 6.27.0

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 (69) hide show
  1. package/README.md +213 -86
  2. package/examples/realtime/client-secrets.json +182 -0
  3. package/examples/responses/computer-use.json +142 -0
  4. package/examples/responses/mcp.json +1 -1
  5. package/examples/responses/phase.json +102 -0
  6. package/examples/responses/tool-search.json +107 -0
  7. package/examples/responses/websocket.json +172 -0
  8. package/internals/openai-api-features-v6.23.0-v6.27.0.md +96 -0
  9. package/lib.js +12696 -15003
  10. package/locales/en-US/node.json +50 -1
  11. package/node.html +1723 -1012
  12. package/node.js +204 -54
  13. package/package.json +9 -7
  14. package/src/assistants/help.html +1 -77
  15. package/src/audio/help.html +1 -37
  16. package/src/batch/help.html +3 -17
  17. package/src/chat/help.html +11 -89
  18. package/src/container-files/help.html +1 -27
  19. package/src/containers/help.html +8 -18
  20. package/src/conversations/help.html +135 -0
  21. package/src/conversations/methods.js +73 -0
  22. package/src/conversations/template.html +10 -0
  23. package/src/embeddings/help.html +1 -11
  24. package/src/evals/help.html +249 -0
  25. package/src/evals/methods.js +114 -0
  26. package/src/evals/template.html +14 -0
  27. package/src/files/help.html +4 -17
  28. package/src/fine-tuning/help.html +1 -35
  29. package/src/images/help.html +1 -45
  30. package/src/lib.js +53 -1
  31. package/src/messages/help.html +19 -39
  32. package/src/messages/methods.js +13 -0
  33. package/src/messages/template.html +7 -18
  34. package/src/models/help.html +1 -5
  35. package/src/moderations/help.html +1 -5
  36. package/src/node.html +126 -37
  37. package/src/realtime/help.html +209 -0
  38. package/src/realtime/methods.js +45 -0
  39. package/src/realtime/template.html +7 -0
  40. package/src/responses/help.html +286 -63
  41. package/src/responses/methods.js +234 -16
  42. package/src/responses/template.html +21 -1
  43. package/src/responses/websocket.js +150 -0
  44. package/src/runs/help.html +1 -123
  45. package/src/skills/help.html +183 -0
  46. package/src/skills/methods.js +99 -0
  47. package/src/skills/template.html +13 -0
  48. package/src/threads/help.html +1 -15
  49. package/src/uploads/help.html +1 -21
  50. package/src/vector-store-file-batches/help.html +1 -27
  51. package/src/vector-store-file-batches/methods.js +5 -5
  52. package/src/vector-store-files/help.html +1 -25
  53. package/src/vector-store-files/methods.js +4 -7
  54. package/src/vector-stores/help.html +2 -31
  55. package/src/vector-stores/methods.js +5 -11
  56. package/src/vector-stores/template.html +7 -22
  57. package/src/videos/help.html +113 -0
  58. package/src/videos/methods.js +50 -0
  59. package/src/videos/template.html +8 -0
  60. package/src/webhooks/help.html +61 -0
  61. package/src/webhooks/methods.js +40 -0
  62. package/src/webhooks/template.html +4 -0
  63. package/test/openai-methods-mapping.test.js +1559 -0
  64. package/test/openai-node-auth-routing.test.js +206 -0
  65. package/test/openai-responses-websocket.test.js +472 -0
  66. package/test/service-host-editor-template.test.js +56 -0
  67. package/test/service-host-node.test.js +185 -0
  68. package/test/services.test.js +150 -0
  69. package/test/utils.test.js +78 -0
@@ -1,7 +1,7 @@
1
1
  <section>
2
2
  <details>
3
3
  <summary style="font-weight: bold;">🗄️ Container Files</summary>
4
- <a href="https://platform.openai.com/docs/api-reference/container-files" target="_blank">Official Documentation
4
+ <a href="https://developers.openai.com/api/reference/typescript/resources/containers/files/" target="_blank">Official Documentation
5
5
  <i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
6
6
 
7
7
  <h4 style="font-weight: bolder;"> ⋙ Create Container File</h4>
@@ -11,24 +11,18 @@
11
11
 
12
12
  <dt>
13
13
  container_id
14
- <a href="https://platform.openai.com/docs/api-reference/container-files/createContainerFile#container-files-createcontainerfile-container_id"
15
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
16
14
  <span class="property-type">string</span>
17
15
  </dt>
18
16
  <dd>The ID of the container to hold the file.</dd>
19
17
 
20
18
  <dt class="optional">
21
19
  file
22
- <a href="https://platform.openai.com/docs/api-reference/container-files/createContainerFile#container-files-createcontainerfile-file"
23
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
24
20
  <span class="property-type">file</span>
25
21
  </dt>
26
22
  <dd>The File object (not file name) to be uploaded.</dd>
27
23
 
28
24
  <dt class="optional">
29
25
  file_id
30
- <a href="https://platform.openai.com/docs/api-reference/container-files/createContainerFile#container-files-createcontainerfile-file_id"
31
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
32
26
  <span class="property-type">string</span>
33
27
  </dt>
34
28
  <dd>Name of the file to create.</dd>
@@ -41,32 +35,24 @@
41
35
 
42
36
  <dt>
43
37
  container_id
44
- <a href="https://platform.openai.com/docs/api-reference/container-files/listContainerFiles#container-files-listcontainerfiles-container_id"
45
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
46
38
  <span class="property-type">string</span>
47
39
  </dt>
48
40
  <dd>The ID of the desired container.</dd>
49
41
 
50
42
  <dt class="optional">
51
43
  after
52
- <a href="https://platform.openai.com/docs/api-reference/container-files/listContainerFiles#container-files-listcontainerfiles-after"
53
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
54
44
  <span class="property-type">string</span>
55
45
  </dt>
56
46
  <dd>A cursor for use in pagination. `after` is an object ID that defines your place in the list.</dd>
57
47
 
58
48
  <dt class="optional">
59
49
  limit
60
- <a href="https://platform.openai.com/docs/api-reference/container-files/listContainerFiles#container-files-listcontainerfiles-limit"
61
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
62
50
  <span class="property-type">integer</span>
63
51
  </dt>
64
52
  <dd>A limit on the number of objects to be returned.</dd>
65
53
 
66
54
  <dt class="optional">
67
55
  order
68
- <a href="https://platform.openai.com/docs/api-reference/container-files/listContainerFiles#container-files-listcontainerfiles-order"
69
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
70
56
  <span class="property-type">string</span>
71
57
  </dt>
72
58
  <dd>Sort order by the created_at timestamp of the objects.</dd>
@@ -79,16 +65,12 @@
79
65
 
80
66
  <dt>
81
67
  container_id
82
- <a href="https://platform.openai.com/docs/api-reference/container-files/retrieveContainerFile#container-files-retrievecontainerfile-container_id"
83
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
84
68
  <span class="property-type">string</span>
85
69
  </dt>
86
70
  <dd>The ID of the desired container.</dd>
87
71
 
88
72
  <dt>
89
73
  file_id
90
- <a href="https://platform.openai.com/docs/api-reference/container-files/retrieveContainerFile#container-files-retrievecontainerfile-container_id"
91
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
92
74
  <span class="property-type">string</span>
93
75
  </dt>
94
76
  <dd>The ID of the file to retrieve.</dd>
@@ -101,16 +83,12 @@
101
83
 
102
84
  <dt>
103
85
  container_id
104
- <a href="https://platform.openai.com/docs/api-reference/container-files/retrieveContainerFileContent#container-files-retrievecontainerfilecontent-container_id"
105
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
106
86
  <span class="property-type">string</span>
107
87
  </dt>
108
88
  <dd>The ID of the desired container.</dd>
109
89
 
110
90
  <dt>
111
91
  file_id
112
- <a href="https://platform.openai.com/docs/api-reference/container-files/retrieveContainerFileContent#container-files-retrievecontainerfilecontent-file_id"
113
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
114
92
  <span class="property-type">string</span>
115
93
  </dt>
116
94
  <dd>The ID of the desired file.</dd>
@@ -124,16 +102,12 @@
124
102
 
125
103
  <dt>
126
104
  container_id
127
- <a href="https://platform.openai.com/docs/api-reference/container-files/deleteContainerFile#container-files-deletecontainerfile-container_id"
128
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
129
105
  <span class="property-type">string</span>
130
106
  </dt>
131
107
  <dd>The ID of the desired container.</dd>
132
108
 
133
109
  <dt>
134
110
  file_id
135
- <a href="https://platform.openai.com/docs/api-reference/container-files/deleteContainerFile#container-files-deletecontainerfile-file_id"
136
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
137
111
  <span class="property-type">string</span>
138
112
  </dt>
139
113
  <dd>The ID of the file to delete.</dd>
@@ -1,7 +1,7 @@
1
1
  <section>
2
2
  <details>
3
3
  <summary style="font-weight: bold;">🫙 Containers</summary>
4
- <a href="https://platform.openai.com/docs/api-reference/containers" target="_blank">Official Documentation
4
+ <a href="https://developers.openai.com/api/reference/typescript/resources/containers/" target="_blank">Official Documentation
5
5
  <i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
6
6
 
7
7
  <h4 style="font-weight: bolder;"> ⋙ Create Container</h4>
@@ -11,27 +11,27 @@
11
11
 
12
12
  <dt>
13
13
  name
14
- <a href="https://platform.openai.com/docs/api-reference/containers/createContainers#containers-createcontainers-name"
15
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
16
14
  <span class="property-type">string</span>
17
15
  </dt>
18
16
  <dd>Name of the container to create.</dd>
19
17
 
20
18
  <dt class="optional">
21
19
  expires_after
22
- <a href="https://platform.openai.com/docs/api-reference/containers/createContainers#containers-createcontainers-expires_after"
23
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
24
20
  <span class="property-type">object</span>
25
21
  </dt>
26
22
  <dd>Container expiration time in seconds relative to the 'anchor' time.</dd>
27
23
 
28
24
  <dt class="optional">
29
25
  file_ids
30
- <a href="https://platform.openai.com/docs/api-reference/containers/createContainers#containers-createcontainers-file_ids"
31
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
32
26
  <span class="property-type">array</span>
33
27
  </dt>
34
28
  <dd>IDs of files to copy to the container.</dd>
29
+
30
+ <dt class="optional">
31
+ network_policy
32
+ <span class="property-type">object</span>
33
+ </dt>
34
+ <dd>Network policy settings for the container, such as allowlist mode and allowed domains.</dd>
35
35
  </dl>
36
36
 
37
37
  <h4 style="font-weight: bolder;"> ⋙ List Containers</h4>
@@ -41,24 +41,18 @@
41
41
 
42
42
  <dt class="optional">
43
43
  after
44
- <a href="https://platform.openai.com/docs/api-reference/containers/listContainers#containers-listcontainers-after"
45
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
46
44
  <span class="property-type">string</span>
47
45
  </dt>
48
46
  <dd>A cursor for use in pagination. after is an object ID that defines your place in the list.</dd>
49
47
 
50
48
  <dt class="optional">
51
49
  limit
52
- <a href="https://platform.openai.com/docs/api-reference/containers/listContainers#containers-listcontainers-limit"
53
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
54
50
  <span class="property-type">integer</span>
55
51
  </dt>
56
52
  <dd>A limit on the number of objects to be returned.</dd>
57
53
 
58
54
  <dt class="optional">
59
55
  order
60
- <a href="https://platform.openai.com/docs/api-reference/containers/listContainers#containers-listcontainers-order"
61
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
62
56
  <span class="property-type">string</span>
63
57
  </dt>
64
58
  <dd>Sort order by the created_at timestamp of the objects.</dd>
@@ -71,8 +65,6 @@
71
65
 
72
66
  <dt>
73
67
  container_id
74
- <a href="https://platform.openai.com/docs/api-reference/containers/retrieveContainer#containers-retrievecontainer-container_id"
75
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
76
68
  <span class="property-type">string</span>
77
69
  </dt>
78
70
  <dd>The ID of the container to retrieve.</dd>
@@ -85,12 +77,10 @@
85
77
 
86
78
  <dt>
87
79
  container_id
88
- <a href="https://platform.openai.com/docs/api-reference/containers/deleteContainer#containers-deletecontainer-container_id"
89
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
90
80
  <span class="property-type">string</span>
91
81
  </dt>
92
82
  <dd>The ID of the container to delete.</dd>
93
83
  </dl>
94
84
 
95
85
  </details>
96
- </section>
86
+ </section>
@@ -0,0 +1,135 @@
1
+ <section>
2
+ <details>
3
+ <summary style="font-weight: bold;">💬 Conversations</summary>
4
+ <a href="https://developers.openai.com/api/reference/typescript/resources/conversations/" target="_blank">Official Documentation
5
+ <i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
6
+
7
+ <h4 style="font-weight: bolder;"> ⋙ Create Conversation</h4>
8
+ <p>Create a new conversation.</p>
9
+ <dl class="message-properties">
10
+ <h4>msg.payload Properties</h4>
11
+ <dt class="optional">
12
+ items
13
+ <span class="property-type">array</span>
14
+ </dt>
15
+ <dd>Optional initial conversation items.</dd>
16
+ <dt class="optional">
17
+ metadata
18
+ <span class="property-type">object</span>
19
+ </dt>
20
+ <dd>Optional key-value metadata for the conversation.</dd>
21
+ </dl>
22
+
23
+ <h4 style="font-weight: bolder;"> ⋙ Retrieve Conversation</h4>
24
+ <p>Retrieve a conversation by id.</p>
25
+ <dl class="message-properties">
26
+ <h4>msg.payload Properties</h4>
27
+ <dt>
28
+ conversation_id
29
+ <span class="property-type">string</span>
30
+ </dt>
31
+ <dd>The conversation id.</dd>
32
+ </dl>
33
+
34
+ <h4 style="font-weight: bolder;"> ⋙ Modify Conversation</h4>
35
+ <p>Update a conversation by id.</p>
36
+ <dl class="message-properties">
37
+ <h4>msg.payload Properties</h4>
38
+ <dt>
39
+ conversation_id
40
+ <span class="property-type">string</span>
41
+ </dt>
42
+ <dd>The conversation id.</dd>
43
+ <dt class="optional">
44
+ metadata
45
+ <span class="property-type">object</span>
46
+ </dt>
47
+ <dd>Metadata to set on the conversation.</dd>
48
+ </dl>
49
+
50
+ <h4 style="font-weight: bolder;"> ⋙ Delete Conversation</h4>
51
+ <p>Delete a conversation by id.</p>
52
+ <dl class="message-properties">
53
+ <h4>msg.payload Properties</h4>
54
+ <dt>
55
+ conversation_id
56
+ <span class="property-type">string</span>
57
+ </dt>
58
+ <dd>The conversation id.</dd>
59
+ </dl>
60
+
61
+ <h4 style="font-weight: bolder;"> ⋙ Create Conversation Item</h4>
62
+ <p>Add an item to a conversation.</p>
63
+ <dl class="message-properties">
64
+ <h4>msg.payload Properties</h4>
65
+ <dt>
66
+ conversation_id
67
+ <span class="property-type">string</span>
68
+ </dt>
69
+ <dd>The conversation id.</dd>
70
+ <dt>
71
+ item
72
+ <span class="property-type">object</span>
73
+ </dt>
74
+ <dd>The item payload to append.</dd>
75
+ </dl>
76
+
77
+ <h4 style="font-weight: bolder;"> ⋙ Retrieve Conversation Item</h4>
78
+ <p>Retrieve a single conversation item by id.</p>
79
+ <dl class="message-properties">
80
+ <h4>msg.payload Properties</h4>
81
+ <dt>
82
+ conversation_id
83
+ <span class="property-type">string</span>
84
+ </dt>
85
+ <dd>The conversation id.</dd>
86
+ <dt>
87
+ item_id
88
+ <span class="property-type">string</span>
89
+ </dt>
90
+ <dd>The item id.</dd>
91
+ </dl>
92
+
93
+ <h4 style="font-weight: bolder;"> ⋙ List Conversation Items</h4>
94
+ <p>List items for a conversation.</p>
95
+ <dl class="message-properties">
96
+ <h4>msg.payload Properties</h4>
97
+ <dt>
98
+ conversation_id
99
+ <span class="property-type">string</span>
100
+ </dt>
101
+ <dd>The conversation id.</dd>
102
+ <dt class="optional">
103
+ after
104
+ <span class="property-type">string</span>
105
+ </dt>
106
+ <dd>Pagination cursor to return items after this item id.</dd>
107
+ <dt class="optional">
108
+ limit
109
+ <span class="property-type">integer</span>
110
+ </dt>
111
+ <dd>Maximum number of items to return.</dd>
112
+ <dt class="optional">
113
+ order
114
+ <span class="property-type">string</span>
115
+ </dt>
116
+ <dd>Sort order, typically <code>asc</code> or <code>desc</code>.</dd>
117
+ </dl>
118
+
119
+ <h4 style="font-weight: bolder;"> ⋙ Delete Conversation Item</h4>
120
+ <p>Delete a single conversation item by id.</p>
121
+ <dl class="message-properties">
122
+ <h4>msg.payload Properties</h4>
123
+ <dt>
124
+ conversation_id
125
+ <span class="property-type">string</span>
126
+ </dt>
127
+ <dd>The conversation id.</dd>
128
+ <dt>
129
+ item_id
130
+ <span class="property-type">string</span>
131
+ </dt>
132
+ <dd>The item id.</dd>
133
+ </dl>
134
+ </details>
135
+ </section>
@@ -0,0 +1,73 @@
1
+ const OpenAI = require("openai").OpenAI;
2
+
3
+ async function createConversation(parameters) {
4
+ const openai = new OpenAI(this.clientParams);
5
+ const response = await openai.conversations.create(parameters.payload);
6
+ return response;
7
+ }
8
+
9
+ async function getConversation(parameters) {
10
+ const openai = new OpenAI(this.clientParams);
11
+ const { conversation_id, ...params } = parameters.payload;
12
+ const response = await openai.conversations.retrieve(conversation_id, params);
13
+ return response;
14
+ }
15
+
16
+ async function modifyConversation(parameters) {
17
+ const openai = new OpenAI(this.clientParams);
18
+ const { conversation_id, ...body } = parameters.payload;
19
+ const response = await openai.conversations.update(conversation_id, body);
20
+ return response;
21
+ }
22
+
23
+ async function deleteConversation(parameters) {
24
+ const openai = new OpenAI(this.clientParams);
25
+ const { conversation_id, ...params } = parameters.payload;
26
+ const response = await openai.conversations.delete(conversation_id, params);
27
+ return response;
28
+ }
29
+
30
+ async function createConversationItem(parameters) {
31
+ const openai = new OpenAI(this.clientParams);
32
+ const { conversation_id, ...body } = parameters.payload;
33
+ const response = await openai.conversations.items.create(conversation_id, body);
34
+ return response;
35
+ }
36
+
37
+ async function getConversationItem(parameters) {
38
+ const openai = new OpenAI(this.clientParams);
39
+ const { conversation_id, item_id, ...params } = parameters.payload;
40
+ const response = await openai.conversations.items.retrieve(item_id, {
41
+ conversation_id,
42
+ ...params,
43
+ });
44
+ return response;
45
+ }
46
+
47
+ async function listConversationItems(parameters) {
48
+ const openai = new OpenAI(this.clientParams);
49
+ const { conversation_id, ...params } = parameters.payload;
50
+ const list = await openai.conversations.items.list(conversation_id, params);
51
+ return [...list.data];
52
+ }
53
+
54
+ async function deleteConversationItem(parameters) {
55
+ const openai = new OpenAI(this.clientParams);
56
+ const { conversation_id, item_id, ...params } = parameters.payload;
57
+ const response = await openai.conversations.items.delete(item_id, {
58
+ conversation_id,
59
+ ...params,
60
+ });
61
+ return response;
62
+ }
63
+
64
+ module.exports = {
65
+ createConversation,
66
+ getConversation,
67
+ modifyConversation,
68
+ deleteConversation,
69
+ createConversationItem,
70
+ getConversationItem,
71
+ listConversationItems,
72
+ deleteConversationItem,
73
+ };
@@ -0,0 +1,10 @@
1
+ <optgroup style="font-style: normal;" label="💬 Conversations">
2
+ <option value="createConversation" data-i18n="OpenaiApi.parameters.createConversation"></option>
3
+ <option value="getConversation" data-i18n="OpenaiApi.parameters.getConversation"></option>
4
+ <option value="modifyConversation" data-i18n="OpenaiApi.parameters.modifyConversation"></option>
5
+ <option value="deleteConversation" data-i18n="OpenaiApi.parameters.deleteConversation"></option>
6
+ <option value="createConversationItem" data-i18n="OpenaiApi.parameters.createConversationItem"></option>
7
+ <option value="getConversationItem" data-i18n="OpenaiApi.parameters.getConversationItem"></option>
8
+ <option value="listConversationItems" data-i18n="OpenaiApi.parameters.listConversationItems"></option>
9
+ <option value="deleteConversationItem" data-i18n="OpenaiApi.parameters.deleteConversationItem"></option>
10
+ </optgroup>
@@ -1,7 +1,7 @@
1
1
  <section>
2
2
  <details>
3
3
  <summary style="font-weight: bold;">🔗 Embeddings</summary>
4
- <a href="https://platform.openai.com/docs/api-reference/embeddings" target="_blank">Official Documentation
4
+ <a href="https://developers.openai.com/api/reference/typescript/resources/embeddings/" target="_blank">Official Documentation
5
5
  <i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
6
6
  <h4 style="font-weight: bolder;"> ⋙ Create Embeddings</h4>
7
7
  <p>Creates an embedding vector representing the input text.</p>
@@ -10,22 +10,16 @@
10
10
 
11
11
  <dt>
12
12
  input
13
- <a href="https://platform.openai.com/docs/api-reference/embeddings/create#embeddings-create-input"
14
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
15
13
  <span class="property-type">string | array</span>
16
14
  </dt>
17
15
  <dd>Input text to embed, encoded as a string or array of tokens.</dd>
18
16
  <dt>
19
17
  model
20
- <a href="https://platform.openai.com/docs/api-reference/embeddings/create#embeddings-create-model"
21
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
22
18
  <span class="property-type">string</span>
23
19
  </dt>
24
20
  <dd>ID of the model to use.</dd>
25
21
  <dt class="optional">
26
22
  encoding_format
27
- <a href="https://platform.openai.com/docs/api-reference/embeddings/create#embeddings-create-encoding_format"
28
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
29
23
  <span class="property-type">string</span>
30
24
  </dt>
31
25
  <dd>
@@ -33,8 +27,6 @@
33
27
  </dd>
34
28
  <dt class="optional">
35
29
  dimensions
36
- <a href="https://platform.openai.com/docs/api-reference/embeddings/create#embeddings-create-dimensions"
37
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
38
30
  <span class="property-type">integer</span>
39
31
  </dt>
40
32
  <dd>
@@ -43,8 +35,6 @@
43
35
  </dd>
44
36
  <dt class="optional">
45
37
  user
46
- <a href="https://platform.openai.com/docs/api-reference/embeddings/create#embeddings-create-user"
47
- target="_blank"><i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a>
48
38
  <span class="property-type">string</span>
49
39
  </dt>
50
40
  <dd>