import chromadb client = chromadb.PersistentClient(path="/path/to/your/chroma_data") collection = client.get_collection(name="my_documents") results = collection.query(query_texts=["fruit"], n_results=1) print(results)