Company: Coderbyte
Difficulty: medium
```html Python ChromaDB Document Retrieval Description Your task is to build a document retrieval system using ChromaDB and Haystack. The system should: Store a predefined set of documents as embeddings in ChromaDB. Retrieve the single most relevant document for a given query. Requirements The requirements for your solution are: Use Haystack for embedding generation and retrieval. Use ChromaDB as the vector database. Use sentence-transformers/all-MiniLM-L6-v2 for embeddings. Convert embeddings to six decimal places before storage. Ensure retrieved documents are ranked by cosine similarity (highest first). The solution should print only one document. Code Snippet You are provided with the following starter code. Your solution should be placed where indicated. import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' from haystack_integrations.document_stores.chroma import ChromaDocumentStore from haystack_integrations.components.retrievers.chroma import ChromaEmbeddingRetriever from haystack i