Skip to content

Commit 5b013e3

Browse files
committed
Adding readme.md
1 parent d662a92 commit 5b013e3

File tree

1 file changed

+43
-0
lines changed
  • supporting-blog-content/langgraph-js-elasticsearch

1 file changed

+43
-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+
```

0 commit comments

Comments
 (0)