-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
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
How to increase the size of the context? #205
Comments
Just increase the argument haystack/haystack/reader/farm.py Line 35 in 9733e0b
|
To implement this do I need to fork the repo change it in the source code, and then use this repo or is this a parameter we can directly change when we, for example, initialize the reader while working. |
You can pass the argument when you initialize the reader, just like If you are using Haystack via the REST API, you can simply set an environment variable |
Yes, thank you for the solution. |
When I'm printing my output using the
print_answers(prediction, details=' minimal')
, I'm getting an output where the context is in a way trimmed. For example:In the Context Vector, I want to have the full paragraph from which this answer was retrieved as it would help in downstream tasks. What would be the easiest way to achieve this?
The text was updated successfully, but these errors were encountered: