Maurizio Dipierro
commited on
Commit
·
d706505
1
Parent(s):
09d3c66
call create-database
Browse files- create_database.py +4 -0
create_database.py
CHANGED
@@ -69,3 +69,7 @@ def save_to_chroma(chunks: list[Document]):
|
|
69 |
)
|
70 |
db.persist()
|
71 |
print(f"Saved {len(chunks)} chunks to {CHROMA_PATH}.")
|
|
|
|
|
|
|
|
|
|
69 |
)
|
70 |
db.persist()
|
71 |
print(f"Saved {len(chunks)} chunks to {CHROMA_PATH}.")
|
72 |
+
|
73 |
+
|
74 |
+
if __name__ == "__main__":
|
75 |
+
main()
|