AtlasDB(
self,
name: str,
embedding_function: Optional[Embeddings] = None,
api_key| Name | Type | Description |
|---|---|---|
name* | str | The name of your project. If the project already exists, it will be loaded. |
embedding_function | Optional[Embeddings] | Default: NoneAn optional function used for embedding your data. If None, data will be embedded with Nomic's embed model. |
api_key | str | Default: None |
description | str | Default: 'A description for your project' |
is_public | bool | Default: True |
reset_project_if_exists | bool | Default: False |
Creates an index in your project.
See https://docs.nomic.ai/atlas_api.html#nomic.project.AtlasProject.create_index for full detail.
Atlas vector store.
Atlas is the Nomic's neural database and rhizomatic instrument.
To use, you should have the nomic python package installed.
Example:
.. code-block:: python
from langchain_community.vectorstores import AtlasDB from langchain_community.embeddings.openai import OpenAIEmbeddings
embeddings = OpenAIEmbeddings() vectorstore = AtlasDB("my_project", embeddings.embed_query)
Your nomic API key
A description for your project.
Whether your project is publicly accessible. True by default.
Whether to reset this project if it already exists. Default False. Generally useful during development and testing.