Closed andraz closed 1 month ago
Hey @andraz!
You would want to use the langchain-groq
package as shown here:
https://python.langchain.com/docs/integrations/providers/groq/
Or you can use the @traceable
decorator here:
https://docs.smith.langchain.com/tracing/faq/logging_and_viewing#the-traceable-decorator
Hi, @andraz! 😁 Does the above answer your question?
Hi @jacoblee93 and @hozen-groq, thanks for your support. Sadly I had no success in making this work. Neither using langchain-groq
and adding a @traceable
decorator in front of LLM call helped, execution still produces zero logs.
And env vars are set? Should be the exact same flow, and I'm quite surprised traces are working elsewhere in that case...
When connecting to Groq using the
langchain_openai
lib like this:with
.env
file:I am able to trace the logs of my tool calling:
How to enable this feature using the initialization below?
source: https://console.groq.com/docs/tool-use#example