svilupp / PromptingTools.jl

Streamline your life using PromptingTools.jl, the Julia package that simplifies interacting with large language models.
https://svilupp.github.io/PromptingTools.jl/dev/
MIT License
96 stars 9 forks source link

Implement E2E Hybrid retrieval (BM25 + embeddings) #159

Closed svilupp closed 1 month ago

svilupp commented 1 month ago

Closes https://github.com/svilupp/PromptingTools.jl/issues/119

For example usage, see the last example in ?airag.

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 93.01%. Comparing base (8fd485a) to head (7d76fba).

Files Patch % Lines
src/Experimental/RAGTools/retrieval.jl 78.94% 4 Missing :warning:
src/Experimental/RAGTools/preparation.jl 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #159 +/- ## ========================================== + Coverage 92.69% 93.01% +0.31% ========================================== Files 43 43 Lines 3574 3594 +20 ========================================== + Hits 3313 3343 +30 + Misses 261 251 -10 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.