test_qdrant_from_texts_stores_duplicated_texts() — langchain Function Reference
Architecture documentation for the test_qdrant_from_texts_stores_duplicated_texts() function in test_from_texts.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 21837028_0cf9_cb68_93de_674cb53ce78c["test_qdrant_from_texts_stores_duplicated_texts()"] 7804b385_c130_47e1_2a48_71d688ae0935["test_from_texts.py"] 21837028_0cf9_cb68_93de_674cb53ce78c -->|defined in| 7804b385_c130_47e1_2a48_71d688ae0935 style 21837028_0cf9_cb68_93de_674cb53ce78c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/qdrant/tests/integration_tests/async_api/test_from_texts.py lines 21–33
async def test_qdrant_from_texts_stores_duplicated_texts(qdrant_location: str) -> None:
"""Test end to end Qdrant.afrom_texts stores duplicated texts separately."""
collection_name = uuid.uuid4().hex
vec_store = await Qdrant.afrom_texts(
["abc", "abc"],
ConsistentFakeEmbeddings(),
collection_name=collection_name,
location=qdrant_location,
)
client = vec_store.client
assert client.count(collection_name).count == 2
Domain
Subdomains
Source
Frequently Asked Questions
What does test_qdrant_from_texts_stores_duplicated_texts() do?
test_qdrant_from_texts_stores_duplicated_texts() is a function in the langchain codebase, defined in libs/partners/qdrant/tests/integration_tests/async_api/test_from_texts.py.
Where is test_qdrant_from_texts_stores_duplicated_texts() defined?
test_qdrant_from_texts_stores_duplicated_texts() is defined in libs/partners/qdrant/tests/integration_tests/async_api/test_from_texts.py at line 21.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free