Documentation Index Fetch the complete documentation index at: https://docs.langtrace.ai/llms.txt
Use this file to discover all available pages before exploring further.
Disable Tracing In Typescript
See below on how you can disable funciton level tracing for specific vendors:
openai
anthropic
llamaindex
chromadb
cohere
groq
pinecone
pg
qdrant
weaviate
import * as Langtrace from "@langtrase/typescript-sdk" ;
Langtrace . init ({
write_spans_to_console: true ,
batch: false ,
disable_tracing_for_functions: {
openai: [ // All supported functions for openai
'openai.chat.completion' ,
'openai.embeddings.create' ,
'openai.images.edit' ,
'openai.images.generate'
]
}
})
Disable Tracing In Python
See below on how you can disable funciton level tracing for specific vendors:
openai
anthropic
llamaindex
chromadb
cohere
groq
pinecone
qdrant
from langtrace_python_sdk import langtrace
langtrace.init({
write_spans_to_console: true,
batch: false,
disable_tracing_for_functions: {
open_ai: [ # All supported functions for openai
'openai.chat.completions.create' ,
'openai.embeddings.create' ,
'openai.images.edit' ,
'openai.images.generate'
]
}
})