Open zane-neo opened 3 months ago
Hi, I'll look into this! Seems like a issue with nesting of depth of 2.
@krishy91 Since we're supporting list of map type, we don't want any limitation on this, e.g. supporting only depth of 2 or 3. We should consider to support deeply nested cases if possible.
Could reproduce the issue. Will push the fix & additional integrration test for such deep nesting cases.
What is the bug?
When configured with deep nested map type configuration in text_embedding processor, the embedding result will override the original value of document key: pipeline configuration:
And simulate the pipeline processor:
Result:
Expected result:
How can one reproduce the bug?
Steps to reproduce the behavior.
What is the expected behavior?
The generated embedding results should be placed in the right position of the document.
What is your host/environment?
Operating system, version.
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.