opengpts
opengpts copied to clipboard
Is `YDC` environment variable required? How to disable it?
I installed requirements and added OpenAI key and Redis URL, now getting ydc_api_key not found error. How can I disable it?
Did not find ydc_api_key, please add an environment variable `YDC_API_KEY` which contains it, or pass `ydc_api_key` as a named parameter. (type=value_error)
Same here. It shouldn't be mandatory option I assume.
Specially because You.com does not provide a friendly free plan for developers. Just a trial that forces you to provide a credid card. Not ideal for prototyping. We have others alternatives.
Since it is a work in progress just setup your api.you.com account with a temp credit card for now.
You can skip this step with export YDC_API_KEY=test
Just set it to any random value
The repo .env only has two keys in it, whereas the GCP .env sample has them all. If the code is going to require a placeholder for every key (as it does now), then the .env should have them all too. Of course, would be better to have all the API keys be required only if/when you use a particular tool.
@Suleman-Elahi did you set a random value for all the other api keys? Seems like there's an error if keys aren't set.
@Suleman-Elahi did you set a random value for all the other api keys? Seems like there's an error if keys aren't set.
Yea I set the environment variables with a random value.