From dcf437f22a534904ac969f3646b4129bbb40f0bb Mon Sep 17 00:00:00 2001 From: ZanSara Date: Wed, 17 Jan 2024 16:16:24 +0100 Subject: [PATCH] Update jina.md --- integrations/jina.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/jina.md b/integrations/jina.md index 3e151149..48edb68a 100644 --- a/integrations/jina.md +++ b/integrations/jina.md @@ -66,7 +66,7 @@ documents = [Document(content="I enjoy programming in Python"), Document(content="Thomas is injured and can't play sports")] indexing_pipeline = Pipeline() -indexing_pipeline.add_component("embedder", JinaDocumentEmbedder(api_key="JINA_API_KEY", model_name="jina-embeddings-v2-base-en")) +indexing_pipeline.add_component("embedder", JinaDocumentEmbedder(api_key="JINA_API_KEY", model="jina-embeddings-v2-base-en")) indexing_pipeline.add_component("writer", DocumentWriter(document_store=document_store)) indexing_pipeline.connect("embedder", "writer")