langchain
langchain copied to clipboard
Added model parameter to OpenAIEmbeddings, enable AzureOpenAI
consistent with openai package. AzureOpenAI can be used by setting env vars. Updated doc as well.
@hwchase17 Updated the PR with document model name and query model name. I was proposing to simplify removing those two - https://github.com/openai/openai-python/issues/132. Perhaps you can plan that in future and move to model param. I mentioned model param for 2nd gen models. While at it, also added doc for usage first gen for model_name one current supported.