mirror of https://github.com/hwchase17/langchain
use openai_organization as argument (#2566)
Added support for passing the openai_organization as an argument, as it was only supported by the environment variable but openai_api_key was supported by both environment variables and arguments. `ChatOpenAI(temperature=0, model_name="gpt-4", openai_api_key="sk-****", openai_organization="org-****")`pull/2572/head
parent
544cc7f395
commit
f7f118e021
Loading…
Reference in New Issue