Open rhubarb opened 3 months ago
@rhubarb, thank you for the feedback. I'll get right on it.
@rhubarb, I think the latest main
addresses your issue. I'll cut a release tomorrow.
you can now use chroma_import
as a regular function in your code, and there is chroma_import_cli
, which is the CLI-specific function for typer.
Excellent tool - I'm currently using it as a library in my own CLI, but there are some issues:
I have to set where and where_document to None deliberately when calling chroma_export, because their default values are options, not None - leading to JSON parsing errors.
I can only export to a file or stdout, it would be nice to get the list of docs returned
The collection metadata is not preserved - perhaps an optional line at the top of the jsonl output.