Skip to content

Commit 4c31d43

Browse files
authored
Update semantic_retrieval.ipynb (google#397)
Update links
1 parent e032ce0 commit 4c31d43

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

site/en/gemini-api/docs/semantic_retrieval.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"\n",
7373
"This notebook walks you through a workflow to improve an LLM's response by augmenting its knowledge with external text corpora and performing semantic information retrieval to answer questions using the Semantic Retriever and the Attributed Question & Answering (AQA) APIs of the [Generative Language API](../api/python/google/ai/generativelanguage).\n",
7474
"\n",
75-
"Note: This API is currently in [beta](/docs/api_versions) and is [only available in certain regions](../available_regions).\n"
75+
"Note: This API is currently in [beta](https://ai.google.dev/gemini-api/docs/api-versions) and is [only available in certain regions](https://ai.google.dev/gemini-api/docs/available-regions).\n"
7676
]
7777
},
7878
{
@@ -719,7 +719,7 @@
719719
"source": [
720720
"## Attributed Question-Answering\n",
721721
"\n",
722-
"Use the [`GenerateAnswer`](../api/python/google/ai/generativelanguage/GenerateAnswerRequest) method to perform Attributed Question-Answering over your document, corpus, or a set of passages.\n",
722+
"Use the [`GenerateAnswer`](https://ai.google.dev/api/python/google/ai/generativelanguage/GenerateAnswerRequest) method to perform Attributed Question-Answering over your document, corpus, or a set of passages.\n",
723723
"\n",
724724
"Attributed Question-Answering (AQA) refers to answering questions grounded to a given context and providing attributions(s), while minimizing hallucination.\n",
725725
"\n",
@@ -769,7 +769,7 @@
769769
"source": [
770770
"### AQA Helpful Tips\n",
771771
"\n",
772-
"For full API specifications, refer to the [`GenerateAnswerRequest` API Reference](../api/python/google/ai/generativelanguage/GenerateAnswerRequest).\n",
772+
"For full API specifications, refer to the [`GenerateAnswerRequest` API Reference](https://ai.google.dev/api/python/google/ai/generativelanguage/GenerateAnswerRequest).\n",
773773
"\n",
774774
"* *Passage length*: Up to 300 tokens per passage are recommended.\n",
775775
"* *Passage sorting*:\n",
@@ -870,7 +870,7 @@
870870
"source": [
871871
"## Share the corpus\n",
872872
"\n",
873-
"You can choose to share the corpus with others using the [`CreatePermissionRequest`](../api/python/google/ai/generativelanguage/CreatePermissionRequest) API.\n",
873+
"You can choose to share the corpus with others using the [`CreatePermissionRequest`](https://ai.google.dev/api/python/google/ai/generativelanguage/CreatePermissionRequest) API.\n",
874874
"\n",
875875
"Constraints:\n",
876876
"\n",
@@ -912,7 +912,7 @@
912912
"source": [
913913
"## Delete the corpus\n",
914914
"\n",
915-
"Use [`DeleteCorpusRequest`](../api/python/google/ai/generativelanguage/DeleteCorpusRequest) to delete a user corpus and all associated `Document`s & `Chunk`s.\n",
915+
"Use [`DeleteCorpusRequest`](https://ai.google.dev/api/python/google/ai/generativelanguage/DeleteCorpusRequest) to delete a user corpus and all associated `Document`s & `Chunk`s.\n",
916916
"\n",
917917
"Note that non-empty corpora will throw an error without specifying an `force=True` flag. If you set `force=True`, any `Chunk`s and objects related to this `Document` will also be deleted.\n",
918918
"\n",

0 commit comments

Comments
 (0)