Skip to content

Commit

Permalink
Update jina.md (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanSara authored Jan 18, 2024
1 parent f9cdac3 commit 0d8bb9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/jina.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 0d8bb9a

Please sign in to comment.