nomic

nomic-ai更新放缓

Nomic 的 Python SDK,把文本等非结构化数据交给开发者 API 做向量化、聚类、主题建模和重复检测,省去自己搭建嵌入与聚类流程。

Nomic Developer API SDK

v3.9.0发布于 2025-11-11 05:18 UTC1,881star196fork同步于 2026-11-07 07:31 UTC

怎么上手

由 README 提炼,执行前请确认
pip install nomic
nomic login
nomic login [token]
硬件要求按 README 说明

README 未说明本地硬件要求;计算与可视化在 Nomic Atlas 云端完成,本地只需能运行 Python 并联网。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

Nomic Atlas 的 Python 客户端,把海量非结构化数据做成可浏览、可搜索、可分享的交互地图

Nomic 的 Python SDK,把文本等非结构化数据交给开发者 API 做向量化、聚类、主题建模和重复检测,省去自己搭建嵌入与聚类流程。

核心能力

  • 用 atlas.map_data 把文本、图像、音频、视频的嵌入数据生成可交互地图
  • 自动按嵌入内容聚类成语义主题,并通过 topics.df 以 DataFrame 访问
  • 支持在向量库中做最近邻语义检索,返回相似数据点
  • 可下载高维 latent 嵌入和二维 projected 嵌入
  • 支持去重、打标签与清洗数据集,并在线分享结果

容易踩的坑

