Skip to content

Design change: require filename (or -) #3

@simonw

Description

@simonw

The tool currently lets you do this:

cat data.csv | openai-to-sqlite embeddings embeddings.db

But this is a bit weird, it means if you run openai-to-sqlite embeddings embeddings.db it will hang waiting for input.

If you want to specify a file you have to use the -i option:

openai-to-sqlite embeddings embeddings.db -i data.csv

I'm going to change it to require the filename as a positional argument, and support - to mean standard input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions