Chapter 15: LangSmith and LangServe

We are now heading towards the end of this book. We explored many concepts in this book, ranging from building basic apps to custom agents; running AI agents to solving NLP problems. We are now left with the two most important aspects of any software’s lifecycle:

  1. Tracing logs and debugging.
  2. Deployment.

 

This chapter will talk about two major extensions of LangChain that will help you with the above two problems i.e. LangSmith and LangServe. Do remember these are separate packages.

15.1 LangSmith

LangSmith can be your go-to tool if you wish to debug your LangChain app, check traces or logging. By default, LangSmith's tracing operates in the background across LangChain. We can configure this in Python by ...

Get LangChain in your Pocket now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.