Skip to content

Commit

Permalink
fix jina article (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanSara authored Jan 22, 2024
1 parent d92d992 commit 913156d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/blog/using-jina-embeddings-haystack/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ writer = DocumentWriter(document_store=document_store, policy=DuplicatePolicy.SK

retriever = ChromaEmbeddingRetriever(document_store=document_store)

document_embedder = JinaDocumentEmbedder(api_key=jina_api_key, model_name="jina-embeddings-v2-base-en")
document_embedder = JinaDocumentEmbedder(api_key=jina_api_key, model="jina-embeddings-v2-base-en")

indexing_pipeline = Pipeline()
indexing_pipeline.add_component(instance=fetcher, name="fetcher")
Expand Down Expand Up @@ -146,7 +146,7 @@ Documents:
question: {{question}}
"""

text_embedder = JinaTextEmbedder(api_key=jina_api_key, model_name="jina-embeddings-v2-base-en")
text_embedder = JinaTextEmbedder(api_key=jina_api_key, model="jina-embeddings-v2-base-en")
generator = HuggingFaceTGIGenerator("mistralai/Mixtral-8x7B-Instruct-v0.1", token=hf_token)
generator.warm_up()

Expand Down

1 comment on commit 913156d

@vercel
Copy link

@vercel vercel bot commented on 913156d Jan 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.