Skip to content

Commit 55a1849

Browse files
Merge remote-tracking branch 'origin/staging' into feat/hosted-enrichment
2 parents 9f42316 + 8daca91 commit 55a1849

73 files changed

Lines changed: 21601 additions & 325 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/docs/components/icons.tsx

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1574,6 +1574,48 @@ export function ExaAIIcon(props: SVGProps<SVGSVGElement>) {
15741574
)
15751575
}
15761576

1577+
export function RB2BIcon(props: SVGProps<SVGSVGElement>) {
1578+
const id = useId()
1579+
const clipId = `rb2b_clip_${id}`
1580+
return (
1581+
<svg viewBox='0 0 165 48' fill='none' xmlns='http://www.w3.org/2000/svg' {...props}>
1582+
<g clipPath={`url(#${clipId})`}>
1583+
<path d='M95.975 8.40234H87.5703V16.8057H95.975V8.40234Z' fill='#0C1316' />
1584+
<path d='M121.405 8.40234H113V16.8057H121.405V8.40234Z' fill='#0C1316' />
1585+
<path d='M112.998 16.8066H104.594V25.21H112.998V16.8066Z' fill='#0C1316' />
1586+
<path d='M104.596 25.2109H96.1914V33.6143H104.596V25.2109Z' fill='#0C1316' />
1587+
<path
1588+
d='M87.7852 39.5965V42.0166V47.9998H121.404V39.5965H96.1898V33.6133H87.7852V39.5965Z'
1589+
fill='#0C1316'
1590+
/>
1591+
<path d='M112.786 0H95.9766V8.40336H112.786V0Z' fill='#0C1316' />
1592+
<path
1593+
d='M52.3773 8.40336H74.3639V0H52.3773H43.9727V48H52.3773H74.3639V39.5966H52.3773V28.2017H74.3639V19.7983H52.3773V8.40336Z'
1594+
fill='#0C1316'
1595+
/>
1596+
<path d='M82.7718 8.40234H74.3672V19.7973H82.7718V8.40234Z' fill='#0C1316' />
1597+
<path d='M82.7679 28.2031H74.3633V39.5981H82.7679V28.2031Z' fill='#0C1316' />
1598+
<path d='M164.998 8.40234H156.594V19.7973H164.998V8.40234Z' fill='#0C1316' />
1599+
<path d='M164.998 28.2031H156.594V39.5981H164.998V28.2031Z' fill='#0C1316' />
1600+
<path
1601+
d='M134.608 19.7983V8.40336H156.594V0H134.608H126.203V48H134.608H156.594V39.5966H134.608V28.2017H156.594V19.7983H134.608Z'
1602+
fill='#0C1316'
1603+
/>
1604+
<path
1605+
d='M8.40464 8.40336H30.3912V0H8.40464H0V48H8.40464V28.2017H21.9866V36.605H30.3912V48H38.7958V28.2017H30.3912V19.7983H8.40464V8.40336Z'
1606+
fill='#0C1316'
1607+
/>
1608+
<path d='M38.7953 8.40234H30.3906V19.7973H38.7953V8.40234Z' fill='#0C1316' />
1609+
</g>
1610+
<defs>
1611+
<clipPath id={clipId}>
1612+
<rect width='165' height='48' fill='white' />
1613+
</clipPath>
1614+
</defs>
1615+
</svg>
1616+
)
1617+
}
1618+
15771619
export function RedditIcon(props: SVGProps<SVGSVGElement>) {
15781620
return (
15791621
<svg

apps/docs/components/ui/icon-mapping.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ import {
152152
QdrantIcon,
153153
QuiverIcon,
154154
RailwayIcon,
155+
RB2BIcon,
155156
RDSIcon,
156157
RedditIcon,
157158
RedisIcon,
@@ -382,6 +383,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
382383
qdrant: QdrantIcon,
383384
quiver: QuiverIcon,
384385
railway: RailwayIcon,
386+
rb2b: RB2BIcon,
385387
rds: RDSIcon,
386388
reddit: RedditIcon,
387389
redis: RedisIcon,
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: Enrichment
3+
description: Enrich data with a Sim enrichment
4+
---
5+
6+
import { BlockInfoCard } from "@/components/ui/block-info-card"
7+
8+
<BlockInfoCard
9+
type="enrichment"
10+
color="#9333EA"
11+
/>
12+
13+
## Usage Instructions
14+
15+
Run a Sim enrichment to look up data — work email, phone number, company domain, company info, and more — from the fields you map in. Uses the same provider cascade as table enrichments.
16+
17+
18+
19+
## Tools
20+
21+
### `enrichment_run`
22+
23+
Run a Sim enrichment (e.g. Work Email, Phone Number) and return its outputs
24+
25+
#### Input
26+
27+
| Parameter | Type | Required | Description |
28+
| --------- | ---- | -------- | ----------- |
29+
| `enrichmentId` | string | Yes | Registry enrichment id \(e.g. "work-email"\) |
30+
| `inputs` | json | Yes | Map of the enrichment's input ids to values |
31+
32+
#### Output
33+
34+
The exact fields depend on which enrichment ran. `matched` and `provider` are always present.
35+
36+
| Parameter | Type | Description |
37+
| --------- | ---- | ----------- |
38+
| `matched` | boolean | Whether the enrichment found a result |
39+
| `provider` | string | Provider whose result was returned (e.g. "Hunter", "People Data Labs"); `null` on no match |
40+
| `email` | string | Work email address (Work Email enrichment) |
41+
| `phone` | string | Phone number (Phone Number enrichment) |
42+
| `domain` | string | Website domain (Company Domain enrichment) |
43+
| `industry` | string | Industry (Company Info enrichment) |
44+
| `employeeCount` | number | Employee count (Company Info enrichment) |
45+
| `foundedYear` | number | Founded year (Company Info enrichment) |
46+
| `description` | string | Company description (Company Info enrichment) |
47+
48+

apps/docs/content/docs/en/tools/meta.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"elevenlabs",
5050
"emailbison",
5151
"enrich",
52+
"enrichment",
5253
"evernote",
5354
"exa",
5455
"extend",
@@ -148,6 +149,7 @@
148149
"qdrant",
149150
"quiver",
150151
"railway",
152+
"rb2b",
151153
"rds",
152154
"reddit",
153155
"redis",

0 commit comments

Comments
 (0)