Models API
Lumigator provides a list of suggested models for each task (for instance, summarization, translation, etc.). By calling the model routes you can retrieve suggested models to use in your experiments.
Endpoints
- GET /api/v1/models/
Get Suggested Models
Get a list of suggested models for the given tasks.
Usage: GET api/v1/models/?tasks=summarization&tasks=translation
- Args:
tasks (List[str], optional): The task names to filter by.
- Returns:
ListingResponse[ModelsResponse]: A list of suggested models.
- Query Parameters:
tasks ({'array', 'null'}) – Filter models by task types
- Status Codes:
200 OK – Successful Response
400 Bad Request – Bad Request
500 Internal Server Error – Internal Server Error
422 Unprocessable Entity – Validation Error