Connections: Software Engineering

What is LangChain?

Langchain is a framework for developing applications powered by LLMs

Combines open source components and third-party integrations to assist with development

from langchain_core.messages import HumanMessage, SystemMessage
 
messages = [
  SystemMessage("Translate the following from English into Italian"),
  HumanMessage("hi")
]
 
model.invoke(messages)