langserve icon indicating copy to clipboard operation
langserve copied to clipboard

how do I turn off specific endpoint logging to langsmith?

Open SoulEvill opened this issue 1 year ago • 5 comments

I am serving couple of lcel chain defined endpoint through langserve and I've configued to turn on the langsmith logging. it works great, but there is particular endpoint was just calculating the embedding which being called more than 100 times a minute and I want to turn off this specific endpoint langsmith logging. how do i do that?

SoulEvill avatar Apr 11 '24 06:04 SoulEvill

How are you exposing the chain is it through add_routes?

eyurtsev avatar Apr 12 '24 14:04 eyurtsev

yes that is correct!

On Fri, Apr 12, 2024 at 7:34 AM Eugene Yurtsev @.***> wrote:

How are you exposing the chain is it through add_routes?

— Reply to this email directly, view it on GitHub https://github.com/langchain-ai/langserve/issues/601#issuecomment-2051880393, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDPIVHCQJR3FGX6SPAXUX3Y47WHNAVCNFSM6AAAAABGBV7FTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJRHA4DAMZZGM . You are receiving this because you authored the thread.Message ID: @.***>

SoulEvill avatar Apr 12 '24 18:04 SoulEvill

Will need to investigate, I suspect I'll need to roll out support for this functionality

eyurtsev avatar Apr 15 '24 16:04 eyurtsev

Thanks for looking into this and it will be great if this could be enhanced.

SoulEvill avatar Apr 16 '24 23:04 SoulEvill

Hi! I am interested. Any updates in the topic?

PB-estal avatar Sep 04 '24 08:09 PB-estal