Skip to content
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

[RW-1044] Context expansion #78

Merged
merged 2 commits into from
Aug 27, 2024
Merged

[RW-1044] Context expansion #78

merged 2 commits into from
Aug 27, 2024

Conversation

orakili
Copy link
Contributor

@orakili orakili commented Aug 8, 2024

Refs: RW-1044

Add settings to enrich the context of relevant passages by retrieving adjacent passages.

By default, this is disabled (passages before and after are set to 0) so there is no change to the current behavior.

This also adds a new sentence splitter using the OCHA AI helper: https://github.com/UN-OCHA/ocha_ai_helper. This plugin is completely optional and was used to test context expansion.

Copy link

github-actions bot commented Aug 8, 2024

Monitor coverage for Drupal 10.3.x - PHP 8.3

Totals Coverage
Statements: 87.88% ( 116 / 132 )
Methods: 25% ( 2 / 8 )
Lines: 91.94% ( 114 / 124 )

@orakili orakili added the blocked Do not merge this label Aug 8, 2024
Copy link

github-actions bot commented Aug 8, 2024

Monitor coverage for Drupal 10.2.x - PHP 8.3

Totals Coverage
Statements: 87.88% ( 116 / 132 )
Methods: 25% ( 2 / 8 )
Lines: 91.94% ( 114 / 124 )

Copy link

github-actions bot commented Aug 8, 2024

Monitor coverage for Drupal 10.3.x - PHP 8.2

Totals Coverage
Statements: 87.88% ( 116 / 132 )
Methods: 25% ( 2 / 8 )
Lines: 91.94% ( 114 / 124 )

Copy link

github-actions bot commented Aug 8, 2024

Monitor coverage for Drupal 10.2.x - PHP 8.2

Totals Coverage
Statements: 87.88% ( 116 / 132 )
Methods: 25% ( 2 / 8 )
Lines: 91.94% ( 114 / 124 )

@orakili orakili removed blocked Do not merge this experiment labels Aug 26, 2024
@attiks
Copy link
Collaborator

attiks commented Aug 26, 2024

@orakili
Copy link
Contributor Author

orakili commented Aug 27, 2024

404 on https://github.com/UN-OCHA/ocha_ai_helper?

The repo is currently private under the UN-OCHA org.

@orakili orakili merged commit 6860309 into develop Aug 27, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants