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

Annotation retrieval and textualization #383

Merged
merged 23 commits into from
Nov 25, 2024
Merged

Conversation

JuliaS92
Copy link
Collaborator

@JuliaS92 JuliaS92 commented Nov 21, 2024

Introducing the annotation store, that holds all the info grabbed from uniprot during a session for any feature.

Also introducing puzzling together the information into a string that can be fed to the LLM.

Next step would be to introduce a checkbox list to select which fields to actually use and feed that to the LLM.

I still need to write/fix tests but feel free to comment besides that already.

EDIT: I introduced the checkbox list, but it is not linked to the LLM yet. I added/moved loads of tests, but am not yet at complete coverage. I would make this a proper PR now and start addressing comments from #378 in a new child branch

@JuliaS92 JuliaS92 marked this pull request as ready for review November 22, 2024 15:21
alphastats/gui/pages/06_LLM.py Show resolved Hide resolved
alphastats/gui/pages/06_LLM.py Show resolved Hide resolved
alphastats/gui/pages/06_LLM.py Show resolved Hide resolved
alphastats/gui/utils/llm_helper.py Show resolved Hide resolved
alphastats/gui/utils/llm_helper.py Show resolved Hide resolved
alphastats/llm/uniprot_utils.py Show resolved Hide resolved
alphastats/llm/uniprot_utils.py Show resolved Hide resolved
alphastats/llm/uniprot_utils.py Show resolved Hide resolved
alphastats/llm/uniprot_utils.py Show resolved Hide resolved
@JuliaS92 JuliaS92 mentioned this pull request Nov 25, 2024
Copy link
Collaborator

@boopthesnoot boopthesnoot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

alphastats/gui/pages/06_LLM.py Show resolved Hide resolved
alphastats/gui/utils/llm_helper.py Show resolved Hide resolved
alphastats/llm/uniprot_utils.py Outdated Show resolved Hide resolved
tests/llm/test_llm_helper.py Outdated Show resolved Hide resolved
@JuliaS92 JuliaS92 merged commit 9b6131a into idhandling-ii Nov 25, 2024
1 of 5 checks passed
@JuliaS92 JuliaS92 deleted the annotation-retrieval branch November 25, 2024 11:59
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