We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the bug? Bedrock embedding model can't generate embeddings for multiple text inputs.
How can one reproduce the bug? Steps to reproduce the behavior:
POST _plugins/_ml/_predict/text_embedding/<model_id> { "text_docs":[ "hello world", "today is sunny"], "return_number": true, "target_response": ["sentence_embedding"] }
Can see only one embedding generated.
What is the expected behavior? Should generate embeddings for all text inputs.
What is your host/environment?
Do you have any screenshots? No
Do you have any additional context? No
The text was updated successfully, but these errors were encountered:
@zane-neo This caused by #1958. Can you help fix this ?
Sorry, something went wrong.
This has a workaround which is to update the connector info adding step size like below:
PUT /_plugins/_ml/connectors/{connector_id} { "parameters": { "service_name": "bedrock", "input_docs_processed_step_size": "1", "region": "{your_region}" } }
Also, will create PR to fix this.
Closing this issue as it is resolved now.
zane-neo
No branches or pull requests
What is the bug?
Bedrock embedding model can't generate embeddings for multiple text inputs.
How can one reproduce the bug?
Steps to reproduce the behavior:
Can see only one embedding generated.
What is the expected behavior?
Should generate embeddings for all text inputs.
What is your host/environment?
Do you have any screenshots?
No
Do you have any additional context?
No
The text was updated successfully, but these errors were encountered: