From 1bbe1f50fa36ca5d7c55af47b09e41c7983c8a95 Mon Sep 17 00:00:00 2001 From: Pietro Monticone <38562595+pitmonticone@users.noreply.github.com> Date: Fri, 3 May 2024 23:45:08 +0200 Subject: [PATCH] Update Embeddings_REST.ipynb --- quickstarts/rest/Embeddings_REST.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickstarts/rest/Embeddings_REST.ipynb b/quickstarts/rest/Embeddings_REST.ipynb index 3484eba14..9f1b116df 100644 --- a/quickstarts/rest/Embeddings_REST.ipynb +++ b/quickstarts/rest/Embeddings_REST.ipynb @@ -215,7 +215,7 @@ }, "source": [ "## Set the output dimensionality\n", - "If you're using `text-embeddings-004`, you can set the `output_dimensionality` paramater to create smaller embeddings.\n", + "If you're using `text-embeddings-004`, you can set the `output_dimensionality` parameter to create smaller embeddings.\n", "\n", "* `output_dimensionality` truncates the embedding (e.g., `[1, 3, 5]` becomes `[1,3]` when `output_dimensionality=2`).\n" ] @@ -277,7 +277,7 @@ "\n", "* `TASK_TYPE_UNSPECIFIED`: If you do not set the value, it will default to retrieval_query.\n", "* `RETRIEVAL_QUERY` : The given text is a query in a search/retrieval setting.\n", - "* `RETRIEVAL_DOCUMENT`: The given text is a document from athe corpus being searched.\n", + "* `RETRIEVAL_DOCUMENT`: The given text is a document from the corpus being searched.\n", "* `SEMANTIC_SIMILARITY`: The given text will be used for Semantic Textual Similarity (STS).\n", "* `CLASSIFICATION`: The given text will be classified.\n", "* `CLUSTERING`: The embeddings will be used for clustering.\n"