aws-samples / aws-samples/amazon-bedrock-samples
AWS reranker model: Model Error, Error while deserializing header: HeaderTooLarge : 400
- Dominant language
- Jupyter Notebook
- Stars
- 1.5k
- Forks
- 734
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 4
Description
2024-09-30T09:41:15,449 [INFO ] W-model-3-stdout com.amazonaws.ml.mms.wlm.WorkerLifeCycle - mms.service.PredictionException: Error while deserializing header: HeaderTooLarge : 400
I got an error when trying to activate this line of code:
response = predictor.predict({
"query": query,
"documents" : documents,
"topk" : topk
})
Contributor guide
Research direction
No repository file or test is identified. Start by reproducing the failure at the predictor.predict entry point with the shown query, documents, and topk inputs, then inspect the resulting model-service error. Done means identifying the cause of the HeaderTooLarge deserialization failure and documenting a verified working request or a focused fix location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- ai, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100