AzureOpenAIGenerator
not passing meta
(used tokens, model...) to Langfuse
#816
Labels
AzureOpenAIGenerator
not passing meta
(used tokens, model...) to Langfuse
#816
Describe the bug
When intializing a pipeline including the LangFuse tracer and an AzureOpenAIGenerator, costs and tokens cannot be tracked properly like with the "original" OpenAIGenerator
Error message
Expected behavior
Below, you see 2 Screenshots. One is frome the pipeline using an
OpenAIGenerator
, the second one using theAzureOpenAIGenerator
. Tokens and costs are not displayed as intended.Additional context
Add any other context about the problem here, like document types / preprocessing steps / settings of reader etc.
To Reproduce
Initialization
I initialized all components. But for the current issues, only the generator is the problem, so i just packed the initialization into the sample code.
FAQ Check
System:
The text was updated successfully, but these errors were encountered: