mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix comment
This commit is contained in:
@@ -23,7 +23,7 @@ const SOURCES = {
|
|||||||
* Gets the vector for the given text batch from an OpenAI compatible endpoint.
|
* 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[]} texts - The array of texts to get the vector for
|
||||||
* @param {string} source - The source of the vector
|
* @param {string} source - The source of the vector
|
||||||
* @param model
|
* @param {string} model - The model to use for the embedding
|
||||||
* @returns {Promise<number[][]>} - The array of vectors for the texts
|
* @returns {Promise<number[][]>} - The array of vectors for the texts
|
||||||
*/
|
*/
|
||||||
async function getOpenAIBatchVector(texts, source, model = '') {
|
async function getOpenAIBatchVector(texts, source, model = '') {
|
||||||
|
Reference in New Issue
Block a user