Open mejackreed opened 4 months ago
const output = await myChain.invoke( { input: '', }, { callbacks: [ new DatadogLLMObsTracer({ mlApp: 'HiThere', service: 'foo', env: 'prod', }), ], }, );
No response
Currently the langchain-community DataDog handler has some errors using the https://docs.datadoghq.com/llm_observability/api/?tab=model
Specifically, Langchain's MessageContent serialization is incompatible with the upstream Message content: string type.
content: string
Are you open to a friendly pull request to add this compatibility?
not needed, api incompatibility
Hey is this still an issue or did you find a workaround? I can look into it if it's still open :)
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
No response
Description
Currently the langchain-community DataDog handler has some errors using the https://docs.datadoghq.com/llm_observability/api/?tab=model
Specifically, Langchain's MessageContent serialization is incompatible with the upstream Message
content: string
type.Are you open to a friendly pull request to add this compatibility?
System Info
not needed, api incompatibility