nomic 3.4.0__tar.gz → 3.4.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of nomic might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nomic
3
- Version: 3.4.0
3
+ Version: 3.4.1
4
4
  Summary: The official Nomic python client.
5
5
  Home-page: https://github.com/nomic-ai/nomic
6
6
  Author: nomic.ai
@@ -1367,26 +1367,15 @@ class AtlasDataset(AtlasClass):
1367
1367
  """
1368
1368
  Deletes the specified datapoints from the dataset.
1369
1369
 
1370
+ .. deprecated:: 3.4.0
1370
1371
  Args:
1371
1372
  ids: A list of data ids to delete
1372
1373
 
1373
1374
  Returns:
1374
1375
  True if data deleted successfully.
1375
-
1376
1376
  """
1377
- if not isinstance(ids, list):
1378
- raise ValueError("You must specify a list of ids when deleting datums.")
1379
-
1380
- response = requests.post(
1381
- self.atlas_api_path + "/v1/project/data/delete",
1382
- headers=self.header,
1383
- json={"project_id": self.id, "datum_ids": ids},
1384
- )
1385
1377
 
1386
- if response.status_code == 200:
1387
- return True
1388
- else:
1389
- raise Exception(response.text)
1378
+ raise DeprecationWarning(f"The function AtlasDataset.delete_data is deprecated.")
1390
1379
 
1391
1380
  def add_data(
1392
1381
  self,
@@ -1728,11 +1717,12 @@ class AtlasDataset(AtlasClass):
1728
1717
  """
1729
1718
  Utility method to update a project's maps by adding the given data.
1730
1719
 
1731
- Args:
1732
- data: An [N,] element list of dictionaries containing metadata for each embedding.
1733
- embeddings: An [N, d] matrix of embeddings for updating embedding dataset. Leave as None to update text dataset.
1734
- shard_size: Data is uploaded in parallel by many threads. Adjust the number of datums to upload by each worker.
1735
- num_workers: The number of workers to use when sending data.
1720
+ .. deprecated:: 3.3.1
1721
+ Args:
1722
+ data: An [N,] element list of dictionaries containing metadata for each embedding.
1723
+ embeddings: An [N, d] matrix of embeddings for updating embedding dataset. Leave as None to update text dataset.
1724
+ shard_size: Data is uploaded in parallel by many threads. Adjust the number of datums to upload by each worker.
1725
+ num_workers: The number of workers to use when sending data.
1736
1726
 
1737
1727
  """
1738
1728
 
@@ -1745,8 +1735,9 @@ class AtlasDataset(AtlasClass):
1745
1735
  Rebuilds all maps in a dataset with the latest state dataset data state. Maps will not be rebuilt to
1746
1736
  reflect the additions, deletions or updates you have made to your data until this method is called.
1747
1737
 
1748
- Args:
1749
- rebuild_topic_models: (Default False) - If true, will create new topic models when updating these indices.
1738
+ .. deprecated:: 3.3.1
1739
+ Args:
1740
+ rebuild_topic_models: (Default False) - If true, will create new topic models when updating these indices.
1750
1741
  """
1751
1742
 
1752
1743
  raise DeprecationWarning(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nomic
3
- Version: 3.4.0
3
+ Version: 3.4.1
4
4
  Summary: The official Nomic python client.
5
5
  Home-page: https://github.com/nomic-ai/nomic
6
6
  Author: nomic.ai
@@ -23,7 +23,7 @@ with open("README.md") as f:
23
23
 
24
24
  setup(
25
25
  name="nomic",
26
- version="3.4.0",
26
+ version="3.4.1",
27
27
  url="https://github.com/nomic-ai/nomic",
28
28
  description=description,
29
29
  long_description=long_description,
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes