-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check that required arguments for a given database are specified #77
Comments
Possible solutions as suggested by Chat-GPT:
Q: Does Python have any libraries which can simplify implementing this?
|
While ChatGPT's suggestion of |
Different databases require different arguments - for example:
pinecone
requires that--pinecone_api_key
and--pinecone_index_name
are specified.pgvector
requires that--pgvector_username
and--pgvector_password
are specified.Currently this is not validated as part of parsing the command-line options, and will only be detected later on when we attempt to initialise the given database, which isn't necessarily clear to the user. We should add explicit checking so the user gets a message as soon as possible.
The text was updated successfully, but these errors were encountered: