Reference: Info | Azure Machine Learning
Returns the information about the model deployed under the endpoint.
GET /info?api-version=2024-04-01-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
api-version | query | True | string | The version of the API in the format "YYYY-MM-DD" or "YYYY-MM-DD-preview". |
Request Header
Name | Required | Type | Description |
---|---|---|---|
azureml-model-deployment | string | Name of the deployment you want to route the request to. Supported for endpoints that support multiple deployments. |
Responses
Name | Type | Description |
---|---|---|
200 OK | ModelInfo | OK |
Security
Authorization
The token with the Bearer:
prefix, e.g. Bearer abcde12345
Type: apiKey
In: header
AADToken
Azure Active Directory OAuth2 authentication
Type: oauth2
Flow: application
Token URL: https://login.microsoftonline.com/common/oauth2/v2.0/token
Examples
Get model information from a chat completion model
Sample Request
GET /info?api-version=2024-04-01-preview
Sample Response
Status code: 200
{
"model_name": "phi3-mini",
"model_type": "chat_completion",
"model_provider_name": "Microsoft"
}
Definitions
Name | Description |
---|---|
ModelInfo | The information about the deployed model. |
ModelType | The infernce task associated with the mode. |
ModelInfo
The information about the deployed model.
Name | Type | Description |
---|---|---|
model_name | string | The name of the model. |
model_provider_name | string | The provider of the model. |
model_type | ModelType | The infernce task associated with the mode. |
ModelType
The infernce task associated with the mode.
Name | Type | Description |
---|---|---|
audio_generation | string | A text-to-audio generative model. |
chat_completion | string | A model capable of taking chat-formatted messages and generate responses. |
embeddings | string | A model capable of generating embeddings from a text. |
image_embeddings | string | A model capable of generating embeddings from an image and text description. |
image_generation | string | A model capable of generating images from an image and text description. |
text_generation | string | A text generation model. |
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru