Skip to content

Commit f6b4c20

Browse files
committed
cr
1 parent 4920d5e commit f6b4c20

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

recipes/llama_api_providers/llama3_cookbook_groq.ipynb

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,6 +1321,20 @@
13211321
"### Create ReAct Agent using RAG QueryEngine Tools"
13221322
]
13231323
},
1324+
{
1325+
"cell_type": "code",
1326+
"execution_count": null,
1327+
"id": "66ab1e60-3374-4eb9-b7dc-c28db3b47c51",
1328+
"metadata": {},
1329+
"outputs": [],
1330+
"source": [
1331+
"drake_index = VectorStoreIndex.from_documents(docs_drake)\n",
1332+
"drake_query_engine = drake_index.as_query_engine(similarity_top_k=3)\n",
1333+
"\n",
1334+
"kendrick_index = VectorStoreIndex.from_documents(docs_kendrick)\n",
1335+
"kendrick_query_engine = kendrick_index.as_query_engine(similarity_top_k=3)"
1336+
]
1337+
},
13241338
{
13251339
"cell_type": "code",
13261340
"execution_count": null,
@@ -1414,7 +1428,8 @@
14141428
"mimetype": "text/x-python",
14151429
"name": "python",
14161430
"nbconvert_exporter": "python",
1417-
"pygments_lexer": "ipython3"
1431+
"pygments_lexer": "ipython3",
1432+
"version": "3.10.8"
14181433
}
14191434
},
14201435
"nbformat": 4,

0 commit comments

Comments
 (0)