Find answers from the community

Updated 4 months ago

Is there a guide to setting up Llama?

At a glance
Is there a guide to setting up Llama?
T
F
3 comments
You can get started with this tutorial which is very simple:

Plain Text
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader

documents = SimpleDirectoryReader("data").load_data()
index = VectorStoreIndex.from_documents(documents)

query_engine = index.as_query_engine()
response = query_engine.query("What did the author do growing up?")
print(response)


https://docs.llamaindex.ai/en/stable/getting_started/starter_example/
Add a reply
Sign up and join the conversation on Discord