Haystack text generation ignoring stop sequences in Kubernetes
Problem Description In a Kubernetes‑deployed Haystack microservice stack, the generate endpoint returns text that continues past the user‑specified stop sequence. The symptom is observable both in API responses and in logs such as: GenerationError: stop token not found in generated sequence – stop=’\nAnswer:’ Traceback (most recent call last): File “/app/pipelines/generation.py”, line 112, in _run_generation generated … Read more