Skip to content

Commit

Permalink
Update testset_generator.py
Browse files Browse the repository at this point in the history
fix import of SimpleNodeParser
  • Loading branch information
ferdinandl007 authored Nov 16, 2023
1 parent 32431d6 commit 00a6fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ragas/testset/testset_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from langchain.prompts import ChatPromptTemplate
from langchain.schema.document import Document as LangchainDocument
from llama_index.indices.query.embedding_utils import get_top_k_embeddings
from llama_index.node_parser.simple import SimpleNodeParser
from llama_index.node_parser import SimpleNodeParser
from llama_index.readers.schema import Document as LlamaindexDocument
from llama_index.schema import BaseNode
from numpy.random import default_rng
Expand Down

0 comments on commit 00a6fe5

Please sign in to comment.