From 28ff847930f7580767011bb42e539f8d14ecd2c4 Mon Sep 17 00:00:00 2001 From: Trayan Azarov Date: Fri, 21 Jun 2024 17:07:41 +0200 Subject: [PATCH] docs: Fixed docs linting --- docs/docs.trychroma.com/pages/integrations/voyageai.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/docs.trychroma.com/pages/integrations/voyageai.md b/docs/docs.trychroma.com/pages/integrations/voyageai.md index 13bcf7f62d5..671161b0c10 100644 --- a/docs/docs.trychroma.com/pages/integrations/voyageai.md +++ b/docs/docs.trychroma.com/pages/integrations/voyageai.md @@ -23,7 +23,7 @@ const {VoyageAIEmbeddingFunction, InputType} = require('chromadb'); // const {VoyageAIEmbeddingFunction, InputType} from "chromadb"; // ESM import const embedder = new VoyageAIEmbeddingFunction("apiKey", "voyage-law-2", InputType.DOCUMENT) -// use directly +// use directly const embeddings = embedder.generate(["document1","document2"]) // pass documents to query for .add and .query @@ -39,4 +39,3 @@ const collectionGet = await client.getCollection({name:"name", embeddingFunction {% /tabs %} You should pass in the `model_name` argument, which lets you choose which VoyageAI embeddings model to use. You can see the available models [here](https://docs.voyageai.com/docs/embeddings). -