Skip to content

Commit

Permalink
Generative Language API -> Gemini API
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkDaoust committed Jun 7, 2024
1 parent bd3b159 commit 460cf81
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/en/gemini-api/docs/semantic_retrieval.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"\n",
"A common approach used to overcome these constraints is called Retrieval Augmented Generation (RAG), which augments the prompt sent to an LLM with relevant data retrieved from an external knowledge base through an Information Retrieval (IR) mechanism. The knowledge base can be your own corpora of documents, databases, or APIs.\n",
"\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.\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 Gemini API.\n",
"\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"
]
Expand All @@ -90,7 +90,7 @@
"id": "uQwqEaFLHGlL"
},
"source": [
"### Import the Generative Language API"
"### Import the Gemini API"
]
},
{
Expand Down Expand Up @@ -129,7 +129,7 @@
"Follow the steps below to setup OAuth using service accounts:\n",
"\n",
"\n",
"1. Enable the [Generative Language API](https://console.cloud.google.com/flows/enableapi?apiid=generativelanguage.googleapis.com){:.external}.\n",
"1. Enable the [Gemini API](https://console.cloud.google.com/flows/enableapi?apiid=generativelanguage.googleapis.com){:.external}.\n",
"\n",
"<img width=400 src=\"https://ai.google.dev/tutorials/images/semantic_retriever_enable_api.png\">\n",
"\n",
Expand Down Expand Up @@ -941,7 +941,7 @@
"source": [
"## Summary and further reading\n",
"\n",
"This guide introduced the Semantic Retriever and Attributed Question & Answering (AQA) APIs of the Generative Language API and showed how you can use it to perform semantic information retrieval on your custom text data. Note that this API also works with the [LlamaIndex](https://www.llamaindex.ai/){:.external} data framework. Refer to [the tutorial](https://github.com/run-llama/llama_index/blob/main/docs/docs/examples/managed/GoogleDemo.ipynb){:.external} to learn more.\n",
"This guide introduced the Semantic Retriever and Attributed Question & Answering (AQA) APIs of the Gemini API and showed how you can use it to perform semantic information retrieval on your custom text data. Note that this API also works with the [LlamaIndex](https://www.llamaindex.ai/){:.external} data framework. Refer to [the tutorial](https://github.com/run-llama/llama_index/blob/main/docs/docs/examples/managed/GoogleDemo.ipynb){:.external} to learn more.\n",
"\n",
"Also refer to the [API docs](https://ai.google.dev/api) to learn more about the other available functionalities.\n"
]
Expand Down

0 comments on commit 460cf81

Please sign in to comment.