You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the bug?
I am creating a text embedding processor that creates vectors on a nested field. However, I receive illegal_argument_exception because not all the fields in the object meet the requirement
string
map
string list
Here is the explanation from the AWS support specialist
Our internal team informed me that this exception happened when the “id” under “brand” field has int value that is not supported by the text embedding processor from ingestion pipeline, and the fields inside the complex type must be of types: string, map or list.
However, I am not creating vectors on id so I don't understand why it must follow these requirements. Is this expected behaviour or is this a bug?
How can one reproduce the bug?
Steps to reproduce the behavior:
{
"failures": {
"index": "neural-search-index-v2",
"id": "5302821",
"cause": {
"type": "illegal_argument_exception",
"reason": "list type field [category] has empty string, cannot process it"
},
"status": 400
},
...
}
Do you have any additional context?
invalid doc
{
"brand": {
"id": 123, // cannot be integer"description": {
"en": "en description female",
"fr": ""// cannot be empty string
}
...
},
"category": {
"id": "123", // valid string"sizes": [
"XS",
"XL",
"", // elements in list cannot be empty strings123// elements in list cannot be integers...
]
}
}
valid doc
{
"brand": {
"id": "123",
"description": {
"en": "en description"
}
...
},
"category": {
"id": "123",
"sizes": [ ] // empty list is valid
}
}
The text was updated successfully, but these errors were encountered:
What is the bug?
I am creating a text embedding processor that creates vectors on a nested field. However, I receive
illegal_argument_exception
because not all the fields in the object meet the requirementHere is the explanation from the AWS support specialist
However, I am not creating vectors on
id
so I don't understand why it must follow these requirements. Is this expected behaviour or is this a bug?How can one reproduce the bug?
Steps to reproduce the behavior:
What is the expected behavior?
should create vectors on category name
What is your host/environment?
Do you have any screenshots?
Do you have any additional context?
invalid doc
valid doc
The text was updated successfully, but these errors were encountered: