Skip to content

Commit 5a139be

Browse files
authored
supporting blog content langgraph-js-elasticsearch (#494)
1 parent 547fd15 commit 5a139be

File tree

8 files changed

+1742
-0
lines changed

8 files changed

+1742
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# LangGraph.js + Elasticsearch
2+
3+
This application was developed to demonstrate the integration of LangGraph.js with Elasticsearch for advanced search workflows, as part of the Search Labs blog post [LangGraph JS + Elasticsearch
4+
](https://www.elastic.co/search-labs/blog/langgraph-js-elasticsearch).
5+
6+
**Practical example:** A smart startup search system that combines LangGraph.js workflow orchestration with Elasticsearch's hybrid search capabilities to find venture capital opportunities using natural language queries.
7+
8+
## Prerequisites
9+
10+
- Node.js 18+
11+
- Elasticsearch 9.x running locally or remotely
12+
- OpenAI API key
13+
14+
## Setup
15+
16+
### Environment Variables
17+
18+
- `OPENAI_API_KEY` - Your OpenAI API key
19+
- `ELASTICSEARCH_URL` - Elasticsearch endpoint
20+
- `ELASTICSEARCH_API_KEY` - Elasticsearch API key
21+
22+
1. Install dependencies:
23+
```bash
24+
npm install
25+
```
26+
27+
2. Run the application:
28+
```bash
29+
npm start
30+
```
31+
32+
33+
## Example usage queries
34+
35+
- **Market focused:**
36+
```
37+
Find fintech and healthcare startups in San Francisco, New York, or Boston
38+
```
39+
40+
- **Invest focused:**
41+
```
42+
Find startups with Series A or Series B funding between $8M-$25M and monthly revenue above $500K
43+
```
Lines changed: 222 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,222 @@
1+
[
2+
{
3+
"description": "TechFlow optimizes supply chain operations using AI-powered route optimization and real-time tracking. Founded in 2023, shows remarkable growth with $500K monthly revenue.",
4+
"company_name": "TechFlow",
5+
"industry": "logistics",
6+
"location": "San Francisco, CA",
7+
"funding_stage": "Series A",
8+
"funding_amount": 8000000,
9+
"lead_investor": "Sequoia Capital",
10+
"monthly_revenue": 500000,
11+
"business_model": "B2B"
12+
},
13+
{
14+
"description": "UrbanMobility revolutionizes urban transportation through autonomous delivery drones and smart logistics hubs. Partners with major retailers for same-day delivery across Manhattan and Brooklyn.",
15+
"company_name": "UrbanMobility",
16+
"industry": "logistics",
17+
"location": "New York, NY",
18+
"funding_stage": "Series B",
19+
"funding_amount": 15000000,
20+
"lead_investor": "Kleiner Perkins",
21+
"monthly_revenue": 750000,
22+
"business_model": "B2B2C"
23+
},
24+
{
25+
"description": "FinanceAI provides AI-powered investment advisory services to retail investors. Uses machine learning to analyze market trends with over 100,000 active users.",
26+
"company_name": "FinanceAI",
27+
"industry": "fintech",
28+
"location": "San Francisco, CA",
29+
"funding_stage": "Series C",
30+
"funding_amount": 25000000,
31+
"lead_investor": "Tiger Global Management",
32+
"monthly_revenue": 1200000,
33+
"business_model": "B2C"
34+
},
35+
{
36+
"description": "HealthTech Solutions develops medical devices and software for remote patient monitoring. Comprehensive telehealth platform reducing hospital readmissions by 30%.",
37+
"company_name": "HealthTech Solutions",
38+
"industry": "healthcare",
39+
"location": "Boston, MA",
40+
"funding_stage": "Series B",
41+
"funding_amount": 18000000,
42+
"lead_investor": "General Catalyst",
43+
"monthly_revenue": 900000,
44+
"business_model": "B2B"
45+
},
46+
{
47+
"description": "SmartWarehouse transforms traditional warehouses into automated facilities using robotics and AI. Robotic systems pick, pack, and sort 5x faster than human workers.",
48+
"company_name": "SmartWarehouse",
49+
"industry": "logistics",
50+
"location": "New York, NY",
51+
"funding_stage": "Seed",
52+
"funding_amount": 5000000,
53+
"lead_investor": "Founders Fund",
54+
"monthly_revenue": 300000,
55+
"business_model": "B2B"
56+
},
57+
{
58+
"description": "EcoTransport provides carbon-neutral delivery services using electric vehicles and optimized routing algorithms. Popular with environmentally conscious brands.",
59+
"company_name": "EcoTransport",
60+
"industry": "logistics",
61+
"location": "San Francisco, CA",
62+
"funding_stage": "Series A",
63+
"funding_amount": 12000000,
64+
"lead_investor": "NEA (New Enterprise Associates)",
65+
"monthly_revenue": 650000,
66+
"business_model": "B2B"
67+
},
68+
{
69+
"description": "CyberSecure develops AI-powered threat detection and response systems for enterprise clients. Platform identifies and neutralizes cyber threats 10x faster than traditional systems.",
70+
"company_name": "CyberSecure",
71+
"industry": "cybersecurity",
72+
"location": "Austin, TX",
73+
"funding_stage": "Series B",
74+
"funding_amount": 20000000,
75+
"lead_investor": "Insight Partners",
76+
"monthly_revenue": 1100000,
77+
"business_model": "B2B"
78+
},
79+
{
80+
"description": "DataViz creates intuitive data visualization tools for enterprise customers. No-code platform allows business users to create dashboards without technical expertise.",
81+
"company_name": "DataViz",
82+
"industry": "enterprise software",
83+
"location": "New York, NY",
84+
"funding_stage": "Series A",
85+
"funding_amount": 10000000,
86+
"lead_investor": "Battery Ventures",
87+
"monthly_revenue": 450000,
88+
"business_model": "B2B"
89+
},
90+
{
91+
"description": "CloudNative builds kubernetes-native development tools for cloud deployment and management. Platform reduces deployment time by 80% for developers.",
92+
"company_name": "CloudNative",
93+
"industry": "developer tools",
94+
"location": "Seattle, WA",
95+
"funding_stage": "Seed",
96+
"funding_amount": 6000000,
97+
"lead_investor": "Madrona Venture Group",
98+
"monthly_revenue": 250000,
99+
"business_model": "B2B"
100+
},
101+
{
102+
"description": "LastMile Logistics revolutionizes final-mile delivery through micro-fulfillment centers and crowdsourced drivers. Uses predictive analytics for under 30-minute delivery times.",
103+
"company_name": "LastMile Logistics",
104+
"industry": "logistics",
105+
"location": "San Francisco, CA",
106+
"funding_stage": "Series A",
107+
"funding_amount": 14000000,
108+
"lead_investor": "Benchmark Capital",
109+
"monthly_revenue": 580000,
110+
"business_model": "B2B2C"
111+
},
112+
{
113+
"description": "TechMed develops AI-powered diagnostic tools for hospitals and clinics. Platform improves diagnostic accuracy by 45% using computer vision and machine learning.",
114+
"company_name": "TechMed",
115+
"industry": "healthcare",
116+
"location": "Los Angeles, CA",
117+
"funding_stage": "Series A",
118+
"funding_amount": 9000000,
119+
"lead_investor": "GV (Google Ventures)",
120+
"monthly_revenue": 380000,
121+
"business_model": "B2B"
122+
},
123+
{
124+
"description": "CryptoWallet provides secure digital wallet solutions for cryptocurrency trading and storage. Multi-chain support with enterprise-grade security features.",
125+
"company_name": "CryptoWallet",
126+
"industry": "fintech",
127+
"location": "Miami, FL",
128+
"funding_stage": "Series B",
129+
"funding_amount": 16000000,
130+
"lead_investor": "Coinbase Ventures",
131+
"monthly_revenue": 820000,
132+
"business_model": "B2C"
133+
},
134+
{
135+
"description": "GreenEnergy develops solar panel optimization software for residential and commercial installations. AI algorithms increase energy efficiency by 35%.",
136+
"company_name": "GreenEnergy",
137+
"industry": "cleantech",
138+
"location": "Denver, CO",
139+
"funding_stage": "Series B",
140+
"funding_amount": 22000000,
141+
"lead_investor": "Energy Impact Partners",
142+
"monthly_revenue": 95000,
143+
"business_model": "B2C"
144+
},
145+
{
146+
"description": "EduTech creates interactive learning platforms for K-12 education. Gamified learning experiences improve student engagement by 60% across 500+ schools.",
147+
"company_name": "EduTech",
148+
"industry": "edtech",
149+
"location": "Chicago, IL",
150+
"funding_stage": "Series A",
151+
"funding_amount": 11000000,
152+
"lead_investor": "Reach Capital",
153+
"monthly_revenue": 420000,
154+
"business_model": "B2B"
155+
},
156+
{
157+
"description": "RoboFarm develops autonomous farming robots for precision agriculture. Robots plant, monitor, and harvest crops with 90% less water usage than traditional farming.",
158+
"company_name": "RoboFarm",
159+
"industry": "agtech",
160+
"location": "Portland, OR",
161+
"funding_stage": "Seed",
162+
"funding_amount": 7000000,
163+
"lead_investor": "S2G Ventures",
164+
"monthly_revenue": 290000,
165+
"business_model": "B2B"
166+
},
167+
{
168+
"description": "VRFitness creates immersive virtual reality fitness experiences for home users. Platform offers 200+ workout programs with real-time coaching and social features.",
169+
"company_name": "VRFitness",
170+
"industry": "fitness tech",
171+
"location": "San Diego, CA",
172+
"funding_stage": "Seed",
173+
"funding_amount": 4500000,
174+
"lead_investor": "Bullpen Capital",
175+
"monthly_revenue": 180000,
176+
"business_model": "B2C"
177+
},
178+
{
179+
"description": "SmartRetail provides AI-powered inventory management and customer analytics for retail chains. Platform reduces inventory costs by 25% while improving customer satisfaction.",
180+
"company_name": "SmartRetail",
181+
"industry": "retail tech",
182+
"location": "Atlanta, GA",
183+
"funding_stage": "Series B",
184+
"funding_amount": 19000000,
185+
"lead_investor": "Norwest Venture Partners",
186+
"monthly_revenue": 780000,
187+
"business_model": "B2B"
188+
},
189+
{
190+
"description": "PropTech Solutions develops smart building management systems for commercial real estate. IoT sensors and AI optimize energy usage and maintenance schedules.",
191+
"company_name": "PropTech Solutions",
192+
"industry": "proptech",
193+
"location": "Phoenix, AZ",
194+
"funding_stage": "Series A",
195+
"funding_amount": 13000000,
196+
"lead_investor": "Fifth Wall",
197+
"monthly_revenue": 540000,
198+
"business_model": "B2B"
199+
},
200+
{
201+
"description": "GameStudio creates mobile gaming experiences with blockchain integration. Free-to-play games with NFT rewards have reached 2 million active users.",
202+
"company_name": "GameStudio",
203+
"industry": "gaming",
204+
"location": "Las Vegas, NV",
205+
"funding_stage": "Series A",
206+
"funding_amount": 12000000,
207+
"lead_investor": "Bitkraft Ventures",
208+
"monthly_revenue": 680000,
209+
"business_model": "B2C"
210+
},
211+
{
212+
"description": "SpaceTech develops satellite communication systems for rural internet connectivity. Low-orbit satellites provide high-speed internet to underserved areas globally.",
213+
"company_name": "SpaceTech",
214+
"industry": "aerospace",
215+
"location": "Houston, TX",
216+
"funding_stage": "Series C",
217+
"funding_amount": 35000000,
218+
"lead_investor": "Space Capital",
219+
"monthly_revenue": 1400000,
220+
"business_model": "B2B2C"
221+
}
222+
]

0 commit comments

Comments
 (0)