mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
Set Langfuse output to null for embedding responses
This commit is contained in:
parent
056913fd70
commit
d338a94a57
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ class LangFuseLogger:
|
||||||
or isinstance(response_obj, litellm.EmbeddingResponse)
|
or isinstance(response_obj, litellm.EmbeddingResponse)
|
||||||
):
|
):
|
||||||
input = prompt
|
input = prompt
|
||||||
output = response_obj["data"]
|
output = None
|
||||||
elif response_obj is not None and isinstance(
|
elif response_obj is not None and isinstance(
|
||||||
response_obj, litellm.ModelResponse
|
response_obj, litellm.ModelResponse
|
||||||
):
|
):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue