From 4c8a3be31f272446db8088195cded16cbfb8f1de Mon Sep 17 00:00:00 2001 From: bmschmidt Date: Mon, 4 Nov 2024 15:05:50 +0000 Subject: [PATCH] deploy: 569673058ccbebdca0f0498c37f02d94bde3ec5b --- assets/search.js | 2 +- classes/APIError.html | 4 ++-- classes/AtlasIndex.html | 18 +++++++++--------- classes/AtlasOrganization.html | 10 +++++----- classes/AtlasProject.html | 28 ++++++++++++++++++---------- classes/AtlasProjection.html | 22 +++++++++++----------- classes/AtlasUser.html | 16 ++++++++-------- classes/AtlasViewer.html | 6 +++--- classes/Embedder.html | 10 +++++----- functions/embed.html | 2 +- 10 files changed, 63 insertions(+), 55 deletions(-) diff --git a/assets/search.js b/assets/search.js index 498a7a3..95546e0 100644 --- a/assets/search.js +++ b/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA7Vd247juBH9lUB59faKInXrt83uBhhgg2wwk31pDAy1xZ5Wxra8sjyXDObfA1KSVUWxJOqSp263ijpFnrqxRKu/eVX5+eo9Pn3zPhbn3HtkQbLzztlJeo/eT/Uxu/5elf+Rh9rbebfq6D16h2N2vcrrj/Diw2t9Onq77pr36Hnfd90dQxbc73goz9e6uh3qspq+4V+xNLj5zrtklTzXpo49KPMDcUfdF+e8OMirAyQQXYF3PbzKU+YCd5dcjlbkDkBaaBZG4IveEi7N5aI8v72dTllVOC2mfdRyLXJ5lLV0AL4LLsc6HGXmZKOtXI9UX/MfiusPl6r4lGklZuF+zop6/1JW+2N5+OiAb8ovn7E855eyODt4+l+BqGXeZS0Ptczn4rs76UIfRWi3S57VckZkGAxYjp3l+b6WX1xWGoiuw5OnZ5nnxfmDy1wHA5Zjv8j68LovchdYKLvCcyuZ1fLNOZdfXPwXSa+NTfs8q13iPpZejvopOxbaLE+yzhyxbWPmaRAFTPT5xznZLct1htceyyz/qarKz04uC6WXZ9hPhfwsXZLBXXAQFYvzq6wKt6iIsLO6rornWy1/r8pTcXXJfpYhdJT+y1oF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IYjiWYtb8Xx1guaBvU6vcDDcrPRBhYsod7yNP+m0bgF0Q7BLKoZr/V5A1/68A6AwLeGq5LP/VAdwBrhplk8NNWABSQ9CWMbwr2dvPabf78bsqjdzqGf+qpseB7kaNLerXoz7+ShQnwBiDVkXRqha1n9OwK066yotbHeX9zrsUF3ksztJ7fHr//fv/AMelYNclawAA"; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA7VdW7PbthH+Kx3mlTkRQPB23tIknfFMOk1rNy9nPBoeEceHtSQqFGXH9fi/dwCS4i6IJcFLn2wdLvgt8O0NS4j66lXl56v3+PTV+1icc++R8cT3ztlJeo/ej/Uxu/5Wlf+Rh9rzvVt19B69wzG7XuX1B3jx4bU+HT2/u+Y9et43v7tjyPj9jofyfK2r26Euq+kbfoelwc1975JV8lybOvagbMfFHXVfnPPiIK8OkEB0Bd718CpPmQvcXXI5WpE7AGmhWRh8J3pLuDSXi/L89nY6ZVXhtJj2Ucu1yOVR1tIB+C64HOtwlJmTjbZyPVJ9zb8vrt9fquJTppWYhfs5K+r9S1ntj+XhowO+Kb98xvKcX8ri7ODp3wFRy7zLWh5qmc/Fd3fShT6K0G6XPKvljMgwGLAcO8vzfS3/dFlpILoOT56eZZ4X5w8ucx0MWI79IuvD677IXWCh7ArPrWRWyzfnXP75r+yziwubAzbBnge8QVzc51ntknOw9HLUT9mx0C5xknXmiG0bM0+DiDPR5z7nRLsszxoR41hm+Y9VVboYFZZent0/FfKzdElEd8FBRC7Or7Iq3CIyws7quiqeb7X8rSpPxdUl81qG0BniL2sV3Cs4lzKrldtWFcMWHXWhVJmFPIiwP3br7hxn0YjttPlc1K+/llku81kqEcO20yu7FD9lx6MLQXfJVeiCpSLYCbyZ+jmrs6vsE/+pzG9HeW2ADQnrZmqwPfv3lYoO6sp2G7P73dx3ZVq1RcVmD7as0jSRDUc9l+cvp/JG2GUPDgVnzNNAuxS/lodM7YIm8ZDowpVtN12TkwNyC5HK6kN2Lv6r9Z2E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html b/classes/APIError.html index dc63b8a..ce93a02 100644 --- a/classes/APIError.html +++ b/classes/APIError.html @@ -1,4 +1,4 @@ -APIError | @nomic-ai/atlas

Hierarchy

  • Error
    • APIError

Constructors

constructor +APIError | @nomic-ai/atlas

Hierarchy

  • Error
    • APIError

Constructors

Properties

Methods

Constructors

  • Parameters

    • status: number
    • statusText: string
    • headers: any
    • Optional responseBody: string

    Returns APIError

Properties

headers: any
message: string
name: string
responseBody: null | string
stack?: string
status: number
statusText: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

+

Constructors

  • Parameters

    • status: number
    • statusText: string
    • headers: any
    • Optional responseBody: string

    Returns APIError

Properties

headers: any
message: string
name: string
responseBody: null | string
stack?: string
status: number
statusText: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

\ No newline at end of file diff --git a/classes/AtlasIndex.html b/classes/AtlasIndex.html index 8bfe1cb..1de28bf 100644 --- a/classes/AtlasIndex.html +++ b/classes/AtlasIndex.html @@ -1,4 +1,4 @@ -AtlasIndex | @nomic-ai/atlas

Hierarchy

  • BaseAtlasClass<{}>
    • AtlasIndex

Constructors

constructor +AtlasIndex | @nomic-ai/atlas

Hierarchy

  • BaseAtlasClass<{}>
    • AtlasIndex

Constructors

Properties

_attr: undefined | {}

