test_chroma_with_include_parameter() — langchain Function Reference
Architecture documentation for the test_chroma_with_include_parameter() function in test_vectorstores.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD aed457aa_0651_66cc_2512_14aa98c3c86d["test_chroma_with_include_parameter()"] 289e5a4f_8e2e_ddb6_af2e_804f91dabdb8["test_vectorstores.py"] aed457aa_0651_66cc_2512_14aa98c3c86d -->|defined in| 289e5a4f_8e2e_ddb6_af2e_804f91dabdb8 style aed457aa_0651_66cc_2512_14aa98c3c86d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/chroma/tests/integration_tests/test_vectorstores.py lines 406–418
def test_chroma_with_include_parameter() -> None:
"""Test end to end construction and include parameter."""
texts = ["foo", "bar", "baz"]
docsearch = Chroma.from_texts(
collection_name="test_collection",
texts=texts,
embedding=FakeEmbeddings(),
)
output1 = docsearch.get(include=["embeddings"])
output2 = docsearch.get()
docsearch.delete_collection()
assert output1["embeddings"] is not None
assert output2["embeddings"] is None
Domain
Subdomains
Source
Frequently Asked Questions
What does test_chroma_with_include_parameter() do?
test_chroma_with_include_parameter() is a function in the langchain codebase, defined in libs/partners/chroma/tests/integration_tests/test_vectorstores.py.
Where is test_chroma_with_include_parameter() defined?
test_chroma_with_include_parameter() is defined in libs/partners/chroma/tests/integration_tests/test_vectorstores.py at line 406.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free