From 409ed2a88621db18ee544e782d8f398f7cc836cb Mon Sep 17 00:00:00 2001 From: Manuel Escobar Ferrer Date: Thu, 21 Nov 2024 16:56:48 -0500 Subject: [PATCH] Updated model to model_name --- docs/src/theme/EmbeddingTabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/theme/EmbeddingTabs.js b/docs/src/theme/EmbeddingTabs.js index 7e1012baec109..f29da74f135fb 100644 --- a/docs/src/theme/EmbeddingTabs.js +++ b/docs/src/theme/EmbeddingTabs.js @@ -36,7 +36,7 @@ export default function EmbeddingTabs(props) { `\n azure_endpoint=os.environ["AZURE_OPENAI_ENDPOINT"],\n azure_deployment=os.environ["AZURE_OPENAI_DEPLOYMENT_NAME"],\n openai_api_version=os.environ["AZURE_OPENAI_API_VERSION"],\n`; const googleParamsOrDefault = googleParams ?? `model="text-embedding-004"`; const awsParamsOrDefault = awsParams ?? `model_id="amazon.titan-embed-text-v2:0"`; - const huggingFaceParamsOrDefault = huggingFaceParams ?? `model="sentence-transformers/all-mpnet-base-v2"`; + const huggingFaceParamsOrDefault = huggingFaceParams ?? `model_name="sentence-transformers/all-mpnet-base-v2"`; const ollamaParamsOrDefault = ollamaParams ?? `model="llama3"`; const cohereParamsOrDefault = cohereParams ?? `model="embed-english-v3.0"`; const mistralParamsOrDefault = mistralParams ?? `model="mistral-embed"`;