TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/No-Country-simulation/G9-LATAM-Team-58/llms.txt
Use this file to discover all available pages before exploring further.
/model endpoint surfaces metadata about the machine learning model that is currently powering Mindloom’s classification and embedding pipeline. This is a thin proxy: the API fetches model information from the inference service’s internal /model/info endpoint and returns a trimmed summary. Use this endpoint to verify which model artifact is running, confirm the embedding dimension before performing vector operations, or display model quality metrics in a developer dashboard.
Endpoint
http://localhost:8080Auth: None required
Query parameters: None
How it works
The Spring API controller delegates toIModelService, which calls the inference service at http://inference:8000/model/info and maps the full ModelInfoResponse payload to the smaller ModelResponse object returned here. If the inference service is unavailable, the request fails with a 503.
Response — 200 OK
A successful request returns aModelResponse object.
Model artifact version string (e.g.
"v1").HuggingFace model identifier used to generate embeddings. Currently
"intfloat/multilingual-e5-small". This value originates from the model artifact metadata stored at training time.Embedding vector dimension. Currently
384, corresponding to the output size of intfloat/multilingual-e5-small.Macro-averaged F1 score measured during model evaluation, expressed as a value between
0 and 1. A higher score indicates better balanced classification performance across all categories.Example
Request
Response
Error Codes
| HTTP Status | error code | Description |
|---|---|---|
503 | INTERNAL_ERROR | The inference service is unreachable. Ensure the inference container is running and accessible at http://inference:8000. |