Skip to content

Commit

Permalink
Update Embeddings_REST.ipynb (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
pitmonticone authored May 7, 2024
1 parent 3a75ce4 commit ea16494
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quickstarts/rest/Embeddings_REST.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit ea16494

Please sign in to comment.