Skip to content

armgit / burr

Public Imported from GitHub
0

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

Adds more to integration sections

elijahbenizzy0f7abb0b495c
diff --git a/docs/concepts/additional-visibility.rst b/docs/concepts/additional-visibility.rst
index 71cbd057..8d43e64e 100644
--- a/docs/concepts/additional-visibility.rst
+++ b/docs/concepts/additional-visibility.rst
@@ -138,6 +138,8 @@ Note that we are currently building out the capability to wrap a class and "auto
You can read more in the :ref:`reference documentation <visibility>`.
+.. _opentelref:
+
--------------
Open Telemetry
--------------
diff --git a/docs/concepts/serde.rst b/docs/concepts/serde.rst
index d81e45da..37a84748 100644
--- a/docs/concepts/serde.rst
+++ b/docs/concepts/serde.rst
@@ -1,3 +1,5 @@
+.. _serde:
+
================================
Serialization / Deserialization
================================
diff --git a/docs/reference/integrations/index.rst b/docs/reference/integrations/index.rst
index d84e9b8f..ec1f941a 100644
--- a/docs/reference/integrations/index.rst
+++ b/docs/reference/integrations/index.rst
@@ -9,3 +9,6 @@ Integrations -- we will be adding more
hamilton
streamlit
+ opentelemetry
+ traceloop
+ langchain
diff --git a/docs/reference/integrations/langchain.rst b/docs/reference/integrations/langchain.rst
new file mode 100644
index 00000000..90c6a33b
--- /dev/null
+++ b/docs/reference/integrations/langchain.rst
@@ -0,0 +1,18 @@
+----------------
+Burr + Langchain
+----------------
+
+Burr works out of the box with langchain, as Burr delegates to any python code.
+
+There are multiple examples of Burr leveraging langchain, including:
+
+- `Multi agent collaboration <https://github.com/DAGWorks-Inc/burr/tree/main/examples/multi-agent-collaboration/lcel>`_
+- `LCEL + Hamilton together <https://github.com/DAGWorks-Inc/burr/tree/main/examples/multi-agent-collaboration/hamilton>`_
+
+Burr also provides custom ser/deserialization for langchain objects. See the following resources:
+1. `Example <https://github.com/DAGWorks-Inc/burr/tree/main/examples/custom-serde>`_
+2. :ref:`Custom serialization docs <serde>`
+3. `Langchain serialization plugin <https://github.com/DAGWorks-Inc/burr/blob/main/burr/integrations/serde/langchain.py>`_
+
+We are working on adding more builtin support for LCEL (LCELActions), and considering adding burr callbacks for tracing langgraph in the Burr
+UI. If you have any suggestions, please let us know.
diff --git a/docs/reference/integrations/opentelemetry.rst b/docs/reference/integrations/opentelemetry.rst
new file mode 100644
index 00000000..b190ee15
--- /dev/null
+++ b/docs/reference/integrations/opentelemetry.rst
@@ -0,0 +1,15 @@
+--------------
+OpenTelemetry
+--------------
+.. _opentelintegrationref:
+
+Burr has two integrations with OpenTelemetry:
+1. Burr can log traces to OpenTelemetry
+2. Burr can capture any traces logged within an action and log them to OpenTelemetry
+
+See the following resources for more information:
+
+- :ref:`Tracing/OpenTelemetry <opentelref>`
+- `Example in the repository <https://github.com/dagworks-inc/burr/tree/main/examples/opentelemetry>`_
+- `Blog post <https://blog.dagworks.io/p/9ef2488a-ff8a-4feb-b37f-1d9a781068ac/>`_
+- `OpenTelemetry <https://opentelemetry.io/>`_
diff --git a/docs/reference/integrations/traceloop.rst b/docs/reference/integrations/traceloop.rst
new file mode 100644
index 00000000..c432def5
--- /dev/null
+++ b/docs/reference/integrations/traceloop.rst
@@ -0,0 +1,15 @@
+---------
+Traceloop
+---------
+
+`Traceloop <https://traceloop.io>`_ is an `OpenTelemetry <https://opentelemetry.io/>`_ vendor
+that has a special focus on AI observability.
+
+Integration with Burr is done through the :ref:`opentelemetry integration <opentelintegrationref>`.
+
+See the following resources for more information about how to leverage opentelemetry and traceloop's
+`openllmetry <https://github.com/traceloop/openllmetry/tree/main>`_ library to instrument your
+application:
+
+- `Example in the repository <https://github.com/dagworks-inc/burr/tree/main/examples/opentelemetry>`_
+- `Blog post <https://blog.dagworks.io/p/9ef2488a-ff8a-4feb-b37f-1d9a781068ac/>`_