From 59db5abaef8437807835560af2aaeb63c14d058d Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sat, 2 Mar 2024 23:18:34 +0200 Subject: [PATCH] Fix comment --- src/openai-vectors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openai-vectors.js b/src/openai-vectors.js index 6ac486415..60cf9a602 100644 --- a/src/openai-vectors.js +++ b/src/openai-vectors.js @@ -23,7 +23,7 @@ const SOURCES = { * Gets the vector for the given text batch from an OpenAI compatible endpoint. * @param {string[]} texts - The array of texts to get the vector for * @param {string} source - The source of the vector - * @param model + * @param {string} model - The model to use for the embedding * @returns {Promise} - The array of vectors for the texts */ async function getOpenAIBatchVector(texts, source, model = '') {