We’re excited to announce a new feature in LangChain: Tracing!
By enabling tracing in LangChain, you’ll be able to more effectively inspect and debug your complex chain/agent runs. Blog: https://
blog.langchain.dev/tracing/
Docs: https://
langchain.readthedocs.io/en/latest/trac
ing.html
…
@langchain
-

LangChain Introduces Tracing Feature for Chain Debugging
By
–
-
LangChain Apps Moving to Production Support Channel
By
–
Hearing from a few folks that apps built on LangChain are moving into production! If that's the case for you, we'd love to set up a Slack connect channel to offer better support. Fill out the form below and we'll set it up! https://
forms.gle/57d8AmXBYp8PP8
tZA
… If you don't use Slack, DM us -
LangChain Updates: Context Windows, Cohere Support, Bug Fixes
By
–
Other improvements: – Correct context window for davinci-003 :
@wskish – Docs improvements: wunderalbert
– Fix bash util: h/t Marcin in discord
– Add support for arbitrary params to Cohere wrapper: h/t bair82 in discord
– Fix caching bug: @brucehammer -
SQLDatabaseChain improvements with better data understanding
By
–
Improvements to SQL database chain @fpingham with some key improvements to SQLDatabaseChain 1. Optionally include first row in prompt (for better understanding of data) Docs: https://
langchain.readthedocs.io/en/latest/modu
les/chains/examples/sqlite.html#adding-first-row-of-each-table
… 2. Improve default prompt -
LangChain Search Classes Enhanced with Detailed Metadata Results
By
–
More detailed search results @EnricoShippole added a method to the search classes to return more detailed search info: title, snippet, link WebGPT? Google Search: https://
langchain.readthedocs.io/en/latest/modu
les/utils/examples/google_search.html#metadata-results
… Bing Search: https://
langchain.readthedocs.io/en/latest/modu
les/utils/examples/bing_search.html#metadata-results
… -
Code improvements and agent refactoring for cleaner codebase
By
–
A few code improvements from Amos Ng – Improvement of some tests for debugging purposes
– Refactor of agents to cleanup the base class Both go a long way in keeping a clean codebase -
GPU Support Added for Hugging Face Models in LangChain
By
–
Support for GPUs with @huggingface models Thanks to @parth_29 you can now more easily use GPUs for huggingface pipelines! PR here: https://
github.com/hwchase17/lang
chain/pull/750
… -
Major Software Release: GPU Support and Tool Decorator Features
By
–
Big weekend release! Too many changes to even try to list in a single tweet But as a teaser: – Support for using GPUs with @huggingface models
– A decorator to easily turn a function into a Tool
– Lots more! -

Tool Decorator Simplifies Agent Function Creation
By
–
Decorator for creating tools Thanks to @jxnlco you can now create a Tool from a function with a simple decorator. Easier than ever to have agents start interacting with arbitrary functions! Documentation: https://
langchain.readthedocs.io/en/latest/modu
les/agents/examples/custom_tools.html#using-the-tool-decorator
… -
SQL Database Agent Optimization via Prompt Engineering
By
–
yes new ones! see the thread for an example of an agent optimized (via the prompt) for interacting with a sql db