Type declaration

    _projections?: AtlasProjection[] = undefined
    attributePromise: undefined | Promise<{}>
    id: string
    project: AtlasProject
    viewer: AtlasViewer

    Accessors

    • get attr(): undefined | AttributesType
    • returns the object's information; this may be undefined

      -

      Returns undefined | AttributesType

    Methods

    • Parameters

      • endpoint: string
      • method: "GET" | "POST"
      • payload: Payload = null
      • headers: null | Record<string, string> = null

      Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

    • Parameters

      • ids: string[] | number[] | bigint[]

        a list of ids (atom_ids, which are scoped to the index level) to fetch. If passing +

    Constructors

    Properties

    _attr: undefined | {}

    Type declaration

      _projections?: AtlasProjection[] = undefined
      attributePromise: undefined | Promise<{}>
      id: string
      project: AtlasProject
      viewer: AtlasViewer

      Accessors

      • get attr(): undefined | AttributesType
      • returns the object's information; this may be undefined

        +

        Returns undefined | AttributesType

      Methods

      • Parameters

        • endpoint: string
        • method: "GET" | "POST"
        • payload: Payload = null
        • headers: null | Record<string, string> = null

        Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

      • Parameters

        • ids: string[] | number[] | bigint[]

          a list of ids (atom_ids, which are scoped to the index level) to fetch. If passing datum_ids, use the project-level fetchIds method. This API is subject to change.

        Returns Promise<any>

        a list of Records containing metadata for each atom.

        -
      • Returns string

      • Fetches basic information about the object. +

      • Returns string

      • Fetches 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.

        Parameters

        • bustCache: boolean = false

          Whether to refetch the relevant information

        Returns Promise<{}>

        A promise that resolves to the organization info.

        -
      • Parameters

        • nn_options: NNOptions

        Returns Promise<Table<any>>

        A table containing the nearest neighbors for each atom.

        -
      • Parameters

        • param0: Omit<{
              atlas_index_id: string;
              k?: number;
              queries: string | number[][];
          }, "atlas_index_id">

          A keyed dictionary including k (the number of neighbors to return) +

      • Parameters

        • nn_options: NNOptions

        Returns Promise<Table<any>>

        A table containing the nearest neighbors for each atom.

        +
      • Parameters

        • param0: Omit<{
              atlas_index_id: string;
              k?: number;
              queries: string | number[][];
          }, "atlas_index_id">

          A keyed dictionary including k (the number of neighbors to return) and queries (a list of vectors to search for).

          -

        Returns Promise<{
            distances: number[][];
            neighbors: string[][];
        }>

      • Loads the information associated with the class, removing any +

      Returns Promise<{
          distances: number[][];
          neighbors: string[][];
      }>

      • Loads the information associated with the class, removing any existing caches.

        Returns Promise<LoadedObject<AtlasIndex, {}>>

        a LoadedObject instance of the class that is guaranteed to have its attr slot populated with appropriate information.

        Example

        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
        -
      \ No newline at end of file +
      \ No newline at end of file diff --git a/classes/AtlasOrganization.html b/classes/AtlasOrganization.html index b9141de..aec3ea7 100644 --- a/classes/AtlasOrganization.html +++ b/classes/AtlasOrganization.html @@ -1,4 +1,4 @@ -AtlasOrganization | @nomic-ai/atlas

      Class AtlasOrganization

      Hierarchy

      • BaseAtlasClass<OrganizationInfo>
        • AtlasOrganization

      Constructors

      constructor +AtlasOrganization | @nomic-ai/atlas

      Class AtlasOrganization

      Hierarchy

      • BaseAtlasClass<OrganizationInfo>
        • AtlasOrganization

      Constructors

      Properties

      _attr: undefined | OrganizationInfo
      attributePromise: undefined | Promise<OrganizationInfo>
      id: string
      viewer: AtlasViewer

      Accessors

      • get attr(): undefined | AttributesType
      • returns the object's information; this may be undefined

        -

        Returns undefined | AttributesType

      Methods

      • Parameters

        • endpoint: string
        • method: "GET" | "POST"
        • payload: Payload = null
        • headers: null | Record<string, string> = null

        Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

      • Fetches basic information about the object. +

      Constructors

      Properties

      _attr: undefined | OrganizationInfo
      attributePromise: undefined | Promise<OrganizationInfo>
      id: string
      viewer: AtlasViewer

      Accessors

      • get attr(): undefined | AttributesType
      • returns the object's information; this may be undefined

        +

        Returns undefined | AttributesType

      Methods

      • Parameters

        • endpoint: string
        • method: "GET" | "POST"
        • payload: Payload = null
        • headers: null | Record<string, string> = null

        Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

      • Fetches 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.

        Parameters

        • bustCache: boolean = false

          Whether to refetch the relevant information

        Returns Promise<OrganizationInfo>

        A promise that resolves to the organization info.

        -
      • Returns Promise<{
            created_timestamp: string;
            creator: string;
            creator_nickname: string;
            creator_picture: string;
            description: string;
            id: string;
            is_public: boolean;
            is_public_to_org: boolean;
            modality?: string;
            nickname: string;
            organization_name: string;
            organization_slug: string;
            owner: string;
            project_fields: string[];
            project_name: string;
            slug: string;
            thumbnail: string;
            total_datums_in_project: number;
            unique_id_field: string;
        }[]>

      • Loads the information associated with the class, removing any +

      • Returns Promise<{
            created_timestamp: string;
            creator: string;
            creator_nickname: string;
            creator_picture: string;
            description: string;
            id: string;
            is_public: boolean;
            is_public_to_org: boolean;
            modality?: string;
            nickname: string;
            organization_name: string;
            organization_slug: string;
            owner: string;
            project_fields: string[];
            project_name: string;
            slug: string;
            thumbnail: string;
            total_datums_in_project: number;
            unique_id_field: string;
        }[]>

      • Loads the information associated with the class, removing any existing caches.

        Returns Promise<LoadedObject<AtlasOrganization, OrganizationInfo>>

        a LoadedObject instance of the class that is guaranteed to have its attr slot populated with appropriate information.

        Example

        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
        -
      \ No newline at end of file +
      \ No newline at end of file diff --git a/classes/AtlasProject.html b/classes/AtlasProject.html index f19c4c0..79d4a0c 100644 --- a/classes/AtlasProject.html +++ b/classes/AtlasProject.html @@ -1,7 +1,7 @@ AtlasProject | @nomic-ai/atlas

      Class AtlasProject

      An AtlasDataset represents a single mutable dataset in Atlas. It provides an interfaces to upload, update, and delete data, as well as create and delete indices which handle specific views.

      -

      Hierarchy

      • BaseAtlasClass<components["schemas"]["Project"]>
        • AtlasProject

      Constructors

      Hierarchy

      • BaseAtlasClass<components["schemas"]["Project"]>
        • AtlasProject

      Constructors

      Properties

    • Optional viewer: AtlasViewer
    • Returns AtlasProject

      An AtlasDataset object.

      Properties

      _attr: undefined | {
          access_role: string;
          atlas_indices: {
              atoms: string[];
              colorable_fields: string[];
              created_timestamp: string;
              embedders: {
                  atlas_index_id: string;
                  hyperparameters: Record<string, unknown>;
                  id: string;
                  model_name: string;
                  ready: boolean;
              }[];
              id: string;
              index_name: string;
              indexed_field: string;
              nearest_neighbor_indices: {
                  atom_strategies: string[];
                  hyperparameters: Record<string, unknown>;
                  id: string;
                  index_name: string;
                  ready: boolean;
              }[];
              project_id: string;
              projections: {
                  atom_strategies: string[];
                  created_timestamp: string;
                  hyperparameters: Record<string, unknown>;
                  id: string;
                  og_image?: string;
                  projection_name: string;
                  ready: boolean;
                  thumbnail?: string;
                  updated_timestamp: string;
              }[];
              updated_timestamp: string;
          }[];
          created_timestamp: string;
          creator: string;
          creator_nickname: string;
          creator_picture: string;
          description: string;
          id: string;
          insert_update_delete_lock: boolean;
          is_public: boolean;
          is_public_to_org: boolean;
          modality?: string;
          og_image: string;
          organization_name: string;
          organization_slug: string;
          owner: string;
          permissions: {
              [key: string]: boolean;
          };
          project_fields: string[];
          project_name: string;
          schema?: string;
          slug: string;
          total_datums_in_project: number;
          unique_id_field: string;
      }

      Type declaration

      Properties

      _attr: undefined | {
          access_role: string;
          atlas_indices: {
              atoms: string[];
              colorable_fields: string[];
              created_timestamp: string;
              embedders: {
                  atlas_index_id: string;
                  hyperparameters: Record<string, unknown>;
                  id: string;
                  model_name: string;
                  ready: boolean;
              }[];
              id: string;
              index_name: string;
              indexed_field: string;
              nearest_neighbor_indices: {
                  atom_strategies: string[];
                  hyperparameters: Record<string, unknown>;
                  id: string;
                  index_name: string;
                  ready: boolean;
              }[];
              project_id: string;
              projections: {
                  atom_strategies: string[];
                  created_timestamp: string;
                  hyperparameters: Record<string, unknown>;
                  id: string;
                  og_image?: string;
                  projection_name: string;
                  ready: boolean;
                  thumbnail?: string;
                  updated_timestamp: string;
              }[];
              updated_timestamp: string;
          }[];
          created_timestamp: string;
          creator: string;
          creator_nickname: string;
          creator_picture: string;
          description: string;
          id: string;
          insert_update_delete_lock: boolean;
          is_public: boolean;
          is_public_to_org: boolean;
          modality?: string;
          og_image: string;
          organization_name: string;
          organization_slug: string;
          owner: string;
          permissions: {
              [key: string]: boolean;
          };
          project_fields: string[];
          project_name: string;
          schema?: string;
          slug: string;
          total_datums_in_project: number;
          unique_id_field: string;
      }

      Type declaration

      • access_role: string

        Access Role

        Description

        Access role of user for this project

      • atlas_indices: {
            atoms: string[];
            colorable_fields: string[];
            created_timestamp: string;
            embedders: {
                atlas_index_id: string;
                hyperparameters: Record<string, unknown>;
                id: string;
                model_name: string;
                ready: boolean;
            }[];
            id: string;
            index_name: string;
            indexed_field: string;
            nearest_neighbor_indices: {
                atom_strategies: string[];
                hyperparameters: Record<string, unknown>;
                id: string;
                index_name: string;
                ready: boolean;
            }[];
            project_id: string;
            projections: {
                atom_strategies: string[];
                created_timestamp: string;
                hyperparameters: Record<string, unknown>;
                id: string;
                og_image?: string;
                projection_name: string;
                ready: boolean;
                thumbnail?: string;
                updated_timestamp: string;
            }[];
            updated_timestamp: string;
        }[]

        Atlas Indices

        Description

        All Atlas Indices built overtop of this project.

        @@ -87,22 +88,29 @@

        Example

        example_projec
         

        Description

        Total datums in project.

      • unique_id_field: string

        Unique Id Field

        Description

        The field that contains a unique id for each document.

        -
      _indices: AtlasIndex[] = []
      _schema?: null | Schema<any>
      attributePromise: undefined | Promise<{
          access_role: string;
          atlas_indices: {
              atoms: string[];
              colorable_fields: string[];
              created_timestamp: string;
              embedders: {
                  atlas_index_id: string;
                  hyperparameters: Record<string, unknown>;
                  id: string;
                  model_name: string;
                  ready: boolean;
              }[];
              id: string;
              index_name: string;
              indexed_field: string;
              nearest_neighbor_indices: {
                  atom_strategies: string[];
                  hyperparameters: Record<string, unknown>;
                  id: string;
                  index_name: string;
                  ready: boolean;
              }[];
              project_id: string;
              projections: {
                  atom_strategies: string[];
                  created_timestamp: string;
                  hyperparameters: Record<string, unknown>;
                  id: string;
                  og_image?: string;
                  projection_name: string;
                  ready: boolean;
                  thumbnail?: string;
                  updated_timestamp: string;
              }[];
              updated_timestamp: string;
          }[];
          created_timestamp: string;
          creator: string;
          creator_nickname: string;
          creator_picture: string;
          description: string;
          id: string;
          insert_update_delete_lock: boolean;
          is_public: boolean;
          is_public_to_org: boolean;
          modality?: string;
          og_image: string;
          organization_name: string;
          organization_slug: string;
          owner: string;
          permissions: {
              [key: string]: boolean;
          };
          project_fields: string[];
          project_name: string;
          schema?: string;
          slug: string;
          total_datums_in_project: number;
          unique_id_field: string;
      }>
      id: string
      viewer: AtlasViewer

      Accessors

      • get attr(): undefined | AttributesType
      • returns the object's information; this may be undefined

        -

        Returns undefined | AttributesType

      • get schema(): undefined | null | Schema<any>
      • Returns undefined | null | Schema<any>

      Methods

      • Parameters

        • records: Record<string, string>[]

        Returns Promise<void>

      • Parameters

        • endpoint: string
        • method: "GET" | "POST"
        • payload: Payload = null
        • headers: null | Record<string, string> = null

        Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

      • Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

      • Parameters

        • ids: string[]

        Returns Promise<void>

      • Returns string

      • Fetches basic information about the object. +

      _indices: AtlasIndex[] = []
      _schema?: null | Schema<any>
      attributePromise: undefined | Promise<{
          access_role: string;
          atlas_indices: {
              atoms: string[];
              colorable_fields: string[];
              created_timestamp: string;
              embedders: {
                  atlas_index_id: string;
                  hyperparameters: Record<string, unknown>;
                  id: string;
                  model_name: string;
                  ready: boolean;
              }[];
              id: string;
              index_name: string;
              indexed_field: string;
              nearest_neighbor_indices: {
                  atom_strategies: string[];
                  hyperparameters: Record<string, unknown>;
                  id: string;
                  index_name: string;
                  ready: boolean;
              }[];
              project_id: string;
              projections: {
                  atom_strategies: string[];
                  created_timestamp: string;
                  hyperparameters: Record<string, unknown>;
                  id: string;
                  og_image?: string;
                  projection_name: string;
                  ready: boolean;
                  thumbnail?: string;
                  updated_timestamp: string;
              }[];
              updated_timestamp: string;
          }[];
          created_timestamp: string;
          creator: string;
          creator_nickname: string;
          creator_picture: string;
          description: string;
          id: string;
          insert_update_delete_lock: boolean;
          is_public: boolean;
          is_public_to_org: boolean;
          modality?: string;
          og_image: string;
          organization_name: string;
          organization_slug: string;
          owner: string;
          permissions: {
              [key: string]: boolean;
          };
          project_fields: string[];
          project_name: string;
          schema?: string;
          slug: string;
          total_datums_in_project: number;
          unique_id_field: string;
      }>
      id: string
      viewer: AtlasViewer

      Accessors

      • get attr(): undefined | AttributesType
      • returns the object's information; this may be undefined

        +

        Returns undefined | AttributesType

      • get schema(): undefined | null | Schema<any>
      • Returns undefined | null | Schema<any>

      Methods

      • Parameters

        • records: Record<string, string>[]

        Returns Promise<void>

      • Parameters

        • endpoint: string
        • method: "GET" | "POST"
        • payload: Payload = null
        • headers: null | Record<string, string> = null

        Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

      • Prefer createIndexRaw, which has better syncing of types

        +

        Parameters

        • options: Omit<IndexCreateOptions, "project_id">

        Returns Promise<AtlasIndex>

        Deprecated

      • This should be preferred over createIndex, as it uses the actual +up-to-date types. Note that it is definitely possible to pass a +malformed but type-compliant object. (E.g., specifying no embedding field +but also specifying a model.)

        +

        Parameters

        • options: Partial<{
              atomizer_strategies?: string[];
              colorable_fields?: string[];
              duplicate_detection_hyperparameters?: string;
              geometry_strategies?: string[][];
              index_name?: string;
              indexed_field: string;
              modality?: string;
              model: string;
              model_hyperparameters: string;
              nearest_neighbor_index: string;
              nearest_neighbor_index_hyperparameters: string;
              project_id: string;
              projection: string;
              projection_hyperparameters: string;
              reuse_atoms_and_embeddings_from?: string;
              topic_model_hyperparameters?: string;
          }> & {
              indexed_field: string;
          }

          See types for options.

          +

        Returns Promise<AtlasIndex>

        an AtlasIndex object based on the new arguments.

        +
      • Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

      • Parameters

        • ids: string[]

        Returns Promise<void>

      • Returns string

      • Fetches 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.

        Parameters

        • bustCache: boolean = false

          Whether to refetch the relevant information

        Returns Promise<{
            access_role: string;
            atlas_indices: {
                atoms: string[];
                colorable_fields: string[];
                created_timestamp: string;
                embedders: {
                    atlas_index_id: string;
                    hyperparameters: Record<string, unknown>;
                    id: string;
                    model_name: string;
                    ready: boolean;
                }[];
                id: string;
                index_name: string;
                indexed_field: string;
                nearest_neighbor_indices: {
                    atom_strategies: string[];
                    hyperparameters: Record<string, unknown>;
                    id: string;
                    index_name: string;
                    ready: boolean;
                }[];
                project_id: string;
                projections: {
                    atom_strategies: string[];
                    created_timestamp: string;
                    hyperparameters: Record<string, unknown>;
                    id: string;
                    og_image?: string;
                    projection_name: string;
                    ready: boolean;
                    thumbnail?: string;
                    updated_timestamp: string;
                }[];
                updated_timestamp: string;
            }[];
            created_timestamp: string;
            creator: string;
            creator_nickname: string;
            creator_picture: string;
            description: string;
            id: string;
            insert_update_delete_lock: boolean;
            is_public: boolean;
            is_public_to_org: boolean;
            modality?: string;
            og_image: string;
            organization_name: string;
            organization_slug: string;
            owner: string;
            permissions: {
                [key: string]: boolean;
            };
            project_fields: string[];
            project_name: string;
            schema?: string;
            slug: string;
            total_datums_in_project: number;
            unique_id_field: string;
        }>

        A promise that resolves to the organization info.

        -
      • Parameters

        • Optional ids: string[]

          A list of identifiers to fetch from the server.

          -

        Returns Promise<Record<string, Record<string, any>>>

      • Returns Promise<{
            atom_strategies: string[];
            created_timestamp: string;
            hyperparameters: Record<string, unknown>;
            id: string;
            og_image?: string;
            projection_name: string;
            ready: boolean;
            thumbnail?: string;
            updated_timestamp: string;
        }[]>

        A list of projection summaries, sorted so that the first is +

      • Parameters

        • Optional ids: string[]

          A list of identifiers to fetch from the server.

          +

        Returns Promise<Record<string, Record<string, any>>>

      • Returns Promise<{
            atom_strategies: string[];
            created_timestamp: string;
            hyperparameters: Record<string, unknown>;
            id: string;
            og_image?: string;
            projection_name: string;
            ready: boolean;
            thumbnail?: string;
            updated_timestamp: string;
        }[]>

        A list of projection summaries, sorted so that the first is the most useable (defined as ready and newest)

        -
      • Updates all indices associated with a project.

        +
      • Updates all indices associated with a project.

        Parameters

        • rebuild_topic_models: boolean = false

          If true, rebuilds topic models for all indices.

          -

        Returns Promise<void>

      • Parameters

        • table: Uint8Array | Table<any>

        Returns Promise<void>

      • Loads the information associated with the class, removing any +

      Returns Promise<void>

      • Parameters

        • table: Uint8Array | Table<any>

        Returns Promise<void>

      • Loads the information associated with the class, removing any existing caches.

        Returns Promise<LoadedObject<AtlasProject, {
            access_role: string;
            atlas_indices: {
                atoms: string[];
                colorable_fields: string[];
                created_timestamp: string;
                embedders: {
                    atlas_index_id: string;
                    hyperparameters: Record<string, unknown>;
                    id: string;
                    model_name: string;
                    ready: boolean;
                }[];
                id: string;
                index_name: string;
                indexed_field: string;
                nearest_neighbor_indices: {
                    atom_strategies: string[];
                    hyperparameters: Record<string, unknown>;
                    id: string;
                    index_name: string;
                    ready: boolean;
                }[];
                project_id: string;
                projections: {
                    atom_strategies: string[];
                    created_timestamp: string;
                    hyperparameters: Record<string, unknown>;
                    id: string;
                    og_image?: string;
                    projection_name: string;
                    ready: boolean;
                    thumbnail?: string;
                    updated_timestamp: string;
                }[];
                updated_timestamp: string;
            }[];
            created_timestamp: string;
            creator: string;
            creator_nickname: string;
            creator_picture: string;
            description: string;
            id: string;
            insert_update_delete_lock: boolean;
            is_public: boolean;
            is_public_to_org: boolean;
            modality?: string;
            og_image: string;
            organization_name: string;
            organization_slug: string;
            owner: string;
            permissions: {
                [key: string]: boolean;
            };
            project_fields: string[];
            project_name: string;
            schema?: string;
            slug: string;
            total_datums_in_project: number;
            unique_id_field: string;
        }>>

        a LoadedObject instance of the class that is guaranteed to have its attr slot populated with appropriate information.

        Example

        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
        -
      \ No newline at end of file +
      \ No newline at end of file diff --git a/classes/AtlasProjection.html b/classes/AtlasProjection.html index bf1340f..f041bc2 100644 --- a/classes/AtlasProjection.html +++ b/classes/AtlasProjection.html @@ -1,4 +1,4 @@ -AtlasProjection | @nomic-ai/atlas

      Class AtlasProjection

      Hierarchy

      • BaseAtlasClass<components["schemas"]["ProjectionResponse"]>
        • AtlasProjection

      Constructors

      constructor +AtlasProjection | @nomic-ai/atlas

      Class AtlasProjection

      Hierarchy

      • BaseAtlasClass<components["schemas"]["ProjectionResponse"]>
        • AtlasProjection

      Constructors

      Properties

      _attr _index? _project? @@ -32,29 +32,29 @@
    • options: ProjectionInitializationOptions = {}

      Options for initializing the projection.

    • Returns AtlasProjection

      Properties

      _attr: undefined | {
          topic_model_metadatas: Record<string, unknown>[];
          topic_models: {
              bbox?: [number, number, number, number] | [number, number, number, number, number, number];
              features: {
                  bbox?: [number, number, number, number] | [number, number, number, number, number, number];
                  geometry?: {
                      coordinates: [number, number] | [number, number, number];
                      type?: "Point";
                  } | {
                      coordinates: ([(...), (...)] | [(...), (...), (...)])[];
                      type?: "MultiPoint";
                  } | {
                      coordinates: ([(...), (...)] | [(...), (...), (...)])[];
                      type?: "LineString";
                  } | {
                      coordinates: ((...) | (...))[][];
                      type?: "MultiLineString";
                  } | {
                      coordinates: ((...) | (...))[][];
                      type?: "Polygon";
                  } | {
                      coordinates: (...)[][][];
                      type?: "MultiPolygon";
                  } | {
                      geometries: ({
                          coordinates: ...;
                          type?: ...;
                      } | {
                          coordinates: ...;
                          type?: ...;
                      } | {
                          coordinates: ...;
                          type?: ...;
                      } | {
                          coordinates: ...;
                          type?: ...;
                      } | {
                          coordinates: ...;
                          type?: ...;
                      } | {
                          coordinates: ...;
                          type?: ...;
                      })[];
                      type?: "GeometryCollection";
                  };
                  id?: string;
                  properties?: Record<string, unknown>;
                  type?: "Feature";
              }[];
              type?: "FeatureCollection";
          }[];
      }

      Type declaration

      • topic_model_metadatas: Record<string, unknown>[]

        Topic Model Metadatas

        +>.constructor

      Properties

      _attr: undefined | {
          topic_model_metadatas: Record<string, unknown>[];
          topic_models: {
              bbox?: [number, number, number, number] | [number, number, number, number, number, number];
              features: {
                  bbox?: [number, number, number, number] | [number, number, number, number, number, number];
                  geometry?: {
                      coordinates: [number, number] | [number, number, number];
                      type?: "Point";
                  } | {
                      coordinates: ([(...), (...)] | [(...), (...), (...)])[];
                      type?: "MultiPoint";
                  } | {
                      coordinates: ([(...), (...)] | [(...), (...), (...)])[];
                      type?: "LineString";
                  } | {
                      coordinates: ((...) | (...))[][];
                      type?: "MultiLineString";
                  } | {
                      coordinates: ((...) | (...))[][];
                      type?: "Polygon";
                  } | {
                      coordinates: (...)[][][];
                      type?: "MultiPolygon";
                  } | {
                      geometries: ({
                          coordinates: ...;
                          type?: ...;
                      } | {
                          coordinates: ...;
                          type?: ...;
                      } | {
                          coordinates: ...;
                          type?: ...;
                      } | {
                          coordinates: ...;
                          type?: ...;
                      } | {
                          coordinates: ...;
                          type?: ...;
                      } | {
                          coordinates: ...;
                          type?: ...;
                      })[];
                      type?: "GeometryCollection";
                  };
                  id?: string;
                  properties?: Record<string, unknown>;
                  type?: "Feature";
              }[];
              type?: "FeatureCollection";
          }[];
      }

      Type declaration

      • topic_model_metadatas: Record<string, unknown>[]

        Topic Model Metadatas

        Description

        list of topic model metadata

      • topic_models: {
            bbox?: [number, number, number, number] | [number, number, number, number, number, number];
            features: {
                bbox?: [number, number, number, number] | [number, number, number, number, number, number];
                geometry?: {
                    coordinates: [number, number] | [number, number, number];
                    type?: "Point";
                } | {
                    coordinates: ([(...), (...)] | [(...), (...), (...)])[];
                    type?: "MultiPoint";
                } | {
                    coordinates: ([(...), (...)] | [(...), (...), (...)])[];
                    type?: "LineString";
                } | {
                    coordinates: ((...) | (...))[][];
                    type?: "MultiLineString";
                } | {
                    coordinates: ((...) | (...))[][];
                    type?: "Polygon";
                } | {
                    coordinates: (...)[][][];
                    type?: "MultiPolygon";
                } | {
                    geometries: ({
                        coordinates: ...;
                        type?: ...;
                    } | {
                        coordinates: ...;
                        type?: ...;
                    } | {
                        coordinates: ...;
                        type?: ...;
                    } | {
                        coordinates: ...;
                        type?: ...;
                    } | {
                        coordinates: ...;
                        type?: ...;
                    } | {
                        coordinates: ...;
                        type?: ...;
                    })[];
                    type?: "GeometryCollection";
                };
                id?: string;
                properties?: Record<string, unknown>;
                type?: "Feature";
            }[];
            type?: "FeatureCollection";
        }[]

        Topic Models

        Description

        List of topic model geojsons

        -
      _index?: AtlasIndex
      _project?: AtlasProject

      A projection is a map in Atlas; it represents a snapshot 2d view of a dataset +

      _index?: AtlasIndex
      _project?: AtlasProject

      A 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.

      -
      _project_id_promise?: Promise<string>
      _schema: null | Uint8Array = null
      attributePromise: undefined | Promise<{
          topic_model_metadatas: Record<string, unknown>[];
          topic_models: {
              bbox?: [number, number, number, number] | [number, number, number, number, number, number];
              features: {
                  bbox?: [number, number, number, number] | [number, number, number, number, number, number];
                  geometry?: {
                      coordinates: [(...), (...)] | [(...), (...), (...)];
                      type?: "Point";
                  } | {
                      coordinates: ((...) | (...))[];
                      type?: "MultiPoint";
                  } | {
                      coordinates: ((...) | (...))[];
                      type?: "LineString";
                  } | {
                      coordinates: (...)[][];
                      type?: "MultiLineString";
                  } | {
                      coordinates: (...)[][];
                      type?: "Polygon";
                  } | {
                      coordinates: (...)[][];
                      type?: "MultiPolygon";
                  } | {
                      geometries: ((...) | (...) | (...) | (...) | (...) | (...))[];
                      type?: "GeometryCollection";
                  };
                  id?: string;
                  properties?: Record<string, unknown>;
                  type?: "Feature";
              }[];
              type?: "FeatureCollection";
          }[];
      }>
      id: string

      The UUID of the projection to retrieve.

      -
      project_id?: string
      viewer: AtlasViewer

      Accessors

      • get attr(): undefined | AttributesType
      • returns the object's information; this may be undefined

        -

        Returns undefined | AttributesType

      • get quadtree_root(): string
      • Returns string

        the URL for the quadtree root for this projection. +

      _project_id_promise?: Promise<string>
      _schema: null | Uint8Array = null
      attributePromise: undefined | Promise<{
          topic_model_metadatas: Record<string, unknown>[];
          topic_models: {
              bbox?: [number, number, number, number] | [number, number, number, number, number, number];
              features: {
                  bbox?: [number, number, number, number] | [number, number, number, number, number, number];
                  geometry?: {
                      coordinates: [(...), (...)] | [(...), (...), (...)];
                      type?: "Point";
                  } | {
                      coordinates: ((...) | (...))[];
                      type?: "MultiPoint";
                  } | {
                      coordinates: ((...) | (...))[];
                      type?: "LineString";
                  } | {
                      coordinates: (...)[][];
                      type?: "MultiLineString";
                  } | {
                      coordinates: (...)[][];
                      type?: "Polygon";
                  } | {
                      coordinates: (...)[][];
                      type?: "MultiPolygon";
                  } | {
                      geometries: ((...) | (...) | (...) | (...) | (...) | (...))[];
                      type?: "GeometryCollection";
                  };
                  id?: string;
                  properties?: Record<string, unknown>;
                  type?: "Feature";
              }[];
              type?: "FeatureCollection";
          }[];
      }>
      id: string

      The UUID of the projection to retrieve.

      +
      project_id?: string
      viewer: AtlasViewer

      Accessors

      • get attr(): undefined | AttributesType
      • returns the object's information; this may be undefined

        +

        Returns undefined | AttributesType

      • get quadtree_root(): string
      • Returns string

        the URL for the quadtree root for this projection. 'public' may be be added in fetching.

        -

      Methods

      • Parameters

        • endpoint: string
        • method: "GET" | "POST"
        • payload: Payload = null
        • headers: null | Record<string, string> = null

        Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

      • Parameters

        • ids: string[] | number[] | bigint[]

        Returns Promise<any>

      • Parameters

        • options: CreateTagOptions

        Returns Promise<TagResponse>

      • Returns Promise<string>

        the UUID of the dataset that this projection belongs to.

        -
      • Parameters

        • options: DeleteTagRequest

        Returns Promise<void>

      • Fetches basic information about the object. +

      Methods

      • Parameters

        • endpoint: string
        • method: "GET" | "POST"
        • payload: Payload = null
        • headers: null | Record<string, string> = null

        Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

      • Parameters

        • ids: string[] | number[] | bigint[]

        Returns Promise<any>

      • Parameters

        • options: CreateTagOptions

        Returns Promise<TagResponse>

      • Returns Promise<string>

        the UUID of the dataset that this projection belongs to.

        +
      • Parameters

        • options: DeleteTagRequest

        Returns Promise<void>

      • Fetches 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.

        Parameters

        • bustCache: boolean = false

          Whether to refetch the relevant information

        Returns Promise<{
            topic_model_metadatas: Record<string, unknown>[];
            topic_models: {
                bbox?: [number, number, number, number] | [number, number, number, number, number, number];
                features: {
                    bbox?: [number, number, number, number] | [number, number, number, number, number, number];
                    geometry?: {
                        coordinates: [number, number] | [number, number, number];
                        type?: "Point";
                    } | {
                        coordinates: ([(...), (...)] | [(...), (...), (...)])[];
                        type?: "MultiPoint";
                    } | {
                        coordinates: ([(...), (...)] | [(...), (...), (...)])[];
                        type?: "LineString";
                    } | {
                        coordinates: ((...) | (...))[][];
                        type?: "MultiLineString";
                    } | {
                        coordinates: ((...) | (...))[][];
                        type?: "Polygon";
                    } | {
                        coordinates: (...)[][][];
                        type?: "MultiPolygon";
                    } | {
                        geometries: ({
                            coordinates: ...;
                            type?: ...;
                        } | {
                            coordinates: ...;
                            type?: ...;
                        } | {
                            coordinates: ...;
                            type?: ...;
                        } | {
                            coordinates: ...;
                            type?: ...;
                        } | {
                            coordinates: ...;
                            type?: ...;
                        } | {
                            coordinates: ...;
                            type?: ...;
                        })[];
                        type?: "GeometryCollection";
                    };
                    id?: string;
                    properties?: Record<string, unknown>;
                    type?: "Feature";
                }[];
                type?: "FeatureCollection";
            }[];
        }>

        A promise that resolves to the organization info.

        -
      • Parameters

        • options: TagRequestOptions

        Returns Promise<TagStatus>

      • Parameters

        • param0: Omit<{
              atlas_index_id: string;
              k?: number;
              queries: string | number[][];
          }, "atlas_index_id">

          an object with keys k (number of numbers) and queries (list of vectors, where each one is the length of the embedding space).

          +
      • Parameters

        • options: TagRequestOptions

        Returns Promise<TagStatus>

      • Parameters

        • param0: Omit<{
              atlas_index_id: string;
              k?: number;
              queries: string | number[][];
          }, "atlas_index_id">

          an object with keys k (number of numbers) and queries (list of vectors, where each one is the length of the embedding space).

        Returns Promise<Record<string, any>>

        A list of entries in sorted order, where each entry is a list of neighbors including distances in the _distance field.

        -
      • Parameters

        • options: RoboTagOptions

        Returns Promise<void>

      • Parameters

        • options: UpdateTagOptions

        Returns Promise<TagResponse>

      • Parameters

        • bitmask_bytes: Uint8Array
        • options: UpdateTagMaskOptions

        Returns Promise<void>

      • Loads the information associated with the class, removing any +

      • Parameters

        • options: RoboTagOptions

        Returns Promise<void>

      • Parameters

        • options: UpdateTagOptions

        Returns Promise<TagResponse>

      • Parameters

        • bitmask_bytes: Uint8Array
        • options: UpdateTagMaskOptions

        Returns Promise<void>

      • Loads the information associated with the class, removing any existing caches.

        Returns Promise<LoadedObject<AtlasProjection, {
            topic_model_metadatas: Record<string, unknown>[];
            topic_models: {
                bbox?: [number, number, number, number] | [number, number, number, number, number, number];
                features: {
                    bbox?: [number, number, number, number] | [number, number, number, number, number, number];
                    geometry?: {
                        coordinates: [(...), (...)] | [(...), (...), (...)];
                        type?: "Point";
                    } | {
                        coordinates: ((...) | (...))[];
                        type?: "MultiPoint";
                    } | {
                        coordinates: ((...) | (...))[];
                        type?: "LineString";
                    } | {
                        coordinates: (...)[][];
                        type?: "MultiLineString";
                    } | {
                        coordinates: (...)[][];
                        type?: "Polygon";
                    } | {
                        coordinates: (...)[][];
                        type?: "MultiPolygon";
                    } | {
                        geometries: ((...) | (...) | (...) | (...) | (...) | (...))[];
                        type?: "GeometryCollection";
                    };
                    id?: string;
                    properties?: Record<string, unknown>;
                    type?: "Feature";
                }[];
                type?: "FeatureCollection";
            }[];
        }>>

        a LoadedObject instance of the class that is guaranteed to have its attr slot populated with appropriate information.

        Example

        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
        -
      \ No newline at end of file +
      \ No newline at end of file diff --git a/classes/AtlasUser.html b/classes/AtlasUser.html index fe95b5a..3372687 100644 --- a/classes/AtlasUser.html +++ b/classes/AtlasUser.html @@ -1,4 +1,4 @@ -AtlasUser | @nomic-ai/atlas

      Hierarchy

      • BaseAtlasClass<components["schemas"]["PrivateUser"]>
        • AtlasUser

      Constructors

      constructor +AtlasUser | @nomic-ai/atlas

      Hierarchy

      • BaseAtlasClass<components["schemas"]["PrivateUser"]>
        • AtlasUser

      Constructors

      Properties

      Constructors

      Properties

      _attr: undefined | {
          default_organization?: string;
          email: string;
          name: string;
          nickname: string;
          organizations?: {
              access_role: string;
              nickname: string;
              organization_id: string;
              permissions: {
                  [key: string]: boolean;
              };
              plan_type: "atlas_demo" | "atlas_enterprise" | "atlas_research" | "atlas_starter" | "atlas_startup" | "atlas_pro" | "mock" | "free_test_user" | "pro" | "enterprise" | "free" | "research";
              slug: string;
              user_id: string;
          }[];
          picture?: string;
          stripe_customer_id?: string;
          sub: string;
          updated_at: string;
          waitlisted?: boolean;
      }

      Type declaration

      • Optional default_organization?: string

        Default Organization +>.constructor

      Properties

      _attr: undefined | {
          default_organization?: string;
          email: string;
          name: string;
          nickname: string;
          organizations?: {
              access_role: string;
              nickname: string;
              organization_id: string;
              permissions: {
                  [key: string]: boolean;
              };
              plan_type: "atlas_demo" | "atlas_enterprise" | "atlas_research" | "atlas_starter" | "atlas_startup" | "atlas_pro" | "mock" | "free_test_user" | "pro" | "enterprise" | "free" | "research";
              slug: string;
              user_id: string;
          }[];
          picture?: string;
          stripe_customer_id?: string;
          sub: string;
          updated_at: string;
          waitlisted?: boolean;
      }

      Type declaration

      • Optional default_organization?: string

        Default Organization Format: uuid

        Description

        The users default organization.

      • email: string

        Email

        @@ -45,20 +45,20 @@

        Example

        auth0

        Description

        Whether or not the user is wait-listed for Atlas access

        Default

        false
         
        -
      attributePromise: undefined | Promise<{
          default_organization?: string;
          email: string;
          name: string;
          nickname: string;
          organizations?: {
              access_role: string;
              nickname: string;
              organization_id: string;
              permissions: {
                  [key: string]: boolean;
              };
              plan_type: "atlas_demo" | "atlas_enterprise" | "atlas_research" | "atlas_starter" | "atlas_startup" | "atlas_pro" | "mock" | "free_test_user" | "pro" | "enterprise" | "free" | "research";
              slug: string;
              user_id: string;
          }[];
          picture?: string;
          stripe_customer_id?: string;
          sub: string;
          updated_at: string;
          waitlisted?: boolean;
      }>
      viewer: AtlasViewer

      Accessors

      • get attr(): undefined | AttributesType
      • returns the object's information; this may be undefined

        -

        Returns undefined | AttributesType

      Methods

      • Parameters

        • endpoint: string
        • method: "GET" | "POST"
        • payload: Payload = null
        • headers: null | Record<string, string> = null

        Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

      • Returns string

      • Fetches basic information about the object. +

      attributePromise: undefined | Promise<{
          default_organization?: string;
          email: string;
          name: string;
          nickname: string;
          organizations?: {
              access_role: string;
              nickname: string;
              organization_id: string;
              permissions: {
                  [key: string]: boolean;
              };
              plan_type: "atlas_demo" | "atlas_enterprise" | "atlas_research" | "atlas_starter" | "atlas_startup" | "atlas_pro" | "mock" | "free_test_user" | "pro" | "enterprise" | "free" | "research";
              slug: string;
              user_id: string;
          }[];
          picture?: string;
          stripe_customer_id?: string;
          sub: string;
          updated_at: string;
          waitlisted?: boolean;
      }>
      viewer: AtlasViewer

      Accessors

      • get attr(): undefined | AttributesType
      • returns the object's information; this may be undefined

        +

        Returns undefined | AttributesType

      Methods

      • Parameters

        • endpoint: string
        • method: "GET" | "POST"
        • payload: Payload = null
        • headers: null | Record<string, string> = null

        Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

      • Returns string

      • Fetches 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.

        Parameters

        • bustCache: boolean = false

          Whether to refetch the relevant information

        Returns Promise<{
            default_organization?: string;
            email: string;
            name: string;
            nickname: string;
            organizations?: {
                access_role: string;
                nickname: string;
                organization_id: string;
                permissions: {
                    [key: string]: boolean;
                };
                plan_type: "atlas_demo" | "atlas_enterprise" | "atlas_research" | "atlas_starter" | "atlas_startup" | "atlas_pro" | "mock" | "free_test_user" | "pro" | "enterprise" | "free" | "research";
                slug: string;
                user_id: string;
            }[];
            picture?: string;
            stripe_customer_id?: string;
            sub: string;
            updated_at: string;
            waitlisted?: boolean;
        }>

        A promise that resolves to the organization info.

        -
      • Parameters

        • role: null | "OWNER" | "MEMBER" = null

          return only organizations where the user has this role (default: null, return all organizations)

          +
      • Parameters

        • role: null | "OWNER" | "MEMBER" = null

          return only organizations where the user has this role (default: null, return all organizations)

        Returns Promise<AtlasOrganization[]>

        A list of organizations where the user has the specified role

        -
      • Returns Promise<{
            created_timestamp: string;
            creator: string;
            creator_nickname: string;
            creator_picture: string;
            description: string;
            id: string;
            is_public: boolean;
            is_public_to_org: boolean;
            modality?: string;
            nickname: string;
            organization_name: string;
            organization_slug: string;
            owner: string;
            project_fields: string[];
            project_name: string;
            slug: string;
            thumbnail: string;
            total_datums_in_project: number;
            unique_id_field: string;
        }[]>

        All projects that the user has access to.

        -
      • Loads the information associated with the class, removing any +

      • Returns Promise<{
            created_timestamp: string;
            creator: string;
            creator_nickname: string;
            creator_picture: string;
            description: string;
            id: string;
            is_public: boolean;
            is_public_to_org: boolean;
            modality?: string;
            nickname: string;
            organization_name: string;
            organization_slug: string;
            owner: string;
            project_fields: string[];
            project_name: string;
            slug: string;
            thumbnail: string;
            total_datums_in_project: number;
            unique_id_field: string;
        }[]>

        All projects that the user has access to.

        +
      • Loads the information associated with the class, removing any existing caches.

        Returns Promise<LoadedObject<AtlasUser, {
            default_organization?: string;
            email: string;
            name: string;
            nickname: string;
            organizations?: {
                access_role: string;
                nickname: string;
                organization_id: string;
                permissions: {
                    [key: string]: boolean;
                };
                plan_type: "atlas_demo" | "atlas_enterprise" | "atlas_research" | "atlas_starter" | "atlas_startup" | "atlas_pro" | "mock" | "free_test_user" | "pro" | "enterprise" | "free" | "research";
                slug: string;
                user_id: string;
            }[];
            picture?: string;
            stripe_customer_id?: string;
            sub: string;
            updated_at: string;
            waitlisted?: boolean;
        }>>

        a LoadedObject instance of the class that is guaranteed to have its attr slot populated with appropriate information.

        Example

        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
        -
      \ No newline at end of file +
      \ No newline at end of file diff --git a/classes/AtlasViewer.html b/classes/AtlasViewer.html index 3b587ac..234e477 100644 --- a/classes/AtlasViewer.html +++ b/classes/AtlasViewer.html @@ -1,4 +1,4 @@ -AtlasViewer | @nomic-ai/atlas

      Constructors

      constructor +AtlasViewer | @nomic-ai/atlas

      Constructors

      Properties

      anonymous apiLocation credentials @@ -11,10 +11,10 @@ TokenLogin: Uses a bearer token or Nomic API key. must have token: string AnonUser: No credentials, used for anonymous Viewer

      -

      Parameters

      • params: Envlogin

      Returns AtlasViewer

    • Parameters

      • params: ApiKeyLogin

      Returns AtlasViewer

    • Parameters

      • params: BearerTokenLogin

      Returns AtlasViewer

    • Parameters

      • params: AnonViewerLogin

      Returns AtlasViewer

    • Properties

      anonymous: boolean = false
      apiLocation: string
      credentials: Promise<null | Credentials>

      Methods

      Properties

      anonymous: boolean = false
      apiLocation: string
      credentials: Promise<null | Credentials>

      Methods

      • Call the API and return the results as deserialized JSON or Arrow.

        Parameters

        • endpoint: string

          The nomic API endpoint to call. If it doesn't begin with a slash, it will be added.

        • method: "GET" | "POST" = 'GET'

          POST or GET

        • payload: Payload = null

          The binary or JSON payload sent with the request.

        • headers: null | Record<string, string> = null

          Additional headers to send with the request

          -
        • options: ApiCallOptions = ...

        Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

      \ No newline at end of file +
    • options: ApiCallOptions = ...
    • Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

      \ No newline at end of file diff --git a/classes/Embedder.html b/classes/Embedder.html index 091ca7f..369c4ae 100644 --- a/classes/Embedder.html +++ b/classes/Embedder.html @@ -14,7 +14,7 @@

      BAD -- You will generate many small, inefficient requests.

       * const documents = ["Once upon a time", "there was a girl named Goldilocks", …, "and they all lived happily ever after"]
      const embedder = new Embedder(myApiKey)
      const embeddings = []
      for (let document of documents) {
      const embedding = await embedder.embed(document); // <- premature await.
      embeddings.push(embedding);
      }
      -

      Hierarchy

      • BaseAtlasClass<{}>
        • Embedder

      Constructors

      Hierarchy

      • BaseAtlasClass<{}>
        • Embedder

      Constructors

      Properties

      _attr: undefined | {}

      Type declaration

        attributePromise: undefined | Promise<{}>
        backoff: null | number = null
        embedQueue: [string, ((embedding) => void), ((error) => void)][] = []
        epitaph?: Error
        model: EmbeddingModel
        nextScheduledFlush: unknown = null
        taskType: TaskType
        tokensUsed: number = 0
        viewer: AtlasViewer

        Accessors

        • get attr(): undefined | AttributesType
        • returns the object's information; this may be undefined

          -

          Returns undefined | AttributesType

        Methods

        • Parameters

          • values: string[]

          Returns Promise<NomicEmbedResponse>

        • Parameters

          • endpoint: string
          • method: "GET" | "POST"
          • payload: Payload = null
          • headers: null | Record<string, string> = null

          Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

        • Parameters

          • value: string

          Returns Promise<Embedding>

        • Parameters

          • value: string[]

          Returns Promise<Embedding[]>

        • Fetches basic information about the object. +

        • options: EmbedderOptions

        Returns Embedder

      • Parameters

        Returns Embedder

      • Parameters

        Returns Embedder

      • Properties

        _attr: undefined | {}

        Type declaration

          attributePromise: undefined | Promise<{}>
          backoff: null | number = null
          embedQueue: [string, ((embedding) => void), ((error) => void)][] = []
          epitaph?: Error
          model: EmbeddingModel
          nextScheduledFlush: unknown = null
          taskType: TaskType
          tokensUsed: number = 0
          viewer: AtlasViewer

          Accessors

          • get attr(): undefined | AttributesType
          • returns the object's information; this may be undefined

            +

            Returns undefined | AttributesType

          Methods

          • Parameters

            • values: string[]

            Returns Promise<NomicEmbedResponse>

          • Parameters

            • endpoint: string
            • method: "GET" | "POST"
            • payload: Payload = null
            • headers: null | Record<string, string> = null

            Returns Promise<null | string | any[] | Record<string, any> | Uint8Array | Table<any>>

          • Parameters

            • value: string

            Returns Promise<Embedding>

          • Parameters

            • value: string[]

            Returns Promise<Embedding[]>

          • Fetches 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.

            Parameters

            • bustCache: boolean = false

              Whether to refetch the relevant information

            Returns Promise<{}>

            A promise that resolves to the organization info.

            -
          • Loads the information associated with the class, removing any +

          • Loads the information associated with the class, removing any existing caches.

            Returns Promise<LoadedObject<Embedder, {}>>

            a LoadedObject instance of the class that is guaranteed to have its attr slot populated with appropriate information.

            Example

            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
            -
          \ No newline at end of file +
          \ No newline at end of file diff --git a/functions/embed.html b/functions/embed.html index 3385f2e..ffa53f7 100644 --- a/functions/embed.html +++ b/functions/embed.html @@ -1 +1 @@ -embed | @nomic-ai/atlas

          Function embed

          • Parameters

            • value: string
            • options: EmbedderOptions
            • apiKey: undefined | string

            Returns Promise<Embedding>

          • Parameters

            • values: string[]
            • options: EmbedderOptions
            • apiKey: undefined | string

            Returns Promise<Embedding[]>

          \ No newline at end of file +embed | @nomic-ai/atlas

          Function embed

          • Parameters

            • value: string
            • options: EmbedderOptions
            • apiKey: undefined | string

            Returns Promise<Embedding>

          • Parameters

            • values: string[]
            • options: EmbedderOptions
            • apiKey: undefined | string

            Returns Promise<Embedding[]>

          \ No newline at end of file