nomic-ai/nomic

AttributeError: 'AtlasMapEmbeddings' object has no attribute 'atlas_api_path'

michael4tasman opened this issue · 1 comments

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[17], line 1
----> 1 for e in map.embeddings.get_embedding_iterator():
      2     print(e)
      3     break

File ~/Minds/projects/topical/nomic/lib/python3.10/site-packages/nomic/data_operations.py:509, in AtlasMapEmbeddings.get_embedding_iterator(self)
    506 limit = EMBEDDING_PAGINATION_LIMIT
    507 while True:
    508     response = requests.get(
--> 509         self.atlas_api_path
    510         + f"/v1/project/data/get/embedding/{self.project.id}/{self.projection.atlas_index_id}/{offset}/{limit}",
    511         headers=self.header,
    512     )
    513     if response.status_code != 200:
    514         raise Exception(response.text)

AttributeError: 'AtlasMapEmbeddings' object has no attribute 'atlas_api_path'

Thank you for reporting this. Missed it in the 2.0 release.