text
stringlengths
0
3.02k
You can if you customize the monitoring.
[3/16/2024 3:56 PM] joe.young.security
All the solutions allow for that.
[3/16/2024 3:58 PM] mr.headsh0t
But if I monitor the Log from Docker I don't get much info. I know only if it is an API call to LiteLLM or to OpenAI.
There is no infos about the model used or the ID of the user for exemple
[3/16/2024 3:58 PM] joe.young.security
Don't stop at a single monitor.
[3/16/2024 3:58 PM] joe.young.security
There's no silver bullet.
[3/16/2024 3:59 PM] wildtang3nt
Langfuse
[3/16/2024 3:59 PM] joe.young.security
That doesn't ring any bells, perhaps they changed the name, let me see. I bet there are now several vendors offering this middle layer for orgs.
[3/16/2024 4:00 PM] joe.young.security
Langfuse is different than what I found, but this Langfuse looks like it's even better.
[3/16/2024 4:00 PM] wildtang3nt
LiteLLM can act as the proxy, it connects to things like langfuse
[3/16/2024 4:01 PM] mr.headsh0t
Interesting
[3/16/2024 4:01 PM] wildtang3nt
LiteLLM can basically do all of this logging you want I think.. if you used it as the exclusive middleware
[3/16/2024 4:01 PM] wildtang3nt
May need to run it outside the WebUI container. You can customize the config but not the dependencies installed
[3/16/2024 4:02 PM] wildtang3nt
And then it won't matter if users delete chats from DB
[3/16/2024 4:02 PM] wildtang3nt
You're logging the API requests themselves
[3/16/2024 4:03 PM] mr.headsh0t
Yes I think it is the best approach, logging API call.
[3/16/2024 4:03 PM] joe.young.security
https://docs.nightfall.ai/ Here is another, but I'm still looking for the one I can't recall the name of.
{Embed}
https://docs.nightfall.ai/
API to Classify & Protect Sensitive Data | Nightfall Docs
Build sensitive data classification & protection into any app or service. Scan text and files. Read API docs, SDKs, tutorials. Get started for free.
{Reactions}
🙏
[3/16/2024 4:05 PM] mr.headsh0t
https://docs.litellm.ai/docs/debugging/hosted_debugging
What about this?
Is it actually possible to get the log from LiteLLM directly?
{Embed}
https://docs.litellm.ai/docs/debugging/hosted_debugging
[Beta] Monitor Logs in Production | liteLLM
This is in beta. Expect frequent updates, as we improve based on your feedback.
https://images-ext-1.dis…-social-card.png
[3/16/2024 4:05 PM] joe.young.security
I don't use LiteLLM, that's outside my wheelhouse.
[3/16/2024 4:11 PM] mr.headsh0t
But it's true that Langfuse looks particurly well integrated with LiteLLM
https://litellm.vercel.app/docs/observability/langfuse_integration
But I have a hardtime to figure how to integrate this to the webui.
Is it as simple as adding somewhere in the LiteLLM code a callback to langfuse?
That could be installed and setup locally either on the same server or in the cloud to Langfuse cloud?
{Attachments}
https://cdn.discordapp.c…264b59d39160bfa&
{Embed}