Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enable Chirpy to capture human non-linear conversational flow by allowing WIKI to takeover rg when there exists entities that can be linked with Wikipedia data. After WIKI is done with discussing the takeover_entity, it will handback control to the previously active rg and resume the conversation. Note that the takeover text is generated by looking up the spans of the takeover entity in the wiki page of the entity being taken over. If none of the texts are found, it will find the spans of the entity being taken over mentioned in the wiki page of takeover entity. If it still returns None, it will use neural response instead. However, if the neural response is not relevant enough, WIKi rg will return None and the takeover will not occur. (logging_rich available in ChirpyCardinal-2021 is added to this file as well).
The main changes that are made are: