Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/reference/qcloud_serverless_space.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ qcloud serverless space alert list 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60 --state
* [qcloud serverless space backup](qcloud_serverless_space_backup.md) - Manage backups of serverless spaces
* [qcloud serverless space create](qcloud_serverless_space_create.md) - Create a new space
* [qcloud serverless space create-from-backup](qcloud_serverless_space_create-from-backup.md) - Create a new space from a backup
* [qcloud serverless space dataset](qcloud_serverless_space_dataset.md) - Load sample datasets into a space
* [qcloud serverless space delete](qcloud_serverless_space_delete.md) - Delete a space
* [qcloud serverless space describe](qcloud_serverless_space_describe.md) - Describe a space
* [qcloud serverless space key](qcloud_serverless_space_key.md) - Manage API keys for a space
Expand Down
60 changes: 60 additions & 0 deletions docs/reference/qcloud_serverless_space_dataset.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
## qcloud serverless space dataset

Load sample datasets into a space

### Synopsis

Load sample datasets into a serverless space.

A sample dataset is a prebuilt dataset, with vectors already computed, that can
be loaded into a new collection of a space to try Qdrant without bringing your
own data. Only the datasets available in the region of the space are offered.
The collection size of a dataset counts against the collection size limits of
the space.

A load is asynchronous: it creates the collection and copies the data in the
background. Use "dataset load list" or "dataset load describe" to follow it, or
pass --wait to "dataset load start".

### Examples

```
# List the sample datasets that can be loaded into a space
qcloud serverless space dataset list 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60

# Show the vectors and size of a sample dataset
qcloud serverless space dataset describe 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60 midjourney-styles

# Load a sample dataset into a new collection and wait until it is done
qcloud serverless space dataset load start 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60 midjourney-styles --wait

# List the sample dataset loads of a space
qcloud serverless space dataset load list 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60
```

### Options

```
-h, --help[=true|false] help for dataset
```

### Options inherited from parent commands

```
--account-id string Qdrant Cloud Account ID (env: QDRANT_CLOUD_ACCOUNT_ID)
--api-key string Management API Key (env: QDRANT_CLOUD_API_KEY)
-c, --config string Config file path (env: QDRANT_CLOUD_CONFIG, default ~/.config/qcloud/config.yaml)
--console-url string Qdrant Cloud web console base URL (env: QDRANT_CLOUD_CONSOLE_URL, default https://cloud.qdrant.io)
--context string Override the active context (env: QDRANT_CLOUD_CONTEXT)
--debug[=true|false] Enable debug logging to stderr
--endpoint string gRPC API endpoint (env: QDRANT_CLOUD_ENDPOINT, default grpc.cloud.qdrant.io:443)
--json[=true|false] Output as JSON
```

### SEE ALSO

* [qcloud serverless space](qcloud_serverless_space.md) - Manage serverless spaces
* [qcloud serverless space dataset describe](qcloud_serverless_space_dataset_describe.md) - Describe a sample dataset
* [qcloud serverless space dataset list](qcloud_serverless_space_dataset_list.md) - List the sample datasets that can be loaded into a space
* [qcloud serverless space dataset load](qcloud_serverless_space_dataset_load.md) - Manage sample dataset loads of a space

49 changes: 49 additions & 0 deletions docs/reference/qcloud_serverless_space_dataset_describe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
## qcloud serverless space dataset describe

Describe a sample dataset

### Synopsis

Describe a sample dataset that can be loaded into a serverless space.

Shows the size of the dataset and the configuration of the collection a load
creates: its dense and sparse vectors, and the embedding model that made each
of them. Use the same model to make query vectors.

```
qcloud serverless space dataset describe <space-id> <dataset-id> [flags]
```

### Examples

```
# Describe a sample dataset
qcloud serverless space dataset describe 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60 midjourney-styles

# Output as JSON
qcloud serverless space dataset describe 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60 midjourney-styles --json
```

### Options

```
-h, --help[=true|false] help for describe
```

### Options inherited from parent commands

```
--account-id string Qdrant Cloud Account ID (env: QDRANT_CLOUD_ACCOUNT_ID)
--api-key string Management API Key (env: QDRANT_CLOUD_API_KEY)
-c, --config string Config file path (env: QDRANT_CLOUD_CONFIG, default ~/.config/qcloud/config.yaml)
--console-url string Qdrant Cloud web console base URL (env: QDRANT_CLOUD_CONSOLE_URL, default https://cloud.qdrant.io)
--context string Override the active context (env: QDRANT_CLOUD_CONTEXT)
--debug[=true|false] Enable debug logging to stderr
--endpoint string gRPC API endpoint (env: QDRANT_CLOUD_ENDPOINT, default grpc.cloud.qdrant.io:443)
--json[=true|false] Output as JSON
```

### SEE ALSO

* [qcloud serverless space dataset](qcloud_serverless_space_dataset.md) - Load sample datasets into a space

52 changes: 52 additions & 0 deletions docs/reference/qcloud_serverless_space_dataset_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
## qcloud serverless space dataset list

List the sample datasets that can be loaded into a space

### Synopsis

List the sample datasets that can be loaded into a serverless space.

Only datasets available in the region of the space are listed. SIZE and
INDEXED SIZE are the storage the loaded collection uses; they count against the
collection size limits of the space. The VECTORS column lists the vector names
of the collection a load creates; "default" is the unnamed vector. Use
"dataset describe" to see the vector sizes, distances and embedding models.

```
qcloud serverless space dataset list <space-id> [flags]
```

### Examples

```
# List the sample datasets that can be loaded into a space
qcloud serverless space dataset list 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60

# Output as JSON
qcloud serverless space dataset list 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60 --json
```

### Options

```
-h, --help[=true|false] help for list
--no-headers[=true|false] Do not print column headers
```

### Options inherited from parent commands

```
--account-id string Qdrant Cloud Account ID (env: QDRANT_CLOUD_ACCOUNT_ID)
--api-key string Management API Key (env: QDRANT_CLOUD_API_KEY)
-c, --config string Config file path (env: QDRANT_CLOUD_CONFIG, default ~/.config/qcloud/config.yaml)
--console-url string Qdrant Cloud web console base URL (env: QDRANT_CLOUD_CONSOLE_URL, default https://cloud.qdrant.io)
--context string Override the active context (env: QDRANT_CLOUD_CONTEXT)
--debug[=true|false] Enable debug logging to stderr
--endpoint string gRPC API endpoint (env: QDRANT_CLOUD_ENDPOINT, default grpc.cloud.qdrant.io:443)
--json[=true|false] Output as JSON
```

### SEE ALSO

* [qcloud serverless space dataset](qcloud_serverless_space_dataset.md) - Load sample datasets into a space

55 changes: 55 additions & 0 deletions docs/reference/qcloud_serverless_space_dataset_load.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
## qcloud serverless space dataset load

Manage sample dataset loads of a space

### Synopsis

Manage sample dataset loads of a serverless space.

A load copies a sample dataset into a new collection of the space. It runs in
the background and ends as SUCCEEDED or FAILED; the reason of a failure (for
example the collection limit of the space) is shown by "load describe". Only
loads created in the last 30 days are listed.

### Examples

```
# Load a sample dataset into a collection with the same name as the dataset
qcloud serverless space dataset load start 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60 midjourney-styles

# Load a sample dataset into a collection with a custom name
qcloud serverless space dataset load start 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60 midjourney-styles --collection styles

# List the loads of a space
qcloud serverless space dataset load list 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60

# Follow a single load
qcloud serverless space dataset load describe 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60 7f6e5d4c-3b2a-4190-8f7e-6d5c4b3a2918
```

### Options

```
-h, --help[=true|false] help for load
```

### Options inherited from parent commands

```
--account-id string Qdrant Cloud Account ID (env: QDRANT_CLOUD_ACCOUNT_ID)
--api-key string Management API Key (env: QDRANT_CLOUD_API_KEY)
-c, --config string Config file path (env: QDRANT_CLOUD_CONFIG, default ~/.config/qcloud/config.yaml)
--console-url string Qdrant Cloud web console base URL (env: QDRANT_CLOUD_CONSOLE_URL, default https://cloud.qdrant.io)
--context string Override the active context (env: QDRANT_CLOUD_CONTEXT)
--debug[=true|false] Enable debug logging to stderr
--endpoint string gRPC API endpoint (env: QDRANT_CLOUD_ENDPOINT, default grpc.cloud.qdrant.io:443)
--json[=true|false] Output as JSON
```

### SEE ALSO

* [qcloud serverless space dataset](qcloud_serverless_space_dataset.md) - Load sample datasets into a space
* [qcloud serverless space dataset load describe](qcloud_serverless_space_dataset_load_describe.md) - Describe a sample dataset load
* [qcloud serverless space dataset load list](qcloud_serverless_space_dataset_load_list.md) - List the sample dataset loads of a space
* [qcloud serverless space dataset load start](qcloud_serverless_space_dataset_load_start.md) - Load a sample dataset into a new collection

49 changes: 49 additions & 0 deletions docs/reference/qcloud_serverless_space_dataset_load_describe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
## qcloud serverless space dataset load describe

Describe a sample dataset load

### Synopsis

Describe a sample dataset load of a serverless space.

Shows the status of the load, its progress while it is running and how long it
took once it finished. When a load failed, Reason explains why, for example
because the space reached its collection limit.

```
qcloud serverless space dataset load describe <space-id> <load-id> [flags]
```

### Examples

```
# Describe a sample dataset load
qcloud serverless space dataset load describe 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60 7f6e5d4c-3b2a-4190-8f7e-6d5c4b3a2918

# Output as JSON
qcloud serverless space dataset load describe 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60 7f6e5d4c-3b2a-4190-8f7e-6d5c4b3a2918 --json
```

### Options

```
-h, --help[=true|false] help for describe
```

### Options inherited from parent commands

