Optional
user: AtlasViewer | AtlasUserThe user object to query with.
Options for initializing the projection.
Protected
_attrOptional
embedding_Embedding Field
The data field from which the 2d embeddings were derived
Optional
embedding_Embedding Model
The embedding model used to create the embeddings, if they were generated inside the Atlas system
Optional
resources?: { Resources
All resources used to build the associated map
[]
Topic Model Metadatas
list of topic model metadata
Topic Models
List of topic model geojsons
Optional
_indexOptional
_projectA projection is a map in Atlas; it represents a snapshot 2d view of a dataset at a point in time. Every projection belongs to a Dataset.
Optional
_project_Protected
attributeThe UUID of the projection to retrieve.
Protected
Optional
project_returns the object's information; this may be undefined
the URL for the quadtree root for this projection. 'public' may be be added in fetching.
Protected
endpointFetches basic information about the object.
By default, this caches the call; if you want to
bust the cache, pass true
as the first argument.
This immediately.
Whether to refetch the relevant information
A promise that resolves to the organization info.
an object with keys k (number of numbers) and queries (list of vectors, where each one is the length of the embedding space).
A list of entries in sorted order, where each entry is a list of neighbors including distances in the _distance
field.
Loads the information associated with the class, removing any existing caches.
a LoadedObject instance of the class that is guaranteed to
have its attr
slot populated with appropriate information.
const loadedProject = await (new AtlasProject(projectId)).withLoadedAttributes()
// OR, in cases where we want to do stuff immediately with the project and ensure
// that later calls there don't double-fetch information.
const project = new AtlasProject(projectId)
// do stuff right away.
const projection = new AtlasProjection(projectionId, {project: project})
const loadedProjection = await projection.withLoadedAttributes()
// do stuff with loadedProjection
The UUID of the projection to retrieve.