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

Larger context for a group of users #745

Open
margaretha opened this issue Jan 15, 2024 · 2 comments
Open

Larger context for a group of users #745

margaretha opened this issue Jan 15, 2024 · 2 comments

Comments

@margaretha
Copy link
Contributor

margaretha commented Jan 15, 2024

There is a requirement to be able search with a larger context (surface text) exceeding usual restriction (token context limit), for a particular group of users.

@margaretha
Copy link
Contributor Author

margaretha commented Apr 19, 2024

We decided to break this case into 3 level of configurations:

  1. System wide (Krill configuration)
    Default setup in a config file. This should be security boundaries.

  2. Instance wide (Kustvakt configuration)
    An additional setup may be configured in Kustvakt configuration, that may be different from the one in the Krill config (1) but should not exceed the security boundaries in the Krill config. Kustvakt should check requested contexts based on the numbers in its config, and add rewrite when the requested contexts are larger than allowed.

  3. User wide
    Kustvakt manage which users may have larger context through query rewrites.

@margaretha margaretha added this to the 0.73.2 milestone May 21, 2024
@margaretha
Copy link
Contributor Author

The 1st option is done in Krilll (see KorAP/Krill#128)

There was a misunderstanding regarding the 2nd option. Kustvakt should not change the default setup as it serves security measures. Kustvakt may change context size using rewrite.

@margaretha margaretha modified the milestones: 0.73.2, 0.73.3 Jun 12, 2024
@margaretha margaretha removed this from the 0.74 milestone Aug 19, 2024
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

No branches or pull requests

1 participant