```
--account-id string Qdrant Cloud Account ID (env: QDRANT_CLOUD_ACCOUNT_ID)
--api-key string Management API Key (env: QDRANT_CLOUD_API_KEY)
-c, --config string Config file path (env: QDRANT_CLOUD_CONFIG, default ~/.config/qcloud/config.yaml)
--console-url string Qdrant Cloud web console base URL (env: QDRANT_CLOUD_CONSOLE_URL, default https://cloud.qdrant.io)
--context string Override the active context (env: QDRANT_CLOUD_CONTEXT)
--debug[=true|false] Enable debug logging to stderr
--endpoint string gRPC API endpoint (env: QDRANT_CLOUD_ENDPOINT, default grpc.cloud.qdrant.io:443)
--json[=true|false] Output as JSON
```

### SEE ALSO

* [qcloud serverless space dataset load](qcloud_serverless_space_dataset_load.md) - Manage sample dataset loads of a space

55 changes: 55 additions & 0 deletions docs/reference/qcloud_serverless_space_dataset_load_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
## qcloud serverless space dataset load list

List the sample dataset loads of a space

### Synopsis

List the sample dataset loads of a serverless space.

Only loads created in the last 30 days are listed. PROGRESS shows how much data
was copied while a load is running. Use "dataset load describe" to see why a
load failed.

All pages are fetched by default. Use --page-size and --page-token for manual
pagination.

```
qcloud serverless space dataset load list <space-id> [flags]
```

### Examples

```
# List the sample dataset loads of a space
qcloud serverless space dataset load list 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60

# Output as JSON
qcloud serverless space dataset load list 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60 --json
```

### Options

```
-h, --help[=true|false] help for list
--no-headers[=true|false] Do not print column headers
--page-size int32 Maximum number of loads to return per page (manual pagination mode)
--page-token string Page token from a previous response to resume from (manual pagination mode)
```

### Options inherited from parent commands

```
--account-id string Qdrant Cloud Account ID (env: QDRANT_CLOUD_ACCOUNT_ID)
--api-key string Management API Key (env: QDRANT_CLOUD_API_KEY)
-c, --config string Config file path (env: QDRANT_CLOUD_CONFIG, default ~/.config/qcloud/config.yaml)
--console-url string Qdrant Cloud web console base URL (env: QDRANT_CLOUD_CONSOLE_URL, default https://cloud.qdrant.io)
--context string Override the active context (env: QDRANT_CLOUD_CONTEXT)
--debug[=true|false] Enable debug logging to stderr
--endpoint string gRPC API endpoint (env: QDRANT_CLOUD_ENDPOINT, default grpc.cloud.qdrant.io:443)
--json[=true|false] Output as JSON
```

### SEE ALSO

* [qcloud serverless space dataset load](qcloud_serverless_space_dataset_load.md) - Manage sample dataset loads of a space

61 changes: 61 additions & 0 deletions docs/reference/qcloud_serverless_space_dataset_load_start.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
## qcloud serverless space dataset load start

Load a sample dataset into a new collection

### Synopsis

Load a sample dataset into a new collection of a serverless space.

The collection is created by the load, so no collection with that name may
exist in the space. Without --collection, the collection gets the ID of the
dataset as its name.

The load is asynchronous: the command returns as soon as the load is accepted.
With --wait it follows the load until it succeeds, and fails when the load
fails (for example because the space reached its collection limit). The load
is printed before the error, so its ID is not lost.

```
qcloud serverless space dataset load start <space-id> <dataset-id> [flags]
```

### Examples

```
# Load a sample dataset into a collection named after the dataset
qcloud serverless space dataset load start 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60 midjourney-styles

# Load a sample dataset into a collection named "styles" and wait until it is done
qcloud serverless space dataset load start 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60 midjourney-styles \
--collection styles --wait

# Start a load and keep its ID for scripting
qcloud serverless space dataset load start 0e7a3c1d-5f2b-4c8e-9a6d-1b2c3d4e5f60 midjourney-styles --json | jq -r .id
```

### Options

```
--collection string Name of the new collection (default: the dataset ID)
-h, --help[=true|false] help for start
--wait[=true|false] Wait for the sample dataset load to finish
--wait-timeout duration Maximum time to wait for the sample dataset load to finish (default 30m0s)
```

### Options inherited from parent commands

```
--account-id string Qdrant Cloud Account ID (env: QDRANT_CLOUD_ACCOUNT_ID)
--api-key string Management API Key (env: QDRANT_CLOUD_API_KEY)
-c, --config string Config file path (env: QDRANT_CLOUD_CONFIG, default ~/.config/qcloud/config.yaml)
--console-url string Qdrant Cloud web console base URL (env: QDRANT_CLOUD_CONSOLE_URL, default https://cloud.qdrant.io)
--context string Override the active context (env: QDRANT_CLOUD_CONTEXT)
--debug[=true|false] Enable debug logging to stderr
--endpoint string gRPC API endpoint (env: QDRANT_CLOUD_ENDPOINT, default grpc.cloud.qdrant.io:443)
--json[=true|false] Output as JSON
```

### SEE ALSO

* [qcloud serverless space dataset load](qcloud_serverless_space_dataset_load.md) - Manage sample dataset loads of a space

Loading