-
- Downloads
Merge pull request #38 from digriffiths/add_tfidf
feat: Add tfidf
Showing
- .env.example 1 addition, 1 deletion.env.example
- LICENSE 1 addition, 1 deletionLICENSE
- docs/examples/hybrid-layer.ipynb 61 additions, 27 deletionsdocs/examples/hybrid-layer.ipynb
- poetry.lock 23 additions, 102 deletionspoetry.lock
- semantic_router/encoders/__init__.py 2 additions, 0 deletionssemantic_router/encoders/__init__.py
- semantic_router/encoders/tfidf.py 80 additions, 0 deletionssemantic_router/encoders/tfidf.py
- semantic_router/hybrid_layer.py 29 additions, 21 deletionssemantic_router/hybrid_layer.py
- tests/unit/encoders/test_bm25.py 1 addition, 1 deletiontests/unit/encoders/test_bm25.py
- tests/unit/encoders/test_tfidf.py 82 additions, 0 deletionstests/unit/encoders/test_tfidf.py
- tests/unit/test_hybrid_layer.py 30 additions, 2 deletionstests/unit/test_hybrid_layer.py
Loading
Please register or sign in to comment