langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Added model parameter to OpenAIEmbeddings, enable AzureOpenAI

Open ghaccount opened this issue 1 year ago • 1 comments

consistent with openai package. AzureOpenAI can be used by setting env vars. Updated doc as well.

ghaccount avatar Mar 09 '23 06:03 ghaccount

@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.

ghaccount avatar Mar 13 '23 01:03 ghaccount