Models

Get models

Fetch models


GET /models

Response

{
    {
		"model_id": 1,
		"model_name": "philschmid/flan-t5-base-samsum"
	},
	{
		"model_id": 2,
		"model_name": "gpt-3.5-turbo"
	},
	{
		"model_id": 3,
		"model_name": "gpt-3.5-turbo-instruct"
	},
	{
		"model_id": 4,
		"model_name": "text-davinci-003"
	},
	{
		"model_id": 6,
		"model_name": "gpt-4"
	}
}

Code Samples

Bash

curl --request GET \
  --url 'https://premium.aiera.com/api/nlu/v1.0/models' \
  --header 'X-API-Key: xxx'

Python

import requests
requests.request(
    "GET", 
    "https://premium.aiera.com/api/nlu/v1.0/models", 
    headers={"X-API-Key": "xxx"}
)
Previous
Introduction