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 tracker to chatbot example

elijahbenizzy62346a9299bc
diff --git a/examples/gpt/application.py b/examples/gpt/application.py
index 734115d2..4e46ae9d 100644
--- a/examples/gpt/application.py
+++ b/examples/gpt/application.py
@@ -175,6 +175,7 @@ def base_application(hooks: List[LifecycleAdapter] = None):
("error", "prompt", default),
)
.with_hooks(*hooks)
+ .with_tracker("demo:chatbot")
.build()
)
@@ -250,6 +251,7 @@ def hamilton_application(hooks: List[LifecycleAdapter] = None):
("error", "prompt", default),
)
.with_hooks(*hooks)
+ .with_tracker("demo:chatbot")
.build()
)
return application