You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a combination of detectors, at least one of which depends on the whole document chunker (whole_doc_chunker) and another which depends on another chunker (e.g. a sentence tokenizer) in a streaming generation with classification request, currently returns an empty result.
Instead with the current aggregation strategy, we would expect the result to not appear "streaming" and just return like a unary result, since the whole document chunker has to process/return the entire text.
Update: This may have implications on any use of any combination of differing types of chunkers
Describe the bug
Given a combination of detectors, at least one of which depends on the whole document chunker (
whole_doc_chunker
) and another which depends on another chunker (e.g. a sentence tokenizer) in a streaming generation with classification request, currently returns an empty result.Instead with the current aggregation strategy, we would expect the result to not appear "streaming" and just return like a unary result, since the whole document chunker has to process/return the entire text.
Update: This may have implications on any use of any combination of differing types of chunkers
Sample Code
Config with two detectors example
Call example
Expected behavior
Results that look "unary" i.e. whole document results are returned
Observed behavior
No results
The text was updated successfully, but these errors were encountered: