From 039a71c6058e3ee2bc419c8af124de73acd882ee Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Wed, 7 Feb 2024 19:57:43 +0100 Subject: [PATCH] Fixing typos, vertextai to vertex ai --- docs/howtos/customisations/gcp-vertexai.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/howtos/customisations/gcp-vertexai.ipynb b/docs/howtos/customisations/gcp-vertexai.ipynb index 55fab1c5a..9943f199e 100644 --- a/docs/howtos/customisations/gcp-vertexai.ipynb +++ b/docs/howtos/customisations/gcp-vertexai.ipynb @@ -5,7 +5,7 @@ "id": "a6199b61-8084-4a2f-8488-2ddc4c260776", "metadata": {}, "source": [ - "# Using Vertext AI\n", + "# Using Vertex AI\n", "\n", "Vertex AI offers everything you need to build and use generative AI—from AI solutions, to Search and Conversation, to 100+ foundation models, to a unified AI platform. You get access to models like PaLM 2 which can be used to score your RAG responses and pipelines with Ragas instead of the default OpenAI.\n", "\n", @@ -111,7 +111,7 @@ "]\n", "```\n", "\n", - "By default Ragas uses `ChatOpenAI` for evaluations, lets swap that out with `ChatVertextAI`. We also need to change the embeddings used for evaluations for `OpenAIEmbeddings` to `VertextAIEmbeddings` for metrices that need it, which in our case is `answer_relevancy`." + "By default Ragas uses `ChatOpenAI` for evaluations, lets swap that out with `ChatVertexAI`. We also need to change the embeddings used for evaluations for `OpenAIEmbeddings` to `VertexAIEmbeddings` for metrices that need it, which in our case is `answer_relevancy`." ] }, { @@ -134,7 +134,7 @@ "creds, _ = google.auth.default(quota_project_id=\"tmp-project-404003\")\n", "# create Langchain LLM and Embeddings\n", "ragas_vertexai_llm = ChatVertexAI(credentials=creds)\n", - "vertextai_embeddings = VertexAIEmbeddings(credentials=creds)" + "vertexai_embeddings = VertexAIEmbeddings(credentials=creds)" ] }, { @@ -159,7 +159,7 @@ " # check if this metric needs embeddings\n", " if hasattr(m, \"embeddings\"):\n", " # if so change with VertexAI Embeddings\n", - " m.__setattr__(\"embeddings\", vertextai_embeddings)" + " m.__setattr__(\"embeddings\", vertexai_embeddings)" ] }, {