Find answers from the community

Updated last year

Hey! In the new version how can i

At a glance
Hey! In the new version how can i specify a node parser? Something like this?

index = VectorStoreIndex.from_documents(
documents, storage_context=storage_context, llm=llm, embed_model=embed_model, node_parser=MarkdownNodeParser()
)
L
1
2 comments
Plain Text
index = VectorStoreIndex.from_documents(..., embed_model=embed_model, transformations=[MarkdownNodeParser()])


And then the LLM goes into where its used (like as_query_engine)

index.as_query_engine(llm=llm)
Thanks for the quick reply! πŸ‘
Add a reply
Sign up and join the conversation on Discord