
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
@nomic-ai/atlas
Advanced tools
This library provides a TypeScript client for the Nomic API that allows you to work with datasets and embedding models hosted at atlas.nomic.ai.
This library provides a TypeScript client for the Nomic API that allows you to work with datasets and embedding models hosted at atlas.nomic.ai.
Quick start:
import { embed } from '@nomic-ai/atlas';
embed(['so much depends upon', 'a red wheel barrow'], `nk-123456789`).then(
(embeddings) => console.log({ embeddings })
);
or if your key is already in an environment variable at ATLAS_API_KEY:
import { embed } from '@nomic-ai/atlas';
embed(['glazed with rain water', 'beside the white chickens']).then(
(embeddings) => console.log({ embeddings })
);
All operations require a nomic API key linked to your account. To generate an API key, visit https://atlas.nomic.ai/ while logged in to your account and click on the API key tab under the organization.
Once you have the API key, create a file in project root directory called .env
In it, put the following line:
ATLAS_API_KEY=your-api-key
If running in an environment like Vercel or Heroku, you can set the environment variable through the hosting environment.
Alternatively, pass the api key as a param to AtlasUser
:
AtlasUser({ apiKey: 'your-api-key' });
By default, this will access the production version of Atlas. This is probably what you want.
If you are using a custom tenant of Atlas, you will define the following additional variables:
ATLAS_FRONTEND_DOMAIN=your.frontend.domain
ATLAS_API_DOMAIN=your.api.domain
This library is designed to be used in a browser or in Node.js. It is written in TypeScript and compiled to JavaScript.
Since the precise mechanism for calls differs in the browser as opposed to node,
all calls are handler by an AtlasUser
interface.
FAQs
This library provides a TypeScript client for the Nomic API that allows you to work with datasets and embedding models hosted at atlas.nomic.ai.
The npm package @nomic-ai/atlas receives a total of 788 weekly downloads. As such, @nomic-ai/atlas popularity was classified as not popular.
We found that @nomic-ai/atlas demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.