Skip to main content

Phoenix has first-class support for LangChain applications.

Install#

Setup#

Connect your application to Phoenix with the register function:

Run LangChain#

By instrumenting LangChain, spans will be created whenever a chain is run and will be sent to the Phoenix server for collection.

Observe#

Now that you have tracing setup, all invocations of chains will be streamed to your running Phoenix for observability and evaluation.

Resources#