nomic 3.0.42__tar.gz → 3.0.44__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.42 → nomic-3.0.44}/PKG-INFO +1 -1
- {nomic-3.0.42 → nomic-3.0.44}/nomic/dataset.py +5 -5
- {nomic-3.0.42 → nomic-3.0.44}/nomic/embed.py +2 -2
- {nomic-3.0.42 → nomic-3.0.44}/nomic.egg-info/PKG-INFO +1 -1
- {nomic-3.0.42 → nomic-3.0.44}/setup.py +1 -1
- {nomic-3.0.42 → nomic-3.0.44}/README.md +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic/__init__.py +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic/atlas.py +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic/aws/__init__.py +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic/aws/sagemaker.py +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic/cli.py +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic/data_inference.py +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic/data_operations.py +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic/pl_callbacks/__init__.py +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic/pl_callbacks/pl_callback.py +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic/settings.py +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic/utils.py +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic.egg-info/SOURCES.txt +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic.egg-info/dependency_links.txt +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic.egg-info/entry_points.txt +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic.egg-info/requires.txt +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/nomic.egg-info/top_level.txt +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/pyproject.toml +0 -0
- {nomic-3.0.42 → nomic-3.0.44}/setup.cfg +0 -0
|
@@ -1089,6 +1089,11 @@ class AtlasDataset(AtlasClass):
|
|
|
1089
1089
|
if modality is None:
|
|
1090
1090
|
modality = self.meta["modality"]
|
|
1091
1091
|
|
|
1092
|
+
if modality == "image":
|
|
1093
|
+
indexed_field = "_blob_hash"
|
|
1094
|
+
if indexed_field is not None:
|
|
1095
|
+
logger.warning("Ignoring indexed_field for image datasets. Only _blob_hash is supported.")
|
|
1096
|
+
|
|
1092
1097
|
colorable_fields = []
|
|
1093
1098
|
|
|
1094
1099
|
for field in self.dataset_fields:
|
|
@@ -1155,11 +1160,6 @@ class AtlasDataset(AtlasClass):
|
|
|
1155
1160
|
if indexed_field is None and modality == "text":
|
|
1156
1161
|
raise Exception("You did not specify a field to index. Specify an 'indexed_field'.")
|
|
1157
1162
|
|
|
1158
|
-
if modality == "image":
|
|
1159
|
-
indexed_field = "_blob_hash"
|
|
1160
|
-
if indexed_field is not None:
|
|
1161
|
-
logger.warning("Ignoring indexed_field for image datasets. Only _blob_hash is supported.")
|
|
1162
|
-
|
|
1163
1163
|
if indexed_field not in self.dataset_fields:
|
|
1164
1164
|
raise Exception(f"Indexing on {indexed_field} not allowed. Valid options are: {self.dataset_fields}")
|
|
1165
1165
|
|
|
@@ -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
|