nautilusdb-cli
A command-line tool for NautilusDB, a fully-managed, cloud-native vector search service.
NautilusDB is currently in public alpha. We're actively improving the product and releasing new features and we'd love to hear your feedback! Please take a moment to fill out this feedback form to help us understand your use-case better.
By default, all collections are subject to permanent deletion after 2 weeks. Please let us know if you need to keep it for longer via the feedback form.
Quickstart
You can try out NautilusDB right away. We have prepared a special public
collection openai-web that can answer questions about the contents of www.openai.com
nautiluscli ask openai-web "what is red team?"
Installation
Install a released NautilusDB cli from pip.
python3 version >= 3.10 is required
pip3 install nautiluscli
Examples:
Create a new API key
You can create a new API key and set it in NAUTILUSDB_API_KEY
environment variable. NautilusDB will use this key to authorize access to
collections.
nautiluscli create-api-key
export NAUTILUSDB_API_KEY='<key>'
Check the current CLI configuration
nautiluscli info
Create a new Collection
Create a new collection myCollection in the shared demo account.
A collection will be created that is only accessible to the configured API key.
nautiluscli create-collection myCollection
List Collections
See the list of Collection accessible to you, including myCollection
that you just created.
nautiluscli list-collections
Upload file from URL
Index a PDF into myCollection. In this example, we will index the original research paper on Transformers.
nautiluscli upload-file myCollection https://arxiv.org/pdf/1706.03762.pdf
Upload local file
Alternatively, upload a PDF from local file system for indexing.
nautiluscli upload-file myCollection README.md
Ask questions
You can now ask questions within the context of a collection and get answers.
nautiluscli ask myCollection "what is a transformer?"
Delete the Collection
You can optionally delete the collection. Deletions are non-reversible.
nautiluscli delete-collection myCollection
Release files for nautiluscli 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nautiluscli-0.5.2.tar.gz | 9.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nautiluscli-0.5.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:19.8 kB
Release files / nautiluscli-0.5.2.tar.gz
| Download URL | nautiluscli-0.5.2.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e0581b03ca7757a421ca9460f02432812d94d352596d41aba664f3a038fce85
|
|
BLAKE2b-256 checksum How to use checksums |
80d985644a8f078b0409dc545667b9965bc767ece69e82d89a9e82acd37778ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / nautiluscli-0.5.2-py3-none-any.whl
| Download URL | nautiluscli-0.5.2-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
555bbcb6b5f5ef2bb9775950c98d3d39c902a7f4a7424cc5221575bf6994c850
|
|
BLAKE2b-256 checksum How to use checksums |
4970045f1fb47b3837ca0d63aff00d1aa1b43179a6be990df1a71eeb50117b9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|