diff --git a/supporting-blog-content/unifying-elastic-vector-database-and-llms-for-intelligent-query/Unifying_Elastic_Vector_Database_and_LLMs_for_Intelligent_Query.ipynb b/supporting-blog-content/unifying-elastic-vector-database-and-llms-for-intelligent-query/Unifying_Elastic_Vector_Database_and_LLMs_for_Intelligent_Query.ipynb
index c939e542..5a3be672 100644
--- a/supporting-blog-content/unifying-elastic-vector-database-and-llms-for-intelligent-query/Unifying_Elastic_Vector_Database_and_LLMs_for_Intelligent_Query.ipynb
+++ b/supporting-blog-content/unifying-elastic-vector-database-and-llms-for-intelligent-query/Unifying_Elastic_Vector_Database_and_LLMs_for_Intelligent_Query.ipynb
@@ -10,7 +10,7 @@
"# Objective\n",
"This notebook demonstrates how blending the capabilities of Elasticsearch as a vector database (VectorDB), search templates, and LLM functions can provide an intelligent query layer.\n",
"\n",
- "
\n",
+ "
\n",
"\n",
"\n",
"- **Elasticsearch as the VectorDB**: Acts as the core search engine, storing and retrieving dense vector embeddings efficiently.\n",
@@ -96,97 +96,97 @@
},
{
"cell_type": "markdown",
- "source": [
- "###Completions Endpoint & API Key"
- ],
"metadata": {
"id": "MReWDS6VmHih"
- }
+ },
+ "source": [
+ "###Completions Endpoint & API Key"
+ ]
},
{
"cell_type": "markdown",
- "source": [
- ""
- ],
"metadata": {
"id": "_i3PT0v2lVHI"
- }
+ },
+ "source": [
+ ""
+ ]
},
{
"cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "D4giT3X4lgbm"
+ },
+ "outputs": [],
"source": [
"ENDPOINT = getpass(\"Azure OpenAI Completions Endpoint: \")\n",
"\n",
"AZURE_API_KEY = getpass(\"Azure OpenAI API Key: \")"
- ],
- "metadata": {
- "id": "D4giT3X4lgbm"
- },
- "execution_count": null,
- "outputs": []
+ ]
},
{
"cell_type": "markdown",
- "source": [
- "###Deployment Name"
- ],
"metadata": {
"id": "s6WU8bZ9mFfB"
- }
+ },
+ "source": [
+ "###Deployment Name"
+ ]
},
{
"cell_type": "markdown",
- "source": [
- ""
- ],
"metadata": {
"id": "OjfotdiRlZDU"
- }
+ },
+ "source": [
+ ""
+ ]
},
{
"cell_type": "code",
- "source": [
- "DEPLOYMENT_NAME = getpass(\"Azure OpenAI Deployment Name: \")\n",
- "deployment_name = DEPLOYMENT_NAME"
- ],
+ "execution_count": null,
"metadata": {
"id": "nOLvH3M_ll64"
},
- "execution_count": null,
- "outputs": []
+ "outputs": [],
+ "source": [
+ "DEPLOYMENT_NAME = getpass(\"Azure OpenAI Deployment Name: \")\n",
+ "deployment_name = DEPLOYMENT_NAME"
+ ]
},
{
"cell_type": "markdown",
- "source": [
- "###API Version"
- ],
"metadata": {
"id": "_xVZyR5rmDvS"
- }
+ },
+ "source": [
+ "###API Version"
+ ]
},
{
"cell_type": "markdown",
- "source": [
- ""
- ],
"metadata": {
"id": "XkJzWUM3lvwO"
- }
+ },
+ "source": [
+ ""
+ ]
},
{
"cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "vVzZyB8ml0wa"
+ },
+ "outputs": [],
"source": [
"API_VERSION = getpass(\"Completions Endpoint API Version: \")\n",
"\n",
"client = AzureOpenAI(\n",
" azure_endpoint=ENDPOINT, api_key=AZURE_API_KEY, api_version=API_VERSION\n",
")"
- ],
- "metadata": {
- "id": "vVzZyB8ml0wa"
- },
- "execution_count": null,
- "outputs": []
+ ]
},
{
"cell_type": "markdown",
@@ -199,12 +199,12 @@
},
{
"cell_type": "markdown",
- "source": [
- ""
- ],
"metadata": {
"id": "bckurffTnkI4"
- }
+ },
+ "source": [
+ ""
+ ]
},
{
"cell_type": "code",
@@ -1032,8 +1032,8 @@
},
"outputs": [
{
- "output_type": "stream",
"name": "stdout",
+ "output_type": "stream",
"text": [
"\n",
"Formatted Messages:\n",
@@ -1138,4 +1138,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
-}
\ No newline at end of file
+}