
LANGCHAIN — LangChain Expands Collaboration with Microsoft
In technology, whatever can be done will be done. — Andrew S. Grove
LangChain has recently announced an expanded collaboration with Microsoft, aiming to offer deeper product integrations and enterprise assurances within the Azure ecosystem. The collaboration also includes LangChain’s participation in the Microsoft for Startups Pegasus Program.
The collaboration brings a host of benefits to joint users and customers, including deeper product integrations, ease of procurement of LangSmith in the Azure Marketplace, and enhanced data security with LangSmith deployments within the customer’s Azure VPC.
To showcase the integration capabilities and benefits of collaborating with Microsoft, I’ll provide code snippets and examples on how to leverage LangChain and Microsoft Azure services. Let’s delve into some key aspects of this collaboration.
Deeper Product Integrations
LangChain and Microsoft will continue to invest in the breadth and depth of product integrations. Users of both platforms can benefit from orchestration and monitoring of various Azure services such as Azure OpenAI Service, Azure AI Search, Azure AI Document Intelligence, and Microsoft Presidio. Here’s an example of deploying and monitoring an Azure AI Search service using LangChain:
# Deploying Azure AI Search service using LangChain
from langchain import LangSmith
# Set up LangSmith instance
langsmith = LangSmith()
# Configure and deploy Azure AI Search service
azure_search_service = langsmith.deploy_azure_search()Ease of Procurement in Azure Marketplace
After completing the Microsoft for Startups Pegasus Program, LangChain will offer customers the ability to procure LangSmith in the Azure Marketplace as a transactable offering. Let’s see an example of how customers can procure LangSmith in the Azure Marketplace:
# Procuring LangSmith in Azure Marketplace
az marketplace image list --publisher langchain --offer langsmith --allData Security with LangSmith Deployments in Azure VPC
For enterprises, data security and privacy are paramount. LangSmith will be offered as a transactable Azure Application, deployed wholly in the customer’s VPC, ensuring data security peace-of-mind. Here’s an example of deploying LangSmith within a customer’s Azure VPC:
# Deployment configuration for LangSmith within Azure VPC
resources:
- type: langsmith.azurevpc
name: langsmith-deployment
properties:
vpc: customer-vpc
subnets:
- subnet1
- subnet2
securityGroup: langsmith-security-groupThese examples provide a glimpse of the potential integration and collaboration between LangChain and Microsoft Azure. Whether it’s deploying Azure services, transactable offerings in Azure Marketplace, or ensuring data security within a customer’s VPC, the collaboration opens up numerous possibilities for developers and enterprises.
In conclusion, the collaboration between LangChain and Microsoft paves the way for enhanced AI capabilities, streamlined product adoption, and improved service offerings for joint users and customers. With the combined power of LangChain and Microsoft Azure, developers and enterprises can tap into a rich ecosystem of AI services and seamless integrations.
If you’re interested in exploring further, don’t hesitate to reach out and make the most of the collaborative opportunities between LangChain and Microsoft Azure.





