Skip to content

Commit 7a0fd23

Browse files
author
Ziqun Ye
committed
update example
1 parent 6872c23 commit 7a0fd23

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

llm_application/Use_of_Cohere_embed_models_for_Semantic_Search_in_OCI_OpenSearch.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Cohere Embedding Models for Semantic Search in OCI OpenSearch\n",
8-
"In this tutorial, we will walk through the steps to conduct a semantic search using the Cohere embedding model with OCI Search.\n",
7+
"# Retrieval Augmented Generative Question Answer Using OCI OpenSearch as Retriever\n",
8+
"\n",
9+
"In this tutorial, we will walk through the steps to set up a retrieval-augmented generative QA using OCI OpenSearch as retriever.\n",
910
"\n",
1011
"### Prerequesites\n",
1112
"- You have a Running Instance of OCI Search.\n",
@@ -308,7 +309,7 @@
308309
}
309310
],
310311
"source": [
311-
"query_vector = oci_embedings.embed_query(text=\"how to set up tensorboard in oci?\")\n",
312+
"query_vector = oci_embedings.embed_query(tex\n",
312313
"query = {\n",
313314
" \"size\": 2,\n",
314315
" \"query\": {\"knn\": {VECTOR_1_NAME: {\"vector\": query_vector, \"k\": 2}}},\n",

0 commit comments

Comments
 (0)