techleadhd / chatgpt-retrieval

1.68k stars 802 forks source link

Keep API keys out of the code. #31

Closed gfranxman closed 1 year ago

gfranxman commented 1 year ago

Just a minor adjustment to keep people from leaking their keys.

techleadhd commented 1 year ago

this might be a matter of preference. to keep things simple, i'm favoring keeping the api key in the code, since setting up env vars is one more thing to learn for new folks.