Skip to content

Commit bc7a5b5

Browse files
committed
Add requirements.txt and ChatGPT examples screenshots
1 parent e89ea0f commit bc7a5b5

File tree

4 files changed

+22
-1
lines changed

4 files changed

+22
-1
lines changed

supporting-blog-content/elasticsearch-chatgpt-connector/elasticsearch-mcp-server-for-chatgpt.ipynb

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@
3838
"source": [
3939
"## Install Dependencies\n",
4040
"\n",
41-
"This cell installs all required Python packages: `fastmcp` for the MCP server framework, `elasticsearch` for connecting to Elasticsearch, `pyngrok` for creating a public tunnel, and `pandas` for data manipulation."
41+
"This cell installs all required Python packages: `fastmcp` for the MCP server framework, `elasticsearch` for connecting to Elasticsearch, `pyngrok` for creating a public tunnel, and `pandas` for data manipulation.\n",
42+
"\n",
43+
"**Alternative:** You can also install dependencies using the provided 'requirements.txt' file."
4244
]
4345
},
4446
{
@@ -1105,6 +1107,21 @@
11051107
" print(\"\\nServer stopped\")"
11061108
]
11071109
},
1110+
{
1111+
"cell_type": "markdown",
1112+
"metadata": {},
1113+
"source": [
1114+
"# Example: ChatGPT Interaction\n",
1115+
"\n",
1116+
"Here's an example of ChatGPT using the Elasticsearch connector to search through GitHub issues:\n",
1117+
" - **Search tool:**\n",
1118+
"\n",
1119+
" ![Search Example](./images/chatgpt-search-example.png)\n",
1120+
" - **Fetch tool:**\n",
1121+
"\n",
1122+
" ![Fetch Example](./images/chatgpt-fetch-example.png)"
1123+
]
1124+
},
11081125
{
11091126
"cell_type": "markdown",
11101127
"metadata": {
247 KB
Loading
234 KB
Loading
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
fastmcp>=2.13.0
2+
elasticsearch>=8.0.0
3+
pyngrok>=7.0.0
4+
pandas>=2.0.0

0 commit comments

Comments
 (0)