From a27ba5f862de51e6614b753f067f49e50758471a Mon Sep 17 00:00:00 2001 From: Ophiuchus Date: Sun, 10 Nov 2024 23:16:55 -0600 Subject: [PATCH] comment out debugging logging on embeddings --- packages/core/src/embedding.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/embedding.ts b/packages/core/src/embedding.ts index 9b994a603b..123019466b 100644 --- a/packages/core/src/embedding.ts +++ b/packages/core/src/embedding.ts @@ -39,7 +39,7 @@ async function getRemoteEmbedding(input: string, options: EmbeddingOptions): Pro // Construct full URL const fullUrl = `${baseEndpoint}/embeddings`; - console.log("Calling embedding API at:", fullUrl); // Debug log + //console.log("Calling embedding API at:", fullUrl); // Debug log const requestOptions = { method: "POST", @@ -129,7 +129,7 @@ async function getLocalEmbedding(input: string): Promise { const trimmedInput = trimTokens(input, 8000, "gpt-4o-mini"); const embedding = await embeddingModel.queryEmbed(trimmedInput); - console.log("Embedding dimensions: ", embedding.length); + //console.log("Embedding dimensions: ", embedding.length); return embedding; }