Skip to content

Allow use as library in addition to command line #129

@rhubarb

Description

@rhubarb

Excellent tool - I'm currently using it as a library in my own CLI, but there are some issues:

  1. 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.

  2. I can only export to a file or stdout, it would be nice to get the list of docs returned

  3. The collection metadata is not preserved - perhaps an optional line at the top of the jsonl output.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions