Add ML procs for Azure OpenAI service & AWS SageMaker Endpoints
jexp opened this issue · comments
Probably just a config setting for the regular openai service?
in python it needs:
openai.api_type = "azure" #I use Azure OpenAI. You might need to comment if you use the non-Azure instance
openai.api_base = os.getenv('OPENAI_API_BASE')
openai.api_version = os.getenv('OPENAI_API_VERSION')
openai.api_key = os.getenv('OPENAI_API_KEY')```
For Sagemaker, figure out the endpoints via langchain?
https://api.python.langchain.com/en/latest/modules/embeddings.html#langchain.embeddings.SagemakerEndpointEmbeddings