feat: setup langwatch managed prompts in the mastra example#10
feat: setup langwatch managed prompts in the mastra example#100xdeafcafe wants to merge 3 commits intomainfrom
Conversation
drewdrewthis
left a comment
There was a problem hiding this comment.
some questions/requests
| export const customerSupportAgent = new Agent({ | ||
| name: "Customer Support Agent", | ||
| instructions: SYSTEM_PROMPT, | ||
| instructions: async () => { |
There was a problem hiding this comment.
Do we want to make another example for using this with the prompt fetch? Most people won't understand this/have langwatch integrated already maybe?
There was a problem hiding this comment.
Can you elaborate? I'm confused here
There was a problem hiding this comment.
@0xdeafcafe this comment only makes sense if we're going to merge it in for general consumption
There was a problem hiding this comment.
I think if we do merge it, it should be it's own example maybe? As it has a few additional dependencies.
| @@ -0,0 +1,41 @@ | |||
| import { trace } from "@opentelemetry/api"; | |||
|
|
|||
| const tracer = trace.getTracer("langwatch.prompts", "0.0.1"); | |||
There was a problem hiding this comment.
Might be nice to get some comments/documentation on this file, assuming people aren't otel experts?
There was a problem hiding this comment.
but otel is so simple, how could people not understand
6c1c8c6 to
8783b84
Compare
No description provided.