edbctl aimodel v1

The edbctl aimodel command manages AI model resources. Use it to list available AI models, AI model functions, and model server clusters.

Commands

edbctl aimodel command has the following options:

edbctl aimodel list-functions

Display a list of all available AI model functions, such as text-generation and reranking. Use the --query flag to filter results.

edbctl aimodel list-functions [flags]

Where flags are:

    --query string     Search query to filter model functions.
-c, --credential string The credential created via the 'credential create' command. The default is fetched from 'context_credential'.
-o, --output string    [table json yaml xml json-raw] (default "table")
-h, --help             Help for list-functions.

These examples show how to list AI model functions:

edbctl aimodel list-functions
edbctl aimodel list-functions --query "text-generation"

edbctl aimodel list-model-server-clusters

Display a list of all model server clusters, including cluster ID, name, status, external URI, internal URI, associated AI model ID, and tags. Use the --name or --id flags to filter results.

edbctl aimodel list-model-server-clusters [flags]

Where flags are:

-i, --id string         Show detailed information for a specific model server cluster by ID.
-n, --name string       Filter by model server cluster name.
    --model-name string Filter by associated model name.
-c, --credential string The credential created via the 'credential create' command. The default is fetched from 'context_credential'.
-o, --output string     [table json yaml xml json-raw] (default "table")
-h, --help              Help for list-model-server-clusters.

These examples show how to list model server clusters:

# List all model server clusters
edbctl aimodel list-model-server-clusters

# Filter by cluster name
edbctl aimodel list-model-server-clusters --name my-cluster

# Show detailed information about a specific cluster
edbctl aimodel list-model-server-clusters --id msc-abcdefg

edbctl aimodel list-models

Display a list of all available AI models with filtering options, or show detailed information about a specific model using the --id flag.

edbctl aimodel list-models [flags]

Where flags are:

    --query string      Full-text search across model properties.
    --provider strings  Filter by AI model provider (e.g., nvidia,openai,huggingface).
    --function strings  Filter by model functions (e.g., text-generation,embedding).
-i, --id string         Show detailed information for a specific AI model by ID.
-c, --credential string The credential created via the 'credential create' command. The default is fetched from 'context_credential'.
-o, --output string     [table json yaml xml json-raw] (default "table")
-h, --help              Help for list-models.

These examples show how to list AI models:

# List all AI models
edbctl aimodel list-models

# Filter by provider
edbctl aimodel list-models --provider nvidia,openai

# Filter by function
edbctl aimodel list-models --function "text-generation,embedding"

# Combine filters
edbctl aimodel list-models --provider nvidia --function "instruction-following" --query "llama"

# Show detailed information about a specific model
edbctl aimodel list-models --id ai-model-12345