-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
community-experimental[minor]: feat: implement DatadogLLMObsTracer #5867
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -0,0 +1,374 @@ | |||
import { BaseCallbackHandlerInput } from "@langchain/core/callbacks/base"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there! I've reviewed the code and noticed that the new DatadogLLMObsTracer
class includes a method persistRun
that makes a new external HTTP request using the fetch
API. I've flagged this change for your review to ensure it aligns with the project's requirements and best practices. Let me know if you have any questions or need further clarification!
@@ -0,0 +1,374 @@ | |||
import { BaseCallbackHandlerInput } from "@langchain/core/callbacks/base"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there! I've reviewed the code changes, and it looks like the diff adds and accesses environment variables using the getEnvironmentVariable
function. I've flagged this for your review to ensure it aligns with the intended functionality. Let me know if you need further assistance!
@@ -0,0 +1,383 @@ | |||
import { test, jest, expect } from "@jest/globals"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey team, just a heads up that this PR introduces new HTTP requests using the fetch
function. I've flagged this for your review to ensure it aligns with our project's requirements and best practices. Let me know if you need any further assistance with this.
922f55f
to
5300306
Compare
Moved to |
Thanks again for this! |
This is an implementation of Datadog's LLM Observability API as a LangChain Tracer.
It provides support for the following Datadog spans: "llm", "tool", "workflow", "retrieval".