langtrace-python-sdk 2.1.4__tar.gz → 2.1.5__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.1.4 → langtrace_python_sdk-2.1.5}/PKG-INFO +2 -1
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/pyproject.toml +3 -1
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/weaviate_example/query_text.py +3 -3
- langtrace_python_sdk-2.1.5/src/langtrace_python_sdk/instrumentation/__init__.py +29 -0
- langtrace_python_sdk-2.1.5/src/langtrace_python_sdk/instrumentation/anthropic/__init__.py +5 -0
- langtrace_python_sdk-2.1.5/src/langtrace_python_sdk/instrumentation/chroma/__init__.py +5 -0
- langtrace_python_sdk-2.1.5/src/langtrace_python_sdk/instrumentation/cohere/__init__.py +5 -0
- langtrace_python_sdk-2.1.5/src/langtrace_python_sdk/instrumentation/groq/__init__.py +5 -0
- langtrace_python_sdk-2.1.5/src/langtrace_python_sdk/instrumentation/langchain/__init__.py +5 -0
- langtrace_python_sdk-2.1.5/src/langtrace_python_sdk/instrumentation/langchain_community/__init__.py +5 -0
- langtrace_python_sdk-2.1.5/src/langtrace_python_sdk/instrumentation/langchain_core/__init__.py +6 -0
- langtrace_python_sdk-2.1.5/src/langtrace_python_sdk/instrumentation/langgraph/__init__.py +5 -0
- langtrace_python_sdk-2.1.5/src/langtrace_python_sdk/instrumentation/llamaindex/__init__.py +5 -0
- langtrace_python_sdk-2.1.5/src/langtrace_python_sdk/instrumentation/openai/__init__.py +5 -0
- langtrace_python_sdk-2.1.5/src/langtrace_python_sdk/instrumentation/pinecone/__init__.py +5 -0
- langtrace_python_sdk-2.1.5/src/langtrace_python_sdk/instrumentation/qdrant/__init__.py +5 -0
- langtrace_python_sdk-2.1.5/src/langtrace_python_sdk/instrumentation/weaviate/__init__.py +5 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/langtrace.py +4 -27
- langtrace_python_sdk-2.1.5/src/langtrace_python_sdk/version.py +1 -0
- langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation/anthropic/__init__.py +0 -0
- langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation/chroma/__init__.py +0 -0
- langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation/cohere/__init__.py +0 -0
- langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation/groq/__init__.py +0 -0
- langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation/langchain/__init__.py +0 -0
- langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation/langchain_community/__init__.py +0 -0
- langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation/langchain_core/__init__.py +0 -0
- langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation/langgraph/__init__.py +0 -0
- langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation/llamaindex/__init__.py +0 -0
- langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation/openai/__init__.py +0 -0
- langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation/pinecone/__init__.py +0 -0
- langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation/qdrant/__init__.py +0 -0
- langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation/weaviate/__init__.py +0 -0
- langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/version.py +0 -1
- langtrace_python_sdk-2.1.4/src/tests/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/.gitignore +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/LICENSE +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/README.md +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/anthropic_example/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/anthropic_example/completion.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/chroma_example/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/chroma_example/basic.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/cohere_example/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/cohere_example/chat.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/cohere_example/chat_stream.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/cohere_example/embed.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/cohere_example/rerank.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/cohere_example/tools.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/fastapi_example/basic_route.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/hiveagent_example/basic.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/langchain_example/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/langchain_example/basic.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/langchain_example/groq_example.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/langchain_example/langgraph_example.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/langchain_example/tool.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/llamaindex_example/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/llamaindex_example/agent.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/llamaindex_example/basic.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/llamaindex_example/data/abramov.txt +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/openai_example/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/openai_example/async_tool_calling_nonstreaming.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/openai_example/async_tool_calling_streaming.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/openai_example/chat_completion.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/openai_example/embeddings_create.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/openai_example/function_calling.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/openai_example/images_generate.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/openai_example/tool_calling.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/openai_example/tool_calling_nonstreaming.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/openai_example/tool_calling_streaming.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/perplexity_example/basic.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/pinecone_example/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/pinecone_example/basic.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/qdrant_example/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/qdrant_example/basic.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/constants/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/constants/exporter/langtrace_exporter.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/constants/instrumentation/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/constants/instrumentation/anthropic.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/constants/instrumentation/chroma.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/constants/instrumentation/cohere.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/constants/instrumentation/common.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/constants/instrumentation/groq.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/constants/instrumentation/openai.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/constants/instrumentation/pinecone.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/constants/instrumentation/qdrant.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/constants/instrumentation/weaviate.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/extensions/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/extensions/langtrace_exporter.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/anthropic/instrumentation.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/anthropic/patch.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/chroma/instrumentation.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/chroma/patch.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/cohere/instrumentation.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/cohere/patch.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/groq/instrumentation.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/groq/patch.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/langchain/instrumentation.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/langchain/patch.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/langchain_community/instrumentation.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/langchain_community/patch.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/langchain_core/instrumentation.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/langchain_core/patch.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/langgraph/instrumentation.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/langgraph/patch.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/llamaindex/instrumentation.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/llamaindex/patch.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/openai/instrumentation.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/openai/patch.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/pinecone/instrumentation.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/pinecone/patch.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/qdrant/instrumentation.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/qdrant/patch.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/weaviate/instrumentation.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/instrumentation/weaviate/patch.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/types/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/utils/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/utils/llm.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/utils/misc.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/utils/prompt_registry.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/utils/silently_fail.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/utils/types.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/utils/with_root_span.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/run_example.py +0 -0
- {langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation → langtrace_python_sdk-2.1.5/src/tests}/__init__.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/anthropic/cassettes/test_anthropic.yaml +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/anthropic/cassettes/test_anthropic_streaming.yaml +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/anthropic/cassettes/test_async_anthropic_streaming.yaml +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/anthropic/conftest.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/anthropic/test_anthropic.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/chroma/conftest.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/chroma/test_chroma.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/cohere/cassettes/test_cohere_chat.yaml +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/cohere/cassettes/test_cohere_chat_streaming.yaml +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/cohere/cassettes/test_cohere_embed.yaml +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/cohere/cassettes/test_cohere_rerank.yaml +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/cohere/conftest.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/cohere/test_cohere_chat.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/cohere/test_cohere_embed.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/cohere/test_cohere_rerank.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/conftest.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/langchain/cassettes/test_langchain.yaml +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/langchain/conftest.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/langchain/test_langchain.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/openai/cassettes/test_async_chat_completion_streaming.yaml +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/openai/cassettes/test_async_image_generation.yaml +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/openai/cassettes/test_chat_completion.yaml +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/openai/cassettes/test_chat_completion_streaming.yaml +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/openai/cassettes/test_image_generation.yaml +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/openai/conftest.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/openai/test_chat_completion.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/openai/test_embeddings.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/openai/test_image_generation.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/pinecone/cassettes/test_query.yaml +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/pinecone/cassettes/test_upsert.yaml +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/pinecone/conftest.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/pinecone/test_pinecone.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/qdrant/conftest.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/qdrant/test_qdrant.py +0 -0
- {langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: langtrace-python-sdk
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.5
|
|
4
4
|
Summary: Python SDK for LangTrace
|
|
5
5
|
Project-URL: Homepage, https://github.com/Scale3-Labs/langtrace-python-sdk
|
|
6
6
|
Author-email: Scale3 Labs <engineering@scale3labs.com>
|
|
@@ -14,6 +14,7 @@ Requires-Dist: colorama>=0.4.6
|
|
|
14
14
|
Requires-Dist: opentelemetry-api>=1.24.0
|
|
15
15
|
Requires-Dist: opentelemetry-exporter-otlp-proto-grpc>=1.24.0
|
|
16
16
|
Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.24.0
|
|
17
|
+
Requires-Dist: opentelemetry-instrumentation-sqlalchemy>=0.45b0
|
|
17
18
|
Requires-Dist: opentelemetry-instrumentation>=0.45b0
|
|
18
19
|
Requires-Dist: opentelemetry-sdk>=1.24.0
|
|
19
20
|
Requires-Dist: tiktoken>=0.1.1
|
|
@@ -22,10 +22,12 @@ dependencies = [
|
|
|
22
22
|
'opentelemetry-api>=1.24.0',
|
|
23
23
|
'opentelemetry-sdk>=1.24.0',
|
|
24
24
|
'opentelemetry-instrumentation>=0.45b0',
|
|
25
|
-
'
|
|
25
|
+
'opentelemetry-instrumentation-sqlalchemy>=0.45b0',
|
|
26
26
|
'opentelemetry-exporter-otlp-proto-http>=1.24.0',
|
|
27
27
|
'opentelemetry-exporter-otlp-proto-grpc>=1.24.0',
|
|
28
|
+
'tiktoken>=0.1.1',
|
|
28
29
|
'colorama>=0.4.6'
|
|
30
|
+
|
|
29
31
|
]
|
|
30
32
|
|
|
31
33
|
requires-python = ">=3.9"
|
|
@@ -19,8 +19,8 @@ import langtrace_python_sdk.langtrace as langtrace
|
|
|
19
19
|
from langtrace_python_sdk import with_langtrace_root_span
|
|
20
20
|
|
|
21
21
|
# Set these environment variables
|
|
22
|
-
WCS_DEMO_URL = "
|
|
23
|
-
WCS_DEMO_RO_KEY = "
|
|
22
|
+
WCS_DEMO_URL = os.environ["WCS_DEMO_URL"]
|
|
23
|
+
WCS_DEMO_RO_KEY = os.environ["WCS_DEMO_RO_KEY"]
|
|
24
24
|
|
|
25
25
|
# Connect to a WCS instance
|
|
26
26
|
client = weaviate.connect_to_wcs(
|
|
@@ -30,7 +30,7 @@ client = weaviate.connect_to_wcs(
|
|
|
30
30
|
headers={"X-OpenAI-Api-Key": os.environ["OPENAI_APIKEY"]},
|
|
31
31
|
)
|
|
32
32
|
|
|
33
|
-
langtrace.init(
|
|
33
|
+
langtrace.init()
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
@with_langtrace_root_span()
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from .anthropic import AnthropicInstrumentation
|
|
2
|
+
from .chroma import ChromaInstrumentation
|
|
3
|
+
from .cohere import CohereInstrumentation
|
|
4
|
+
from .groq import GroqInstrumentation
|
|
5
|
+
from .langchain import LangchainInstrumentation
|
|
6
|
+
from .langchain_community import LangchainCommunityInstrumentation
|
|
7
|
+
from .langchain_core import LangchainCoreInstrumentation
|
|
8
|
+
from .langgraph import LanggraphInstrumentation
|
|
9
|
+
from .llamaindex import LlamaindexInstrumentation
|
|
10
|
+
from .openai import OpenAIInstrumentation
|
|
11
|
+
from .pinecone import PineconeInstrumentation
|
|
12
|
+
from .qdrant import QdrantInstrumentation
|
|
13
|
+
from .weaviate import WeaviateInstrumentation
|
|
14
|
+
|
|
15
|
+
__all__ = [
|
|
16
|
+
"AnthropicInstrumentation",
|
|
17
|
+
"ChromaInstrumentation",
|
|
18
|
+
"CohereInstrumentation",
|
|
19
|
+
"GroqInstrumentation",
|
|
20
|
+
"LangchainInstrumentation",
|
|
21
|
+
"LangchainCommunityInstrumentation",
|
|
22
|
+
"LangchainCoreInstrumentation",
|
|
23
|
+
"LanggraphInstrumentation",
|
|
24
|
+
"LlamaindexInstrumentation",
|
|
25
|
+
"OpenAIInstrumentation",
|
|
26
|
+
"PineconeInstrumentation",
|
|
27
|
+
"QdrantInstrumentation",
|
|
28
|
+
"WeaviateInstrumentation",
|
|
29
|
+
]
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/langtrace.py
RENAMED
|
@@ -28,46 +28,22 @@ import sys
|
|
|
28
28
|
from opentelemetry.sdk.resources import Resource
|
|
29
29
|
|
|
30
30
|
from langtrace_python_sdk.extensions.langtrace_exporter import LangTraceExporter
|
|
31
|
-
from langtrace_python_sdk.instrumentation
|
|
31
|
+
from langtrace_python_sdk.instrumentation import (
|
|
32
32
|
AnthropicInstrumentation,
|
|
33
|
-
)
|
|
34
|
-
from langtrace_python_sdk.instrumentation.chroma.instrumentation import (
|
|
35
33
|
ChromaInstrumentation,
|
|
36
|
-
)
|
|
37
|
-
from langtrace_python_sdk.instrumentation.cohere.instrumentation import (
|
|
38
34
|
CohereInstrumentation,
|
|
39
|
-
)
|
|
40
|
-
from langtrace_python_sdk.instrumentation.groq.instrumentation import (
|
|
41
35
|
GroqInstrumentation,
|
|
42
|
-
)
|
|
43
|
-
from langtrace_python_sdk.instrumentation.langchain.instrumentation import (
|
|
44
36
|
LangchainInstrumentation,
|
|
45
|
-
)
|
|
46
|
-
from langtrace_python_sdk.instrumentation.langchain_community.instrumentation import (
|
|
47
37
|
LangchainCommunityInstrumentation,
|
|
48
|
-
)
|
|
49
|
-
from langtrace_python_sdk.instrumentation.langchain_core.instrumentation import (
|
|
50
38
|
LangchainCoreInstrumentation,
|
|
51
|
-
)
|
|
52
|
-
from langtrace_python_sdk.instrumentation.langgraph.instrumentation import (
|
|
53
39
|
LanggraphInstrumentation,
|
|
54
|
-
)
|
|
55
|
-
from langtrace_python_sdk.instrumentation.llamaindex.instrumentation import (
|
|
56
40
|
LlamaindexInstrumentation,
|
|
57
|
-
)
|
|
58
|
-
from langtrace_python_sdk.instrumentation.openai.instrumentation import (
|
|
59
41
|
OpenAIInstrumentation,
|
|
60
|
-
)
|
|
61
|
-
from langtrace_python_sdk.instrumentation.pinecone.instrumentation import (
|
|
62
42
|
PineconeInstrumentation,
|
|
63
|
-
)
|
|
64
|
-
from langtrace_python_sdk.instrumentation.qdrant.instrumentation import (
|
|
65
43
|
QdrantInstrumentation,
|
|
66
|
-
)
|
|
67
|
-
from langtrace_python_sdk.instrumentation.weaviate.instrumentation import (
|
|
68
44
|
WeaviateInstrumentation,
|
|
69
45
|
)
|
|
70
|
-
|
|
46
|
+
from opentelemetry.instrumentation.sqlalchemy import SQLAlchemyInstrumentor
|
|
71
47
|
from colorama import Fore
|
|
72
48
|
|
|
73
49
|
|
|
@@ -97,7 +73,7 @@ def init(
|
|
|
97
73
|
provider.add_span_processor(simple_processor_console)
|
|
98
74
|
|
|
99
75
|
elif custom_remote_exporter is not None:
|
|
100
|
-
print(Fore.BLUE +
|
|
76
|
+
print(Fore.BLUE + "Exporting spans to custom remote exporter.." + Fore.RESET)
|
|
101
77
|
if batch:
|
|
102
78
|
provider.add_span_processor(batch_processor_remote)
|
|
103
79
|
else:
|
|
@@ -130,6 +106,7 @@ def init(
|
|
|
130
106
|
"anthropic": AnthropicInstrumentation(),
|
|
131
107
|
"cohere": CohereInstrumentation(),
|
|
132
108
|
"weaviate": WeaviateInstrumentation(),
|
|
109
|
+
"sqlalchemy": SQLAlchemyInstrumentor(),
|
|
133
110
|
}
|
|
134
111
|
|
|
135
112
|
init_instrumentations(disable_instrumentations, all_instrumentations)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.1.5"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation/langchain_community/__init__.py
DELETED
|
File without changes
|
langtrace_python_sdk-2.1.4/src/langtrace_python_sdk/instrumentation/langchain_core/__init__.py
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.1.4"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/anthropic_example/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/chroma_example/__init__.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/chroma_example/basic.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/cohere_example/__init__.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/cohere_example/chat.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/cohere_example/chat_stream.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/cohere_example/embed.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/cohere_example/rerank.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/cohere_example/tools.py
RENAMED
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/hiveagent_example/basic.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/langchain_example/__init__.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/langchain_example/basic.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/langchain_example/tool.py
RENAMED
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/llamaindex_example/agent.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/llamaindex_example/basic.py
RENAMED
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/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
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/perplexity_example/basic.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/pinecone_example/__init__.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/pinecone_example/basic.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/qdrant_example/__init__.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/examples/qdrant_example/basic.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/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
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/types/__init__.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/utils/__init__.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/utils/llm.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/langtrace_python_sdk/utils/misc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/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.1.4 → langtrace_python_sdk-2.1.5}/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.1.4 → langtrace_python_sdk-2.1.5}/src/tests/cohere/test_cohere_chat.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/cohere/test_cohere_embed.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/cohere/test_cohere_rerank.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/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.1.4 → langtrace_python_sdk-2.1.5}/src/tests/openai/test_chat_completion.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/openai/test_embeddings.py
RENAMED
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/openai/test_image_generation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-2.1.4 → langtrace_python_sdk-2.1.5}/src/tests/pinecone/test_pinecone.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|