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.
- {nomic-3.0.43 → nomic-3.0.45}/PKG-INFO +1 -1
- {nomic-3.0.43 → nomic-3.0.45}/nomic/dataset.py +5 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic/embed.py +2 -2
- {nomic-3.0.43 → nomic-3.0.45}/nomic.egg-info/PKG-INFO +1 -1
- {nomic-3.0.43 → nomic-3.0.45}/setup.py +1 -1
- {nomic-3.0.43 → nomic-3.0.45}/README.md +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic/__init__.py +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic/atlas.py +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic/aws/__init__.py +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic/aws/sagemaker.py +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic/cli.py +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic/data_inference.py +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic/data_operations.py +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic/pl_callbacks/__init__.py +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic/pl_callbacks/pl_callback.py +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic/settings.py +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic/utils.py +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic.egg-info/SOURCES.txt +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic.egg-info/dependency_links.txt +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic.egg-info/entry_points.txt +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic.egg-info/requires.txt +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/nomic.egg-info/top_level.txt +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/pyproject.toml +0 -0
- {nomic-3.0.43 → nomic-3.0.45}/setup.cfg +0 -0
|
@@ -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
|
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|