default_transforms()
Missing cosine_similarity Transform for Docs with Token Count 101–500
#1932
Labels
default_transforms()
Missing cosine_similarity Transform for Docs with Token Count 101–500
#1932
At:
[default.py#L157](
ragas/src/ragas/testset/transforms/default.py
Line 157 in 2bc29a2
you forgot to add the
cosine_sim_builder
transform to the list of default transforms. While you instantiated thecosine_sim_builder
object, you did not include it inParallel(cosine_sim_builder, ner_overlap_sim)
, as you did in:[default.py#L126](https://github.com/explodinggradients/ragas/blob/2bc29a2b8358ddb6b167fdf7ab0518ad9371463c/src/ragas/testset/transforms/default.py#L126C13-L126C59).
This omission might impact the number of relationships created in the knowledge graph.
Ragas version:
ragas==0.2.13
Python version:
Python 3.10.12
The text was updated successfully, but these errors were encountered: