Skip to content

Commit

Permalink
use name parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyphantom committed Apr 17, 2023
1 parent a5c6996 commit 4dd1d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 6_team.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

def create_embedding_store(name):
chroma_client = chromadb.Client()
return chroma_client.create_collection("newspieces")
return chroma_client.create_collection(name)

def query_pages(collection, urls, questions):
docs = TrafilaturaWebReader().load_data(urls)
Expand Down

0 comments on commit 4dd1d58

Please sign in to comment.