langtrace-python-sdk 2.2.22__tar.gz → 2.2.23__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/PKG-INFO +1 -1
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/extensions/langtrace_exporter.py +12 -7
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/langtrace.py +6 -1
- langtrace_python_sdk-2.2.23/src/langtrace_python_sdk/version.py +1 -0
- langtrace_python_sdk-2.2.22/src/langtrace_python_sdk/version.py +0 -1
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/.gitignore +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/LICENSE +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/README.md +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/pyproject.toml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/anthropic_example/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/anthropic_example/completion.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/chroma_example/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/chroma_example/basic.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/cohere_example/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/cohere_example/chat.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/cohere_example/chat_stream.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/cohere_example/embed.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/cohere_example/rerank.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/cohere_example/tools.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/crewai_example/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/crewai_example/basic.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/crewai_example/simple_agent/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/crewai_example/simple_agent/agents.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/crewai_example/simple_agent/main.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/crewai_example/simple_agent/tasks.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/crewai_example/trip_planner/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/crewai_example/trip_planner/agents.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/crewai_example/trip_planner/main.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/crewai_example/trip_planner/tasks.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/crewai_example/trip_planner/tools/calculator.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/crewai_example/trip_planner/tools/search_tools.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/dspy_example/math_problems_cot.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/dspy_example/math_problems_cot_parallel.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/dspy_example/program_of_thought_basic.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/dspy_example/quiz_gen.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/dspy_example/react.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/fastapi_example/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/fastapi_example/basic_route.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/gemini_example/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/gemini_example/function_tools.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/gemini_example/main.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/hiveagent_example/basic.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/inspect_ai_example/basic_eval.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/langchain_example/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/langchain_example/basic.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/langchain_example/groq_example.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/langchain_example/langgraph_example.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/langchain_example/sagemaker.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/langchain_example/tool.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/llamaindex_example/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/llamaindex_example/agent.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/llamaindex_example/basic.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/llamaindex_example/data/abramov.txt +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/ollama_example/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/ollama_example/basic.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/async_tool_calling_nonstreaming.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/async_tool_calling_streaming.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/chat_completion.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/chat_completion_tool_choice.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/embeddings_create.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/function_calling.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/images_edit.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/images_generate.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/resources/lounge_flamingo.png +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/resources/mask.png +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/send_user_feedback.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/tool_calling.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/tool_calling_nonstreaming.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/tool_calling_streaming.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/otlp_example/otlp_basic.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/otlp_example/otlp_with_langtrace.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/perplexity_example/basic.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/pinecone_example/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/pinecone_example/basic.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/qdrant_example/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/qdrant_example/basic.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/routellm_example/basic.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/vertexai_example/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/vertexai_example/main.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/weaviate_example/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/weaviate_example/query_text.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/constants/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/constants/exporter/langtrace_exporter.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/constants/instrumentation/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/constants/instrumentation/anthropic.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/constants/instrumentation/chroma.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/constants/instrumentation/cohere.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/constants/instrumentation/common.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/constants/instrumentation/gemini.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/constants/instrumentation/groq.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/constants/instrumentation/ollama.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/constants/instrumentation/openai.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/constants/instrumentation/pinecone.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/constants/instrumentation/qdrant.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/constants/instrumentation/vertexai.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/constants/instrumentation/weaviate.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/extensions/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/extensions/langtrace_filesystem.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/anthropic/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/anthropic/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/anthropic/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/chroma/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/chroma/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/chroma/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/cohere/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/cohere/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/cohere/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/crewai/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/crewai/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/crewai/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/dspy/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/dspy/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/dspy/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/gemini/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/gemini/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/gemini/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/groq/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/groq/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/groq/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/langchain/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/langchain/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/langchain/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/langchain_community/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/langchain_community/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/langchain_community/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/langchain_core/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/langchain_core/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/langchain_core/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/langgraph/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/langgraph/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/langgraph/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/llamaindex/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/llamaindex/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/llamaindex/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/ollama/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/ollama/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/ollama/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/openai/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/openai/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/openai/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/pinecone/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/pinecone/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/pinecone/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/qdrant/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/qdrant/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/qdrant/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/vertexai/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/vertexai/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/vertexai/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/weaviate/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/weaviate/instrumentation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/instrumentation/weaviate/patch.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/types/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/utils/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/utils/langtrace_sampler.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/utils/llm.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/utils/misc.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/utils/prompt_registry.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/utils/sdk_version_checker.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/utils/silently_fail.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/utils/types.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/utils/with_root_span.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/run_example.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/__init__.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/anthropic/cassettes/test_anthropic.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/anthropic/cassettes/test_anthropic_streaming.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/anthropic/cassettes/test_async_anthropic_streaming.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/anthropic/conftest.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/anthropic/test_anthropic.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/chroma/conftest.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/chroma/test_chroma.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/cohere/cassettes/test_cohere_chat.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/cohere/cassettes/test_cohere_chat_streaming.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/cohere/cassettes/test_cohere_embed.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/cohere/cassettes/test_cohere_rerank.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/cohere/conftest.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/cohere/test_cohere_chat.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/cohere/test_cohere_embed.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/cohere/test_cohere_rerank.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/conftest.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/groq/cassettes/test_async_chat_completion.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/groq/cassettes/test_async_chat_completion_streaming.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/groq/cassettes/test_chat_completion.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/groq/cassettes/test_chat_completion_streaming.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/groq/conftest.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/groq/test_groq.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/langchain/cassettes/test_langchain.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/langchain/conftest.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/langchain/test_langchain.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/openai/cassettes/test_async_chat_completion_streaming.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/openai/cassettes/test_async_image_generation.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/openai/cassettes/test_chat_completion.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/openai/cassettes/test_chat_completion_streaming.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/openai/cassettes/test_image_generation.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/openai/conftest.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/openai/test_chat_completion.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/openai/test_embeddings.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/openai/test_image_generation.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/pinecone/cassettes/test_query.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/pinecone/cassettes/test_upsert.yaml +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/pinecone/conftest.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/pinecone/test_pinecone.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/qdrant/conftest.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/qdrant/test_qdrant.py +0 -0
- {langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/utils.py +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import json
|
|
2
2
|
import os
|
|
3
3
|
import typing
|
|
4
|
+
import sys
|
|
4
5
|
|
|
5
6
|
import requests
|
|
6
7
|
from opentelemetry.sdk.trace.export import ReadableSpan, SpanExporter, SpanExportResult
|
|
@@ -49,11 +50,13 @@ class LangTraceExporter(SpanExporter):
|
|
|
49
50
|
|
|
50
51
|
api_key: str
|
|
51
52
|
api_host: str
|
|
53
|
+
disable_logging: bool
|
|
52
54
|
|
|
53
55
|
def __init__(
|
|
54
56
|
self,
|
|
55
57
|
api_host,
|
|
56
58
|
api_key: str = None,
|
|
59
|
+
disable_logging: bool = False,
|
|
57
60
|
) -> None:
|
|
58
61
|
self.api_key = api_key or os.environ.get("LANGTRACE_API_KEY")
|
|
59
62
|
self.api_host = (
|
|
@@ -61,6 +64,7 @@ class LangTraceExporter(SpanExporter):
|
|
|
61
64
|
if api_host == LANGTRACE_REMOTE_URL
|
|
62
65
|
else api_host
|
|
63
66
|
)
|
|
67
|
+
self.disable_logging = disable_logging
|
|
64
68
|
|
|
65
69
|
def export(self, spans: typing.Sequence[ReadableSpan]) -> SpanExportResult:
|
|
66
70
|
"""
|
|
@@ -72,7 +76,7 @@ class LangTraceExporter(SpanExporter):
|
|
|
72
76
|
Returns:
|
|
73
77
|
The result of the export SUCCESS or FAILURE
|
|
74
78
|
"""
|
|
75
|
-
if not self.api_key:
|
|
79
|
+
if not self.api_key and not self.disable_logging:
|
|
76
80
|
print(Fore.RED)
|
|
77
81
|
print(
|
|
78
82
|
"Missing Langtrace API key, proceed to https://langtrace.ai to create one"
|
|
@@ -107,14 +111,15 @@ class LangTraceExporter(SpanExporter):
|
|
|
107
111
|
|
|
108
112
|
if not response.ok:
|
|
109
113
|
raise RequestException(response.text)
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
+
if not self.disable_logging:
|
|
115
|
+
print(
|
|
116
|
+
Fore.GREEN + f"Exported {len(spans)} spans successfully." + Fore.RESET
|
|
117
|
+
)
|
|
114
118
|
return SpanExportResult.SUCCESS
|
|
115
119
|
except RequestException as err:
|
|
116
|
-
|
|
117
|
-
|
|
120
|
+
if not self.disable_logging:
|
|
121
|
+
print(Fore.RED + "Failed to export spans.")
|
|
122
|
+
print(Fore.RED + f"Error: {err}" + Fore.RESET)
|
|
118
123
|
return SpanExportResult.FAILURE
|
|
119
124
|
|
|
120
125
|
def shutdown(self) -> None:
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/langtrace.py
RENAMED
|
@@ -72,7 +72,10 @@ def init(
|
|
|
72
72
|
disable_instrumentations: Optional[DisableInstrumentations] = None,
|
|
73
73
|
disable_tracing_for_functions: Optional[InstrumentationMethods] = None,
|
|
74
74
|
service_name: Optional[str] = None,
|
|
75
|
+
disable_logging = False
|
|
75
76
|
):
|
|
77
|
+
if disable_logging:
|
|
78
|
+
sys.stdout = open(os.devnull, "w")
|
|
76
79
|
|
|
77
80
|
host = (
|
|
78
81
|
os.environ.get("LANGTRACE_API_HOST", None) or api_host or LANGTRACE_REMOTE_URL
|
|
@@ -90,7 +93,7 @@ def init(
|
|
|
90
93
|
provider = TracerProvider(resource=resource, sampler=sampler)
|
|
91
94
|
|
|
92
95
|
remote_write_exporter = (
|
|
93
|
-
LangTraceExporter(api_key=api_key, api_host=host)
|
|
96
|
+
LangTraceExporter(api_key=api_key, api_host=host, disable_logging=disable_logging)
|
|
94
97
|
if custom_remote_exporter is None
|
|
95
98
|
else custom_remote_exporter
|
|
96
99
|
)
|
|
@@ -146,6 +149,8 @@ def init(
|
|
|
146
149
|
print(Fore.BLUE + "Exporting spans to Langtrace cloud.." + Fore.RESET)
|
|
147
150
|
provider.add_span_processor(batch_processor_remote)
|
|
148
151
|
|
|
152
|
+
sys.stdout = sys.__stdout__
|
|
153
|
+
|
|
149
154
|
|
|
150
155
|
def init_instrumentations(
|
|
151
156
|
disable_instrumentations: DisableInstrumentations, all_instrumentations: dict
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.2.23"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.2.22"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/chroma_example/__init__.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/chroma_example/basic.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/cohere_example/__init__.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/cohere_example/chat.py
RENAMED
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/cohere_example/embed.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/cohere_example/rerank.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/cohere_example/tools.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/crewai_example/__init__.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/crewai_example/basic.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/dspy_example/quiz_gen.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/dspy_example/react.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/fastapi_example/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/gemini_example/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/gemini_example/main.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/hiveagent_example/basic.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/langchain_example/basic.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/langchain_example/tool.py
RENAMED
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/llamaindex_example/agent.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/llamaindex_example/basic.py
RENAMED
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/ollama_example/__init__.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/ollama_example/basic.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/openai_example/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/otlp_example/otlp_basic.py
RENAMED
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/perplexity_example/basic.py
RENAMED
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/pinecone_example/basic.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/qdrant_example/__init__.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/qdrant_example/basic.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/routellm_example/basic.py
RENAMED
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/examples/vertexai_example/main.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/utils/llm.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/utils/misc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/langtrace_python_sdk/utils/types.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/anthropic/test_anthropic.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/cohere/test_cohere_chat.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/cohere/test_cohere_embed.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/cohere/test_cohere_rerank.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/langchain/test_langchain.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/openai/test_chat_completion.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/openai/test_embeddings.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.2.22 → langtrace_python_sdk-2.2.23}/src/tests/pinecone/test_pinecone.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|