Skip to content

Refactor and make HealthLLM.jl more modular and easy to use - #21

Open
ParamThakkar123 wants to merge 20 commits into
mainfrom
refactor
Open

Refactor and make HealthLLM.jl more modular and easy to use#21
ParamThakkar123 wants to merge 20 commits into
mainfrom
refactor

Conversation

@ParamThakkar123

Copy link
Copy Markdown
Collaborator

No description provided.

@TheCedarPrince TheCedarPrince left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's keep the conversation going here.

Comment thread src/utils.jl
Comment thread src/utils.jl
Comment thread src/utils.jl
Comment thread src/HealthLLM.jl
Comment thread test/runtests.jl
Comment thread docs/src/index.md Outdated
- Resolved merge conflicts in .gitignore, Project.toml, docs/src/index.md,
  src/HealthLLM.jl, src/database.jl, src/query.jl, src/utils.jl, test/runtests.jl
- Removed src/embedding.jl and src/pgvector.jl (deleted by other branch;
  functionality inlined into utils.jl and database.jl respectively)
- Added missing  imports to HealthLLM module
- Added docstrings with arguments, returns, and examples to public functions
- Updated docs example to show full pipeline
- docs/src/index.md: Full pipeline guide covering file collection,
  model registration, embedding building/validation/storage, RAG querying,
  and database query usage
- src/utils.jl: Add docstrings to build_index_rag, get_schema,
  HuggingFaceLoadResult, load_huggingface_model, register_models
- test/: Fix UtilsTest, DatabaseTest, QueryTest with proper module imports;
  remove stale PgvectorTest/EmbeddingTest; add pipeline tests;
  remove DrWatson dependency; fix test/Project.toml deps
- Project.toml: Add DrWatson compat entry for Aqua compliance
@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 48.27586% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.78%. Comparing base (8c40129) to head (677f98e).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/database.jl 25.00% 15 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #21       +/-   ##
===========================================
+ Coverage   27.27%   60.78%   +33.51%     
===========================================
  Files           4        4               
  Lines          88      102       +14     
===========================================
+ Hits           24       62       +38     
+ Misses         64       40       -24     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TheCedarPrince TheCedarPrince left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Quick comment @ParamThakkar123 :

Could you give me an executive summary in your own words of what all you did here as well as how I should use this and test it out?

@ParamThakkar123

Copy link
Copy Markdown
Collaborator Author

Sure @TheCedarPrince

  • I added docstrings to all public functions
  • Added a usage guide which covers all the points we discussed and wrote down in HackMD
  • Added tests for all public functions

@ParamThakkar123

ParamThakkar123 commented Jun 21, 2026

Copy link
Copy Markdown
Collaborator Author

And I have also added a script for you to test the pipeline, you will need ollama and pgvector setup to run the script. the script is present in the root folder as script.jl

@ParamThakkar123

Copy link
Copy Markdown
Collaborator Author

@TheCedarPrince

here's a screenshot of llama3.2 run using script.jl

image

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.

2 participants