add documents

This commit is contained in:
2026-04-21 15:28:20 +02:00
parent 746b951f0b
commit 18f26815e3
5 changed files with 70 additions and 12 deletions
+8
View File
@@ -32,4 +32,12 @@ def build_parser() -> argparse.ArgumentParser:
)
count_parser.add_argument("name", help="Name of the collection to count.")
add_parser = subparsers.add_parser(
"add-data",
aliases=["ad"],
help="Chunk, embed, and add a file to a collection in the local Chroma database.",
)
add_parser.add_argument("collection", help="Name of the target collection.")
add_parser.add_argument("file", help="Path to the file to chunk and add to the collection.")
return parser