simplify the app using typer
This commit is contained in:
@@ -122,6 +122,7 @@ delete-collection | dc <collection>
|
||||
count | co <collection>
|
||||
add-data | ad <collection> <file>
|
||||
query | q <collection> <query_text>
|
||||
delete | del <collection> --where <condition>=<value>
|
||||
```
|
||||
|
||||
### Examples
|
||||
@@ -162,6 +163,12 @@ Delete a collection:
|
||||
chromy delete-collection notes
|
||||
```
|
||||
|
||||
Delete records by metadata:
|
||||
|
||||
```bash
|
||||
chromy delete notes --where file_name=example.txt
|
||||
```
|
||||
|
||||
## How ingestion works
|
||||
|
||||
When you run `add-data`, the file is:
|
||||
|
||||
Reference in New Issue
Block a user