需要先注册 Nomic 账号并执行 nomic login 获取 access token,否则无法调用云端服务;数据会上传到 Atlas 云端处理,涉密数据需谨慎;vector_search 前需用 dataset.wait_for_dataset_lock() 等待数据集锁释放。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v3.9.0
  1. v3.9.0最新正式版2025-11-11 · 2025-11-11 05:18 UTC

    3.9.0 (2025-11-11)

    Features


    Install from PyPI:

    pip install -U nomic
    

    📦 View on PyPI

  2. v3.8.02025-11-05 · 2025-11-05 23:10 UTC
    查看更新说明

    3.8.0 (2025-11-05)

    Features

    • add py.typed marker for PEP 561 compliance (#400) (762aeee)

    Bug Fixes


    Install from PyPI:

    pip install -U nomic
    

    📦 View on PyPI

  3. v3.7.02025-11-04 · 2025-11-04 00:22 UTC
    查看更新说明

    3.7.0 (2025-11-03)

    Features

    • Add parse and extract options for Nomic Developer API (#398)

    Breaking Change: This release drops support for Python 3.8 and 3.9. Python 3.9 reached end-of-life on October 31st. Please update to Python 3.10 or newer to continue using the Nomic client.


    Install from PyPI:

    pip install -U nomic
    

    📦 View on PyPI

  4. v3.6.02025-09-24 · 2025-09-24 03:36 UTC
    查看更新说明

    3.6.0 (2025-09-23)

    Features

    • Nomic Platform support for enterprise (#396)
  5. v3.5.32025-05-30 · 2025-05-30 20:33 UTC
    查看更新说明

    3.5.3 (2025-05-30)

    Bug Fixes

    • reduce text-embedding api max request batch size to 10 (#392) (8487355)

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    With Nomic Atlas, you can:

    • Generate, store and retrieve embeddings for your unstructured data.
    • Find insights in your unstructured data and embeddings all from your web browser.
    • Share and present your datasets and data findings to anyone.

    Where to find us?

    https://atlas.nomic.ai/

    Table of Contents

    Quick Resources

    Example maps

    :world_map: Map of Twitter (5.4 million tweets) :world_map: Map of StableDiffusion Generations (6.4 million images) :world_map: Map of NeurIPS Proceedings (16,623 abstracts)

    Features

    Here are just a few of the features which Atlas offers:

    • Organize your text, image, and embedding data
    • Create beautiful and shareable maps with or without coding knowledge
    • Have easy access to both high-level data structures and individual datapoints
    • Search millions of datapoints instantly
    • Cluster data into semantic topics
    • Tag and clean your dataset
    • Deduplicate text, images, video, audio

    Quickstart

    Installation

    1. Install the Nomic library
    pip install nomic
    
    1. Login or create your Nomic account:
    nomic login
    
    1. Follow the instructions to obtain your access token.
    nomic login [token]
    

    Make your first map

    from nomic import atlas
    import numpy as np
    
    # Randomly generate a set of 10,000 high-dimensional embeddings
    num_embeddings = 10000
    embeddings = np.random.rand(num_embeddings, 256)
    
    # Create Atlas project
    dataset = atlas.map_data(embeddings=embeddings)
    
    print(dataset)
    

    Atlas usage examples

    Access your embeddings

    Atlas stores, manages and generates embeddings for your unstructured data.

    You can access Atlas latent embeddings (e.g. high dimensional) or the two-dimensional embeddings generated for web display.

    # Access your Atlas map and download your embeddings
    map = dataset.maps[0]
    
    projected_embeddings = map.embeddings.projected
    latent_embeddings = map.embeddings.latent
    
    print(projected_embeddings)
    
    # Response:
    id 	x 	y
    0 	9.815330 	-8.105308
    1 	-8.725819 	5.980628
    2 	13.199472 	-1.103389
    ... 	... 	... 	...
    
    print(latent_embeddings)
    
    # Response:
    n x d numpy.ndarray where n = number of datapoints and d = number of latent dimensions
    

    View your data’s topic model

    Atlas automatically organizes your data into topics informed by the latent contents of your embeddings. Visually, these are represented by regions of homogenous color on an Atlas map.

    You can access and operate on topics programmatically by using the topics attribute of an AtlasMap.

    # Access your Atlas map
    map = dataset.maps[0]
    
    # Access a pandas DataFrame associating each datum on your map to their topics at each topic depth.
    topic_df = map.topics.df
    
    print(map.topics.df)
    
    
    Response:
    
    id topic_depth_1 topic_depth_2
    0 Oil Prices mergers and acquisitions
    1 Iraq War Trial of Thatcher
    2 Oil Prices Economic Growth
    ... ... ... ...
    9997 Oil Prices Economic Growth
    9998 Baseball Giambi's contract
    9999 Olympic Gold Medal European Football
    
    

    Search for data semantically

    Use Atlas to automatically find nearest neighbors in your vector database.

    # Load map and perform vector search for the five nearest neighbors of datum with id "my_query_point"
    map = dataset.maps[0]
    
    with dataset.wait_for_dataset_lock():
      neighbors, _ = map.embeddings.vector_search(ids=['my_query_point'], k=5)
    
    # Return similar data points
    similar_datapoints = dataset.get_data(ids=neighbors[0])
    
    print(similar_datapoints)
    
    Response:
    
    Original query point:
    "Intel abandons digital TV chip project NEW YORK, October 22 (newratings.com) - Global semiconductor giant Intel Corporation (INTC.NAS) has called off its plan to develop a new chip for the digital projection televisions."
    
    Nearest neighbors:
    "Intel awaits government move on expensing options Figuring it's had enough of fighting over options, the chip giant is waiting to see what Congress comes up with."
    "Citigroup Takes On Intel The financial services giant takes over non-memory semiconductor chip production."
    "Intel Seen Readying New Wi-Fi Chips  SAN FRANCISCO (Reuters) - Intel Corp. this week is  expected to introduce a chip that adds support for a relatively  obscure version of Wi-Fi, analysts said on Monday, in a move  that could help ease congestion on wireless networks."
    "Intel pledges to bring Itanic down to Xeon price-point EM64T a stand-in until the real anti-AMD64 kit arrives"
    

    Background

    Atlas is developed by the Nomic AI team, which is based in NYC. Nomic also developed and maintains GPT4All, an open-source LLM chatbot ecosystem.

    Discussion

    Join the discussion on our :hut: Discord to ask questions, get help, and chat with others about Atlas, Nomic, GPT4All, and related topics. Our doors are open to enthusiasts of all skill levels.

    Community

    Go to top