nomic 3.0.43__tar.gz → 3.0.45__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.0.43
3
+ Version: 3.0.45
4
4
  Summary: The official Nomic python client.
5
5
  Home-page: https://github.com/nomic-ai/nomic
6
6
  Author: nomic.ai
@@ -126,6 +126,11 @@ class AtlasClass(object):
126
126
  """
127
127
 
128
128
  user = self._get_current_user()
129
+
130
+ for organization in user["organizations"]:
131
+ if organization.get("plan_type") and organization.get("plan_type") == "enterprise":
132
+ return organization
133
+
129
134
  if user["default_organization"]:
130
135
  for organization in user["organizations"]:
131
136
  if organization["organization_id"] == user["default_organization"]:
@@ -136,7 +136,7 @@ def text(
136
136
  def text(
137
137
  texts: list[str],
138
138
  *,
139
- model: str = "nomic-embed-text-v1",
139
+ model: str = "nomic-embed-text-v1.5",
140
140
  task_type: str = "search_document",
141
141
  dimensionality: int | None = None,
142
142
  long_text_mode: str = "truncate",
@@ -311,7 +311,7 @@ def free_embedding_model() -> None:
311
311
  def image_api_request(
312
312
  images: Optional[List[Tuple[str, bytes]]] = None,
313
313
  urls: Optional[List[str]] = None,
314
- model: str = "nomic-embed-vision-v1",
314
+ model: str = "nomic-embed-vision-v1.5",
315
315
  ):
316
316
  global atlas_class
317
317
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nomic
3
- Version: 3.0.43
3
+ Version: 3.0.45
4
4
  Summary: The official Nomic python client.
5
5
  Home-page: https://github.com/nomic-ai/nomic
6
6
  Author: nomic.ai
@@ -8,7 +8,7 @@ description = "The official Nomic python client."
8
8
 
9
9
  setup(
10
10
  name="nomic",
11
- version="3.0.43",
11
+ version="3.0.45",
12
12
  url="https://github.com/nomic-ai/nomic",
13
13
  description=description,
14
14
  long_description=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