younifyd
Menu

Describe a model

Describe a model

GET/models/{model_name}

Use it in a workflow

  1. Add a step and choose the Pinecone connector.
  2. Pick the Describe a model action (under Inference).
  3. Fill in the fields below, then reference the result from later steps as {{describeAModel.response.data}}.

Request

Path parameters

model_namestringrequired

The name of the model to look up.

Response

Returns 200 with an object. Read it in later steps with {{describeAModel.response.data.<field>}}.

modelstring

The name of the model.

short_descriptionstring

A summary of the model.

typestring

The type of model (e.g. 'embed' or 'rerank').

vector_typestring

Whether the embedding model produces 'dense' or 'sparse' embeddings.

default_dimensioninteger (int32)

The default embedding model dimension (applies to dense embedding models only).

modalitystring

The modality of the model (e.g. 'text').

max_sequence_lengthinteger (int32)

The maximum tokens per sequence supported by the model.

max_batch_sizeinteger (int32)

The maximum batch size (number of sequences) supported by the model.

provider_namestring

The name of the provider of the model.

supported_dimensionsarray<integer (int32)>

The list of supported dimensions for the model (applies to dense embedding models only).

supported_metricsarray<string>

The distance metrics supported by the model for similarity search.

supported_parametersarray<object>

List of parameters supported by the model.

parameterstringrequired

The name of the parameter.

typestringrequired

The parameter type e.g. 'one_of', 'numeric_range', or 'any'. If the type is 'one_of', then 'allowed_values' will be set, and the value specified must be one of the allowed values. 'one_of' is only compatible with value_type 'string' or 'integer'. If 'numeric_range', then 'min' and 'max' will be set, then the value specified must adhere to the value_type and must fall within the `[min, max]` range (inclusive). If 'any' then any value is allowed, as long as it adheres to the value_type.

value_typestringrequired

The type of value the parameter accepts, e.g. 'string', 'integer', 'float', or 'boolean'.

requiredbooleanrequired

Whether the parameter is required (true) or optional (false).

allowed_valuesarray<oneOf>

The allowed parameter values when the type is 'one_of'.

minnumber

The minimum allowed value (inclusive) when the type is 'numeric_range'.

maxnumber

The maximum allowed value (inclusive) when the type is 'numeric_range'.

defaultoneOf

The default value for the parameter when a parameter is optional.

supported_onarray<string>

The APIs and index types this model works with. - `standalone_inference`: The Inference API (`/embed`, `/rerank`). - `integrated_index`: A legacy integrated index created with `create-for-model`. - `document_index`: An `embed` or `sparse_embed` field in a document index schema. Omitted when not set.

json
{
  "model": "multilingual-e5-large",
  "short_description": "multilingual-e5-large",
  "type": "embed",
  "supported_parameters": [
    {
      "parameter": "input_type",
      "type": "one_of",
      "value_type": "string",
      "required": true,
      "allowed_values": [
        null
      ],
      "min": 1,
      "max": 1,
      "default": "END"
    }
  ],
  "vector_type": "string",
  "default_dimension": 1024,
  "modality": "text",
  "max_sequence_length": 512,
  "max_batch_size": 96,
  "provider_name": "NVIDIA",
  "supported_dimensions": [
    1024
  ],
  "supported_metrics": [
    "string"
  ]
}

Need more? See the Pinecone guide for connection setup and behaviour shared by every action.