For the examples, they rely currently on everything being in .env, which is great when your .env is setup correctly, but is confusing when its not, since the error messages talk about constructor parameter names.
Some ideas:
- Including env variable names in error messages as well ("this parameter can also be set via the en variable bla")
- Always explicitly passing in every necessary parameter name, like deployment_name=os.get_env("AZURE_CHAT_DEPLOYMENT_NAME")
- at least put the required env variable names in each example above the Client()
- Make a .env.sample with everything that might be needed for all the samples
My preference is #2!