themissingCRAM commited on
Commit
2f46a72
·
1 Parent(s): a943644
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ class RetrieverTool(Tool):
62
  client = chromadb.PersistentClient(path=CHROMA_DATA_PATH)
63
  collection = client.create_collection(
64
  name=COLLECTION_NAME,
65
- embedding_functions=embedding_func,
66
  metadata={"hnsw:space": "cosine"},
67
  )
68
  collection.add(
 
62
  client = chromadb.PersistentClient(path=CHROMA_DATA_PATH)
63
  collection = client.create_collection(
64
  name=COLLECTION_NAME,
65
+ embedding_function=embedding_func,
66
  metadata={"hnsw:space": "cosine"},
67
  )
68
  collection.add(