Log in
Log into community
Find answers from the community
Most posts
Powered by
Hall
Home
Members
NorrisZhu
N
NorrisZhu
Offline
, last seen 3 months ago
Joined September 25, 2024
Contributions
Comments
Replies
N
NorrisZhu
last year
·
Chroma
create a collection
chroma_collection = chroma_client.create_collection("newspieces")
print(chroma_collection.count())
documents = SimpleDirectoryReader("news").load_data()
print(documents)
print(type(documents))
index = GPTVectorStoreIndex.from_documents(documents, chroma_collection=chroma_collection, show_progress=True)
1 comment
L