nodes = index.as_retriever().retrieve("test") print(nodes[0].metadata)
2024-02-25 20:01:28 metadata = {'user_id': '461ec0a3-833b-43ee-84a9-c1850d434e9d', 'bot_id': 44, 'filename': 'amara mou', 'doc_id': '42b82031-d1f9-42dd-9cb9-8c1f82e2c124'}
2024-02-25 20:01:28 2024-02-25 20:01:28,179:INFO - HTTP Request: POST https://api.openai.com/v1/embeddings "HTTP/1.1 200 OK"
2024-02-25 20:01:28 2024-02-25 20:01:28,455:INFO - HTTP Request: POST https://api.openai.com/v1/embeddings "HTTP/1.1 200 OK"
2024-02-25 20:01:28 2024-02-25 20:01:28,513:ERROR - /home/helloservicedev/.virtualenvs/helloenv/lib/python3.10/site-packages/vecs/collection.py:502: UserWarning: Query does not have a covering index for cosine_distance. See Collection.create_index
2024-02-25 20:01:28 2024-02-25 20:01:28,513:ERROR - warnings.warn(
2024-02-25 20:01:28 {'user_id': '461ec0a3-833b-43ee-84a9-c1850d434e9d', 'bot_id': '45', 'filename': '1708297428003000.docx', 'doc_id': '4e17d4f1-c69b-4c72-b77a-9123e594d25c'}