File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/concepts/test_data_generation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ You can write your own [custom relationship builder]() to establish the relation
170170
171171``` python
172172from ragas.testset.graph import KnowledgeGraph
173- from ragas.testset.transforms.relationship_builders.cosine import JaccardSimilarityBuilder
173+ from ragas.testset.transforms.relationship_builders.traditional import JaccardSimilarityBuilder
174174
175175kg = KnowledgeGraph(nodes = sample_nodes)
176176rel_builder = JaccardSimilarityBuilder(property_name = " entities" , key_name = " PER" , new_property_name = " entity_jaccard_similarity" )
@@ -287,4 +287,4 @@ class EntityQuerySynthesizer(QuerySynthesizer):
287287 """
288288
289289 return SingleTurnSample(user_input = query, reference_contexs = contexts, reference = reference)
290- ```
290+ ```
You can’t perform that action at this time.
0 commit comments