for doc in documents: index.insert(doc)
2024-01-11 22:49:04,713:INFO - Retrying request to /chat/completions in 0.974549 seconds 2024-01-11 22:49:04,714:INFO - Retrying request to /chat/completions in 0.958529 seconds 2024-01-11 22:50:05,681:INFO - Retrying request to /chat/completions in 1.951599 seconds 2024-01-11 22:50:05,695:INFO - Retrying request to /chat/completions in 1.896280 seconds
index.insert(doc)
is calling the completion endpoint.... it should only be calling embeddings. Unless you have some metadata extractor configured somewhere