The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/llama_index/token_counter/token_counter.py", line 86, in wrapped_llm_predict
f_return_val = f(_self, *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/llama_index/indices/base.py", line 304, in insert
self._insert(processed_doc, **insert_kwargs)
File "/usr/local/lib/python3.9/dist-packages/llama_index/indices/vector_store/base.py", line 211, in _insert
self._add_document_to_index(self._index_struct, document)
File "/usr/local/lib/python3.9/dist-packages/llama_index/indices/vector_store/base.py", line 182, in _add_document_to_index
embedding_results = self._get_node_embedding_results(
File "/usr/local/lib/python3.9/dist-packages/llama_index/indices/vector_store/base.py", line 102, in _get_node_embedding_results
result_ids, result_embeddings = self._embed_model.get_queued_text_embeddings()
File "/usr/local/lib/python3.9/dist-packages/llama_index/embeddings/base.py", line 151, in get_queued_text_embeddings
embeddings = self._get_text_embeddings(cur_batch_texts)
File "/usr/local/lib/python3.9/dist-packages/llama_index/embeddings/openai.py", line 260, in _get_text_embeddings
embeddings = get_embeddings(texts, engine=engine)
File "/usr/local/lib/python3.9/dist-packages/tenacity/__init__.py", line 289, in wrapped_f
return self(f, *args, **kw)
File "/usr/local/lib/python3.9/dist-packages/tenacity/__init__.py", line 379, in __call__
do = self.iter(retry_state=retry_state)
File "/usr/local/lib/python3.9/dist-packages/tenacity/__init__.py", line 326, in iter
raise retry_exc from fut.exception()
tenacity.RetryError: RetryError[<Future at 0x7f65effc1160 state=finished raised AssertionError>]