You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An embedding turns a piece of text into a list of numbers that captures its meaning. Two texts that mean similar things get similar numbers, so you can compare meaning directly instead of matching keywords. That is what powers semantic search, grouping related items, and spotting near-duplicates that are worded differently.
15
+
16
+
The Embeddings block generates those numbers using OpenAI, Google Gemini, Cohere, or Mistral. Pick a provider, pick one of its models, pass in text, and get a vector back — one vector per input, in the order you supplied them. You can embed a single string or a list of strings in one call.
17
+
18
+
Models differ in what they are good at and what they cost. `text-embedding-3-small` is the cost-efficient general choice, `gemini-embedding-001` gives the highest retrieval quality, `embed-v4.0` handles multilingual content, and `codestral-embed` is tuned for source code. Some models also let you trade vector size against quality, and some accept a task type so the vector is conditioned for how it will be used — the block only offers those controls for the models that actually support them.
19
+
20
+
Two things worth knowing before you build on it. Vectors are only comparable when they come from the same model at the same size, so changing either means re-embedding everything you intend to compare. And input longer than the model's limit is shortened to fit rather than rejected, with a warning in the run, so chunk long documents yourself when the tail matters.
21
+
22
+
Sim's knowledge bases embed separately, at a fixed vector width and from a smaller set of models. This block is for embedding text yourself inside a workflow.
23
+
{/* MANUAL-CONTENT-END */}
24
+
25
+
26
+
## Usage Instructions
27
+
28
+
Turn text into embedding vectors for semantic search, clustering, and similarity. Supports OpenAI, Google Gemini, Cohere, and Mistral embedding models.
29
+
30
+
31
+
32
+
## Actions
33
+
34
+
### `embeddings_openai`
35
+
36
+
Generate embeddings from text using OpenAI's embedding models
37
+
38
+
#### Input
39
+
40
+
| Parameter | Type | Required | Description |
41
+
| --------- | ---- | -------- | ----------- |
42
+
|`input`| string | Yes | Text to embed, or an array of texts to embed in one call |
43
+
|`model`| string | No | Embedding model to use |
44
+
|`taskType`| string | No | What the embedding is for, when the model supports task conditioning: document, query, similarity, classification, or clustering |
45
+
|`dimensions`| number | No | Output dimensions, when the model supports truncation. Defaults to native. |
46
+
|`apiKey`| string | Yes | API key for the selected embedding provider |
47
+
48
+
#### Output
49
+
50
+
| Parameter | Type | Description |
51
+
| --------- | ---- | ----------- |
52
+
|`embeddings`| json | Generated embeddings |
53
+
|`model`| string | Model used |
54
+
|`provider`| string | Provider used |
55
+
|`dimensions`| number | Dimensionality of each vector |
56
+
|`usage`| json | Token usage |
57
+
58
+
### `embeddings_gemini`
59
+
60
+
Generate embeddings from text using Google's Gemini embedding models
61
+
62
+
#### Input
63
+
64
+
| Parameter | Type | Required | Description |
65
+
| --------- | ---- | -------- | ----------- |
66
+
|`input`| string | Yes | Text to embed, or an array of texts to embed in one call |
67
+
|`model`| string | No | Embedding model to use |
68
+
|`taskType`| string | No | What the embedding is for, when the model supports task conditioning: document, query, similarity, classification, or clustering |
69
+
|`dimensions`| number | No | Output dimensions, when the model supports truncation. Defaults to native. |
70
+
|`apiKey`| string | Yes | API key for the selected embedding provider |
71
+
72
+
#### Output
73
+
74
+
| Parameter | Type | Description |
75
+
| --------- | ---- | ----------- |
76
+
|`embeddings`| json | Generated embeddings |
77
+
|`model`| string | Model used |
78
+
|`provider`| string | Provider used |
79
+
|`dimensions`| number | Dimensionality of each vector |
80
+
|`usage`| json | Token usage |
81
+
82
+
### `embeddings_cohere`
83
+
84
+
Generate embeddings from text using Cohere's embedding models
85
+
86
+
#### Input
87
+
88
+
| Parameter | Type | Required | Description |
89
+
| --------- | ---- | -------- | ----------- |
90
+
|`input`| string | Yes | Text to embed, or an array of texts to embed in one call |
91
+
|`model`| string | No | Embedding model to use |
92
+
|`taskType`| string | No | What the embedding is for, when the model supports task conditioning: document, query, similarity, classification, or clustering |
93
+
|`dimensions`| number | No | Output dimensions, when the model supports truncation. Defaults to native. |
94
+
|`apiKey`| string | Yes | API key for the selected embedding provider |
95
+
96
+
#### Output
97
+
98
+
| Parameter | Type | Description |
99
+
| --------- | ---- | ----------- |
100
+
|`embeddings`| json | Generated embeddings |
101
+
|`model`| string | Model used |
102
+
|`provider`| string | Provider used |
103
+
|`dimensions`| number | Dimensionality of each vector |
104
+
|`usage`| json | Token usage |
105
+
106
+
### `embeddings_mistral`
107
+
108
+
Generate embeddings from text using Mistral's embedding models
109
+
110
+
#### Input
111
+
112
+
| Parameter | Type | Required | Description |
113
+
| --------- | ---- | -------- | ----------- |
114
+
|`input`| string | Yes | Text to embed, or an array of texts to embed in one call |
115
+
|`model`| string | No | Embedding model to use |
116
+
|`taskType`| string | No | What the embedding is for, when the model supports task conditioning: document, query, similarity, classification, or clustering |
117
+
|`dimensions`| number | No | Output dimensions, when the model supports truncation. Defaults to native. |
118
+
|`apiKey`| string | Yes | API key for the selected embedding provider |
119
+
120
+
#### Output
121
+
122
+
| Parameter | Type | Description |
123
+
| --------- | ---- | ----------- |
124
+
|`embeddings`| json | Generated embeddings |
125
+
|`model`| string | Model used |
126
+
|`provider`| string | Provider used |
127
+
|`dimensions`| number | Dimensionality of each vector |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/integrations/exa.mdx
-10Lines changed: 0 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,8 +71,6 @@ Search the web using Exa AI. Returns relevant search results with titles, URLs,
71
71
|`startCrawlDate`| string | No | Deprecated: use startPublishedDate. Only include results crawled on or after this ISO 8601 date |
72
72
|`endCrawlDate`| string | No | Deprecated: use endPublishedDate. Only include results crawled on or before this ISO 8601 date |
73
73
|`apiKey`| string | Yes | Exa AI API Key |
74
-
|`pricing`| custom | No | No description |
75
-
|`rateLimit`| string | No | No description |
76
74
77
75
#### Output
78
76
@@ -120,8 +118,6 @@ Retrieve the contents of webpages using Exa AI. Returns the title, text content,
120
118
|`livecrawlTimeout`| number | No | Live crawl timeout in milliseconds \(max 90000\). Default: 10000 |
121
119
|`livecrawl`| string | No | Deprecated: use maxAgeHours instead. Live crawling mode: never, fallback, always, or preferred |
122
120
|`apiKey`| string | Yes | Exa AI API Key |
123
-
|`pricing`| custom | No | No description |
124
-
|`rateLimit`| string | No | No description |
125
121
126
122
#### Output
127
123
@@ -162,8 +158,6 @@ Find webpages similar to a given URL using Exa AI. Deprecated by Exa in favor of
162
158
|`livecrawlTimeout`| number | No | Live crawl timeout in milliseconds \(max 90000\). Default: 10000 |
163
159
|`livecrawl`| string | No | Deprecated: use maxAgeHours instead. Live crawling mode: never, fallback, always, or preferred |
164
160
|`apiKey`| string | Yes | Exa AI API Key |
165
-
|`pricing`| custom | No | No description |
166
-
|`rateLimit`| string | No | No description |
167
161
168
162
#### Output
169
163
@@ -191,8 +185,6 @@ Get an AI-generated answer to a question with citations from the web using Exa A
191
185
|`text`| boolean | No | Include the full page text of each cited source \(default: false\). This does not affect the answer itself. |
192
186
|`outputSchema`| json | No | JSON Schema describing the answer shape. When supplied, the answer is returned as a structured object instead of a string. |
193
187
|`apiKey`| string | Yes | Exa AI API Key |
194
-
|`pricing`| custom | No | No description |
195
-
|`rateLimit`| string | No | No description |
196
188
197
189
#### Output
198
190
@@ -222,8 +214,6 @@ Run a deep research task with Exa Agent. Handles multi-step list building, enric
222
214
|`systemPrompt`| string | No | Additional guidance for how the agent should behave or format its answer |
223
215
|`previousRunId`| string | No | ID of a completed agent run to continue from, for follow-up questions |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/integrations/google_maps.mdx
-30Lines changed: 0 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,8 +50,6 @@ Get current air quality data for a location
50
50
|`lat`| number | Yes | Latitude coordinate |
51
51
|`lng`| number | Yes | Longitude coordinate |
52
52
|`languageCode`| string | No | Language code for the response \(e.g., "en", "es"\)|
53
-
|`pricing`| per_request | No | No description |
54
-
|`rateLimit`| string | No | No description |
55
53
56
54
#### Output
57
55
@@ -93,8 +91,6 @@ Get directions and route information between two locations
93
91
|`waypoints`| json | No | Array of intermediate waypoints |
94
92
|`units`| string | No | Unit system: metric or imperial |
95
93
|`language`| string | No | Language code for results \(e.g., en, es, fr\)|
96
-
|`pricing`| per_request | No | No description |
97
-
|`rateLimit`| string | No | No description |
98
94
99
95
#### Output
100
96
@@ -139,8 +135,6 @@ Calculate travel distance and time between multiple origins and destinations
139
135
|`avoid`| string | No | Features to avoid: tolls, highways, or ferries |
140
136
|`units`| string | No | Unit system: metric or imperial |
141
137
|`language`| string | No | Language code for results \(e.g., en, es, fr\)|
142
-
|`pricing`| custom | No | No description |
143
-
|`rateLimit`| string | No | No description |
144
138
145
139
#### Output
146
140
@@ -169,8 +163,6 @@ Get elevation data for a location
169
163
|`apiKey`| string | Yes | Google Maps API key |
170
164
|`lat`| number | Yes | Latitude coordinate |
171
165
|`lng`| number | Yes | Longitude coordinate |
172
-
|`pricing`| per_request | No | No description |
173
-
|`rateLimit`| string | No | No description |
174
166
175
167
#### Output
176
168
@@ -193,8 +185,6 @@ Convert an address into geographic coordinates (latitude and longitude)
193
185
|`address`| string | Yes | The address to geocode |
194
186
|`language`| string | No | Language code for results \(e.g., en, es, fr\)|
195
187
|`region`| string | No | Region bias as a ccTLD code \(e.g., us, uk\)|
196
-
|`pricing`| per_request | No | No description |
197
-
|`rateLimit`| string | No | No description |
198
188
199
189
#### Output
200
190
@@ -227,8 +217,6 @@ Geolocate a device using WiFi access points, cell towers, or IP address
227
217
|`considerIp`| boolean | No | Whether to use IP address for geolocation \(default: true\)|
228
218
|`cellTowers`| array | No | Array of cell tower objects with cellId, locationAreaCode, mobileCountryCode, mobileNetworkCode |
229
219
|`wifiAccessPoints`| array | No | Array of WiFi access point objects with macAddress \(required\), signalStrength, etc. |
230
-
|`pricing`| per_request | No | No description |
231
-
|`rateLimit`| string | No | No description |
232
220
233
221
#### Output
234
222
@@ -250,8 +238,6 @@ Get detailed information about a specific place
250
238
|`placeId`| string | Yes | Google Place ID |
251
239
|`fields`| string | No | Comma-separated list of fields to return |
252
240
|`language`| string | No | Language code for results \(e.g., en, es, fr\)|
253
-
|`pricing`| per_request | No | No description |
254
-
|`rateLimit`| string | No | No description |
255
241
256
242
#### Output
257
243
@@ -306,8 +292,6 @@ Search for places of a given type within a radius of a location
306
292
|`rankPreference`| string | No | How to rank results: POPULARITY \(default\) or DISTANCE |
307
293
|`languageCode`| string | No | Language code for the response \(e.g., en, es\)|
308
294
|`regionCode`| string | No | Region bias as a ccTLD code \(e.g., us, uk\)|
309
-
|`pricing`| per_request | No | No description |
310
-
|`rateLimit`| string | No | No description |
311
295
312
296
#### Output
313
297
@@ -342,8 +326,6 @@ Search for places using a text query
342
326
|`language`| string | No | Language code for results \(e.g., en, es, fr\)|
343
327
|`region`| string | No | Region bias as a ccTLD code \(e.g., us, uk\)|
344
328
|`pageToken`| string | No | Token from a previous search response to fetch the next page of results. Wait a couple seconds after receiving the token before using it, or the API returns INVALID_REQUEST |
345
-
|`pricing`| per_request | No | No description |
346
-
|`rateLimit`| string | No | No description |
347
329
348
330
#### Output
349
331
@@ -378,8 +360,6 @@ Get a daily pollen forecast (grass, tree, weed) for a location
378
360
|`days`| number | No | Number of forecast days to return \(1-5, defaults to 1\)|
379
361
|`languageCode`| string | No | Language code for the response \(e.g., "en", "es"\)|
380
362
|`plantsDescription`| boolean | No | Include detailed plant descriptions \(defaults to true\)|
381
-
|`pricing`| per_request | No | No description |
382
-
|`rateLimit`| string | No | No description |
383
363
384
364
#### Output
385
365
@@ -413,8 +393,6 @@ Convert geographic coordinates (latitude and longitude) into a human-readable ad
413
393
|`lat`| number | Yes | Latitude coordinate |
414
394
|`lng`| number | Yes | Longitude coordinate |
415
395
|`language`| string | No | Language code for results \(e.g., en, es, fr\)|
416
-
|`pricing`| per_request | No | No description |
417
-
|`rateLimit`| string | No | No description |
418
396
419
397
#### Output
420
398
@@ -439,8 +417,6 @@ Snap GPS coordinates to the nearest road segment
439
417
|`apiKey`| string | Yes | Google Maps API key with Roads API enabled |
440
418
|`path`| string | Yes | Pipe-separated list of lat,lng coordinates \(e.g., "60.170880,24.942795\|60.170879,24.942796"\)|
441
419
|`interpolate`| boolean | No | Whether to interpolate additional points along the road |
442
-
|`pricing`| per_request | No | No description |
443
-
|`rateLimit`| string | No | No description |
444
420
445
421
#### Output
446
422
@@ -466,8 +442,6 @@ Get solar potential and panel insights for the building nearest a location
466
442
|`lat`| number | Yes | Latitude coordinate |
467
443
|`lng`| number | Yes | Longitude coordinate |
468
444
|`requiredQuality`| string | No | Minimum imagery quality to accept \(HIGH, MEDIUM, or BASE\)|
469
-
|`pricing`| per_request | No | No description |
470
-
|`rateLimit`| string | No | No description |
471
445
472
446
#### Output
473
447
@@ -525,8 +499,6 @@ Get timezone information for a location
525
499
|`lng`| number | Yes | Longitude coordinate |
526
500
|`timestamp`| number | No | Unix timestamp to determine DST offset \(defaults to current time\)|
527
501
|`language`| string | No | Language code for timezone name \(e.g., en, es, fr\)|
528
-
|`pricing`| per_request | No | No description |
529
-
|`rateLimit`| string | No | No description |
530
502
531
503
#### Output
532
504
@@ -552,8 +524,6 @@ Validate and standardize a postal address
552
524
|`regionCode`| string | No | ISO 3166-1 alpha-2 country code \(e.g., "US", "CA"\)|
553
525
|`locality`| string | No | City or locality name |
554
526
|`enableUspsCass`| boolean | No | Enable USPS CASS validation for US addresses |
0 commit comments