Command-line interface for NautilusDB
Project description
nautilusdb-python-client
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?"
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. If an
API key is configured, a private 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for nautiluscli-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e571764fa2d0579827477bda2844a8fbc91474ef221ca3d1b0be0e43bea22a09 |
|
MD5 | 979e24d45722e527d35ba8181e9675aa |
|
BLAKE2b-256 | dc7f532ea497ee059c0e0f4d55de901ed7e933688e7aefe4e133e6ff1cd7d048 |