Log in
Log into community
Find answers from the community
Most posts
Powered by
Hall
Home
Members
lostAF
l
lostAF
Offline
, last seen 6 months ago
Joined September 25, 2024
Contributions
Comments
Replies
l
lostAF
2 years ago
·
Hey all I was wondering if the following
Hey all, I was wondering if the following example would work if I were to change the LLM to a hugging face one, or if its strictly openAI?
from llama_index import GPTSimpleVectorIndex, SimpleDirectoryReader
documents = SimpleDirectoryReader('data4').load_data()
index = GPTSimpleVectorIndex(documents)
response = index.query("Question here")
23 comments
l
L
h
B