Is there an existing issue for this?
How to reproduce the issue
- create a new Model with "embeddings" capability
- the TAG is prefilled with "embeddings"
- Save the new model
Expected Result
Tag is added in the database and shown in the UI as a tag
Actual Results
It is not added with the "embeddings" tag
Additional Context
Reported this as a UI bug initially but after investigation the code of CreateModelEngineReactor.java does not store the tag only the description (line 173) with updateEngineMetadata if provided
Pixel example being called example (with tag provided)
CreateModelEngine(model = ["test"], modelDetails = [{
"NAME": "test",
"TAG": "embeddings",
"MODEL_TYPE": "BEDROCK",
"MODEL_BRAND": "BEDROCK",
"MODEL": "amazon.nova-2-multimodal-embeddings-v1:0",
"VAR_NAME": "myModel",
"AWS_REGION": "us-east-1",
"AWS_ACCESS_KEY": "test",
"AWS_SECRET_KEY": "test",
"KEEP_INPUT_OUTPUT": "true",
"KEEP_CONVERSATION_HISTORY": "true",
"INIT_MODEL_ENGINE": "import genai_client;${VAR_NAME} = genai_client.BedrockEmbedder(modelId = '${MODEL}', region='${AWS_REGION}', access_key = '${AWS_ACCESS_KEY}', secret_key = '${AWS_SECRET_KEY}')"
}
])
Requirements or Tasks
No response
Have you reproduced the issue with at least the latest released version?
I have checked my terminal/console and have included relevant text here?
Is there an existing issue for this?
How to reproduce the issue
Expected Result
Tag is added in the database and shown in the UI as a tag
Actual Results
It is not added with the "embeddings" tag
Additional Context
Reported this as a UI bug initially but after investigation the code of CreateModelEngineReactor.java does not store the tag only the description (line 173) with updateEngineMetadata if provided
Pixel example being called example (with tag provided)
Requirements or Tasks
No response
Have you reproduced the issue with at least the latest released version?
I have checked my terminal/console and have included relevant text here?