From 74c06a5c6a4ed2fd3f6274df2b8b27932db3d36b Mon Sep 17 00:00:00 2001 From: Jacky Chen Date: Sat, 18 Jan 2025 00:02:56 -0500 Subject: [PATCH] fix(community): Updated Embeddings URL (#7545) --- libs/langchain-community/src/embeddings/togetherai.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langchain-community/src/embeddings/togetherai.ts b/libs/langchain-community/src/embeddings/togetherai.ts index 27b3546873cb..bf06495368c6 100644 --- a/libs/langchain-community/src/embeddings/togetherai.ts +++ b/libs/langchain-community/src/embeddings/togetherai.ts @@ -87,7 +87,7 @@ export class TogetherAIEmbeddings timeout?: number; - private embeddingsAPIUrl = "https://api.together.xyz/api/v1/embeddings"; + private embeddingsAPIUrl = "https://api.together.xyz/v1/embeddings"; constructor(fields?: Partial) { super(fields ?? {});