-
Notifications
You must be signed in to change notification settings - Fork 156
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
#4292 - ollama based recommender #4296
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Basic ollama-based recommender (highly experimental)
- Added different generation and extraction mechanisms - Support JSON mode - Remove dependency on ollama4j for the moment and use own client implementation
reckart
force-pushed
the
feature/4292-ollama-based-recommender
branch
from
November 14, 2023 16:17
659e83b
to
cced7fd
Compare
- Clean up dependencies
reckart
force-pushed
the
feature/4292-ollama-based-recommender
branch
from
November 14, 2023 16:38
cced7fd
to
f43561b
Compare
- Added simple preset mechanism with pre-define presets (i.e. users cannot define their own presets...)
- Added another preset - Allow accessing the surrounding sentence in the per-annotation processing mode
reckart
force-pushed
the
feature/4292-ollama-based-recommender
branch
from
November 14, 2023 18:25
5479205
to
685e65d
Compare
- Renamed some classes - Added generation options (not used atm)
reckart
force-pushed
the
feature/4292-ollama-based-recommender
branch
from
November 14, 2023 20:52
fc42860
to
631577b
Compare
- Renaming classes
* release/30.x: No issue. Fix test. [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release inception-29.9
* main: #34 - Update dependencies #4150 - Upgrade dependencies #4321 - Organize packages #4321 - Organize packages #4321 - Organize packages #4321 - Organize packages #4321 - Organize packages #4321 - Organize packages #4321 - Organize packages #4321 - Organize packages #4321 - Organize packages [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release inception-30.0-rc-1 #4229 - Better project template selection [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release inception-30.0-rc-1 No issue: Set version to 31.0-SNAPSHOT % Conflicts: % inception/inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/service/RecommendationServiceImpl.java
- Refactored prompt generation and response extraction
reckart
force-pushed
the
feature/4292-ollama-based-recommender
branch
from
November 26, 2023 20:39
0c6bfec
to
7b88375
Compare
- Steps towards providing context to prompt templates
- Steps towards few-shot predictions
- Added few-shot example - Fix handling of JSON responses consisting of numbers
- Towards configurable advanced options
* main: No issue: Route message through boot logger.
- Fix import
- Template variable hints
reckart
force-pushed
the
feature/4292-ollama-based-recommender
branch
from
December 1, 2023 20:38
40ac46d
to
ef92437
Compare
* main: #4347 - CAS doctor fails to generate a proper report on projects not containing INITIAL_CASes #4349 - Project has date in the 70ies if no data is set in JSON #4344 - Allow format to inject default namespace if document does not specify one #4342 - Show document size in documents table #4342 - Show document size in documents table No issue: Optimize tracking be excluding elements that contain no text No issue: Avoid scrollbar appearing at wrong level #4340 - Allow pruning elements in XML policy #4338 - Spurious empty annotations in RecogitoJS editor #4324 - Allow configuring UID GID etc in Kubernetes #4335 - Promote UIMA JSON CAS 0.4.0 to non-experimental #4326 - Upgrade dependencies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What's in the PR
How to test manually
recommender.ollama.enabled=true
in thesettings.properties
or using a system propertyAutomatic testing
Documentation