neo4j-contrib / neo4j-apoc-procedures

Awesome Procedures On Cypher for Neo4j - codenamed "apoc"                     If you like it, please ★ above ⇧            

Home Page:https://neo4j.com/labs/apoc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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