Skip to content

Commit

Permalink
Fix retriever fixture names
Browse files Browse the repository at this point in the history
  • Loading branch information
NickyHavoc committed Oct 30, 2023
1 parent d00a77c commit 905492a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,24 @@ def prompt_image() -> Image:


@fixture
def asymmetric_qdrant_in_memory_retriever(
client: Client, qdrant_in_memory_retriever_documents: Sequence[Document]
def asymmetric_in_memory_retriever(
client: Client, in_memory_retriever_documents: Sequence[Document]
) -> QdrantInMemoryRetriever:
return QdrantInMemoryRetriever(
client,
qdrant_in_memory_retriever_documents,
in_memory_retriever_documents,
k=2,
retriever_type=RetrieverType.ASYMMETRIC,
)


@fixture
def symmetric_qdrant_in_memory_retriever(
client: Client, qdrant_in_memory_retriever_documents: Sequence[Document]
def symmetric_in_memory_retriever(
client: Client, in_memory_retriever_documents: Sequence[Document]
) -> QdrantInMemoryRetriever:
return QdrantInMemoryRetriever(
client,
qdrant_in_memory_retriever_documents,
in_memory_retriever_documents,
k=2,
retriever_type=RetrieverType.SYMMETRIC,
)
Expand Down

0 comments on commit 905492a

Please sign in to comment.