Closed rizahmeds closed 10 months ago
Place API KEY and URL as environment variable instead of in YAML config file.
Currently cohere and qdrant api keys are in a yaml config file.
Use .env file to store api keys and url as environment variables.
config.yml(File) is in .gitignore so that Git should ignore this file. But that is not an appropriate way to handle it.
This is a sensitive data and user can accidentally commit this file.
We can use python-dotenv module to read environment variables from .env file.
Hi @rizahmeds thanks for the Issue. Yes, we are sorting that feature out. And in the webapp there is a better way to handle those API keys.
Issue Title
Place API KEY and URL as environment variable instead of in YAML config file.
Type
Description
Currently cohere and qdrant api keys are in a yaml config file.
Expected Behavior
Use .env file to store api keys and url as environment variables.
Current Behavior
config.yml(File) is in .gitignore so that Git should ignore this file. But that is not an appropriate way to handle it.
This is a sensitive data and user can accidentally commit this file.
Steps to Reproduce
Screenshots / Code Snippets (if applicable)
Environment
Possible Solution (if you have any in mind)
We can use python-dotenv module to read environment variables from .env file.
Additional Information