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

Add Structural Annotations and Vector Embeddings #116

Merged
merged 16 commits into from
May 27, 2024

Conversation

JSv4
Copy link
Owner

@JSv4 JSv4 commented May 26, 2024

Added a couple major features in preparation for more advanced analytics:

  1. A vector embeddings column using pgvector to store vector embeddings for annotations and documents.
  2. A vector embeddings microservice to generate vector embeddings
  3. A modified nlm-ingestor microservice to create PAWLs token data layers and layout
    1. The old grobid-based one I forked from AllenAI has some funky output sometimes anyway, so planning to totally deprecate that.

Copy link

codecov bot commented May 26, 2024

Codecov Report

Attention: Patch coverage is 54.65116% with 39 lines in your changes are missing coverage. Please review.

Project coverage is 65.36%. Comparing base (51f05f2) to head (3f67012).
Report is 1 commits behind head on main.

Files Patch % Lines
opencontractserver/tasks/embeddings_task.py 36.66% 19 Missing ⚠️
opencontractserver/utils/embeddings.py 32.14% 19 Missing ⚠️
opencontractserver/tasks/doc_tasks.py 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #116      +/-   ##
==========================================
- Coverage   66.06%   65.36%   -0.71%     
==========================================
  Files          48       51       +3     
  Lines        2178     2249      +71     
==========================================
+ Hits         1439     1470      +31     
- Misses        739      779      +40     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JSv4
Copy link
Owner Author

JSv4 commented May 27, 2024

Will improve coverage in another PR.

@JSv4 JSv4 merged commit ef648e4 into main May 27, 2024
3 of 5 checks passed
@JSv4 JSv4 deleted the JSv4/add-annotation-and-doc-embeddings branch May 27, 2024 00:07
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.

None yet

1 participant