Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TuanaCelik authored Feb 1, 2024
1 parent 814cd41 commit de3fd50
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions content/blog/astradb-haystack-integration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ from haystack import Document, Pipeline
from haystack.components.embedders import SentenceTransformersDocumentEmbedder, SentenceTransformersTextEmbedder
from haystack.components.writers import DocumentWriter
from haystack.document_stores.types import DuplicatePolicy

from astra_haystack.document_store import AstraDocumentStore
from haystack_integrations.document_stores.astra import AstraDocumentStore

logger = logging.getLogger(__name__)
logging.basicConfig(level=logging.INFO)
Expand Down Expand Up @@ -122,7 +121,7 @@ In Haystack, every `DocumentStore` is tightly coupled with the `Retriever` that
from haystack.components.builders.answer_builder import AnswerBuilder
from haystack.components.builders.prompt_builder import PromptBuilder
from haystack.components.generators import OpenAIGenerator
from astra_haystack.retriever import AstraRetriever
from haystack_integrations.components.retrievers.astra import AstraRetriever

prompt_template = """
Given these documents, answer the question.
Expand Down

0 comments on commit de3fd50

Please sign in to comment.