From 4c31d43066ab5a17d44f4bd27d9aa9472592fed6 Mon Sep 17 00:00:00 2001 From: JosBecker Date: Wed, 1 May 2024 19:09:24 -0700 Subject: [PATCH] Update semantic_retrieval.ipynb (#397) Update links --- site/en/gemini-api/docs/semantic_retrieval.ipynb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/site/en/gemini-api/docs/semantic_retrieval.ipynb b/site/en/gemini-api/docs/semantic_retrieval.ipynb index 04d3befa9..74a1e2035 100644 --- a/site/en/gemini-api/docs/semantic_retrieval.ipynb +++ b/site/en/gemini-api/docs/semantic_retrieval.ipynb @@ -72,7 +72,7 @@ "\n", "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", "\n", - "Note: This API is currently in [beta](/docs/api_versions) and is [only available in certain regions](../available_regions).\n" + "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" ] }, { @@ -719,7 +719,7 @@ "source": [ "## Attributed Question-Answering\n", "\n", - "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", + "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", "\n", "Attributed Question-Answering (AQA) refers to answering questions grounded to a given context and providing attributions(s), while minimizing hallucination.\n", "\n", @@ -769,7 +769,7 @@ "source": [ "### AQA Helpful Tips\n", "\n", - "For full API specifications, refer to the [`GenerateAnswerRequest` API Reference](../api/python/google/ai/generativelanguage/GenerateAnswerRequest).\n", + "For full API specifications, refer to the [`GenerateAnswerRequest` API Reference](https://ai.google.dev/api/python/google/ai/generativelanguage/GenerateAnswerRequest).\n", "\n", "* *Passage length*: Up to 300 tokens per passage are recommended.\n", "* *Passage sorting*:\n", @@ -870,7 +870,7 @@ "source": [ "## Share the corpus\n", "\n", - "You can choose to share the corpus with others using the [`CreatePermissionRequest`](../api/python/google/ai/generativelanguage/CreatePermissionRequest) API.\n", + "You can choose to share the corpus with others using the [`CreatePermissionRequest`](https://ai.google.dev/api/python/google/ai/generativelanguage/CreatePermissionRequest) API.\n", "\n", "Constraints:\n", "\n", @@ -912,7 +912,7 @@ "source": [ "## Delete the corpus\n", "\n", - "Use [`DeleteCorpusRequest`](../api/python/google/ai/generativelanguage/DeleteCorpusRequest) to delete a user corpus and all associated `Document`s & `Chunk`s.\n", + "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", "\n", "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", "\n",