langtrace-python-sdk 3.5.1__tar.gz → 3.6.0__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.
Files changed (295) hide show
  1. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/PKG-INFO +3 -2
  2. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/pyproject.toml +2 -1
  3. langtrace_python_sdk-3.6.0/src/examples/graphlit_example/__init__.py +9 -0
  4. langtrace_python_sdk-3.6.0/src/examples/graphlit_example/conversation.py +87 -0
  5. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/common.py +1 -0
  6. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/__init__.py +5 -0
  7. langtrace_python_sdk-3.6.0/src/langtrace_python_sdk/instrumentation/graphlit/__init__.py +3 -0
  8. langtrace_python_sdk-3.6.0/src/langtrace_python_sdk/instrumentation/graphlit/instrumentation.py +57 -0
  9. langtrace_python_sdk-3.6.0/src/langtrace_python_sdk/instrumentation/graphlit/patch.py +69 -0
  10. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/langtrace.py +47 -3
  11. langtrace_python_sdk-3.6.0/src/langtrace_python_sdk/version.py +1 -0
  12. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/run_example.py +8 -1
  13. langtrace_python_sdk-3.5.1/src/langtrace_python_sdk/version.py +0 -1
  14. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/.gitignore +0 -0
  15. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/LICENSE +0 -0
  16. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/README.md +0 -0
  17. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/__init__.py +0 -0
  18. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/__init__.py +0 -0
  19. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/anthropic_example/__init__.py +0 -0
  20. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/anthropic_example/completion.py +0 -0
  21. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/autogen_example/__init__.py +0 -0
  22. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/autogen_example/main.py +0 -0
  23. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/awsbedrock_examples/__init__.py +0 -0
  24. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/awsbedrock_examples/converse.py +0 -0
  25. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/azureopenai_example/__init__.py +0 -0
  26. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/azureopenai_example/completion.py +0 -0
  27. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/cerebras_example/__init__.py +0 -0
  28. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/cerebras_example/main.py +0 -0
  29. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/chroma_example/__init__.py +0 -0
  30. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/chroma_example/basic.py +0 -0
  31. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/cohere_example/__init__.py +0 -0
  32. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/cohere_example/chat.py +0 -0
  33. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/cohere_example/chat_stream.py +0 -0
  34. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/cohere_example/chat_streamv2.py +0 -0
  35. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/cohere_example/chatv2.py +0 -0
  36. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/cohere_example/embed.py +0 -0
  37. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/cohere_example/rerank.py +0 -0
  38. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/cohere_example/rerankv2.py +0 -0
  39. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/cohere_example/tools.py +0 -0
  40. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/__init__.py +0 -0
  41. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/basic.py +0 -0
  42. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/instagram_post/__init__.py +0 -0
  43. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/instagram_post/agents.py +0 -0
  44. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/instagram_post/main.py +0 -0
  45. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/instagram_post/tasks.py +0 -0
  46. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/instagram_post/tools/__init__.py +0 -0
  47. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/instagram_post/tools/browser_tools.py +0 -0
  48. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/simple_agent/__init__.py +0 -0
  49. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/simple_agent/agents.py +0 -0
  50. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/simple_agent/main.py +0 -0
  51. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/simple_agent/tasks.py +0 -0
  52. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/trip_planner/__init__.py +0 -0
  53. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/trip_planner/agents.py +0 -0
  54. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/trip_planner/main.py +0 -0
  55. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/trip_planner/tasks.py +0 -0
  56. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/trip_planner/tools/calculator.py +0 -0
  57. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/crewai_example/trip_planner/tools/search_tools.py +0 -0
  58. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/dspy_example/QA_basic.py +0 -0
  59. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/dspy_example/QA_basic_with_chain_of_thought.py +0 -0
  60. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/dspy_example/QA_basic_with_signature.py +0 -0
  61. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/dspy_example/QA_multi_step_with_chain_of_thought.py +0 -0
  62. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/dspy_example/math_problems_cot.py +0 -0
  63. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/dspy_example/math_problems_cot_parallel.py +0 -0
  64. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/dspy_example/optimizers/bootstrap_fewshot.py +0 -0
  65. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/dspy_example/program_of_thought_basic.py +0 -0
  66. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/dspy_example/quiz_gen.py +0 -0
  67. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/dspy_example/react.py +0 -0
  68. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/embedchain_example/simple.py +0 -0
  69. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/fastapi_example/__init__.py +0 -0
  70. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/fastapi_example/basic_route.py +0 -0
  71. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/gemini_example/__init__.py +0 -0
  72. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/gemini_example/function_tools.py +0 -0
  73. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/gemini_example/main.py +0 -0
  74. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/google_genai_example/__init__.py +0 -0
  75. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/google_genai_example/main.py +0 -0
  76. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/hiveagent_example/basic.py +0 -0
  77. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/inspect_ai_example/basic_eval.py +0 -0
  78. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/langchain_example/__init__.py +0 -0
  79. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/langchain_example/basic.py +0 -0
  80. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/langchain_example/groq_example.py +0 -0
  81. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/langchain_example/langchain_google_example.py +0 -0
  82. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/langchain_example/langgraph_example.py +0 -0
  83. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/langchain_example/langgraph_example_tools.py +0 -0
  84. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/langchain_example/sagemaker.py +0 -0
  85. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/langchain_example/tool.py +0 -0
  86. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/langgraph_example/main.py +0 -0
  87. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/litellm_example/basic.py +0 -0
  88. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/litellm_example/config.yaml +0 -0
  89. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/litellm_example/proxy_basic.py +0 -0
  90. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/llamaindex_example/__init__.py +0 -0
  91. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/llamaindex_example/agent.py +0 -0
  92. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/llamaindex_example/basic.py +0 -0
  93. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/llamaindex_example/data/abramov.txt +0 -0
  94. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/milvus_example/main.py +0 -0
  95. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/mistral_example/__init__.py +0 -0
  96. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/mistral_example/complete.py +0 -0
  97. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/mistral_example/complete_async.py +0 -0
  98. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/mistral_example/embeddings.py +0 -0
  99. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/mongo_vector_search_example/main.py +0 -0
  100. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/ollama_example/__init__.py +0 -0
  101. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/ollama_example/basic.py +0 -0
  102. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/openai_example/__init__.py +0 -0
  103. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/openai_example/async_tool_calling_nonstreaming.py +0 -0
  104. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/openai_example/async_tool_calling_streaming.py +0 -0
  105. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/openai_example/chat_completion.py +0 -0
  106. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/openai_example/chat_completion_tool_choice.py +0 -0
  107. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/openai_example/embeddings_create.py +0 -0
  108. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/openai_example/function_calling.py +0 -0
  109. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/openai_example/images_edit.py +0 -0
  110. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/openai_example/images_generate.py +0 -0
  111. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/openai_example/resources/lounge_flamingo.png +0 -0
  112. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/openai_example/resources/mask.png +0 -0
  113. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/openai_example/send_user_feedback.py +0 -0
  114. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/openai_example/tool_calling.py +0 -0
  115. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/openai_example/tool_calling_nonstreaming.py +0 -0
  116. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/openai_example/tool_calling_streaming.py +0 -0
  117. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/otlp_example/otlp_basic.py +0 -0
  118. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/otlp_example/otlp_with_langtrace.py +0 -0
  119. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/perplexity_example/basic.py +0 -0
  120. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/pinecone_example/__init__.py +0 -0
  121. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/pinecone_example/basic.py +0 -0
  122. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/qdrant_example/__init__.py +0 -0
  123. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/qdrant_example/basic.py +0 -0
  124. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/routellm_example/basic.py +0 -0
  125. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/vertexai_example/__init__.py +0 -0
  126. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/vertexai_example/main.py +0 -0
  127. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/weaviate_example/__init__.py +0 -0
  128. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/examples/weaviate_example/query_text.py +0 -0
  129. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/__init__.py +0 -0
  130. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/__init__.py +0 -0
  131. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/exporter/langtrace_exporter.py +0 -0
  132. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/__init__.py +0 -0
  133. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/anthropic.py +0 -0
  134. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/aws_bedrock.py +0 -0
  135. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/chroma.py +0 -0
  136. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/cohere.py +0 -0
  137. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/embedchain.py +0 -0
  138. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/gemini.py +0 -0
  139. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/groq.py +0 -0
  140. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/litellm.py +0 -0
  141. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/milvus.py +0 -0
  142. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/mistral.py +0 -0
  143. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/ollama.py +0 -0
  144. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/openai.py +0 -0
  145. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/pinecone.py +0 -0
  146. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/pymongo.py +0 -0
  147. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/qdrant.py +0 -0
  148. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/vertexai.py +0 -0
  149. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/constants/instrumentation/weaviate.py +0 -0
  150. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/extensions/__init__.py +0 -0
  151. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/extensions/langtrace_exporter.py +0 -0
  152. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/extensions/langtrace_filesystem.py +0 -0
  153. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/anthropic/__init__.py +0 -0
  154. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/anthropic/instrumentation.py +0 -0
  155. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/anthropic/patch.py +0 -0
  156. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/anthropic/types.py +0 -0
  157. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/autogen/__init__.py +0 -0
  158. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/autogen/instrumentation.py +0 -0
  159. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/autogen/patch.py +0 -0
  160. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/aws_bedrock/__init__.py +0 -0
  161. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/aws_bedrock/bedrock_streaming_wrapper.py +0 -0
  162. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/aws_bedrock/instrumentation.py +0 -0
  163. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/aws_bedrock/patch.py +0 -0
  164. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/aws_bedrock/stream_body_wrapper.py +0 -0
  165. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/cerebras/__init__.py +0 -0
  166. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/cerebras/instrumentation.py +0 -0
  167. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/cerebras/patch.py +0 -0
  168. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/chroma/__init__.py +0 -0
  169. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/chroma/instrumentation.py +0 -0
  170. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/chroma/patch.py +0 -0
  171. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/cohere/__init__.py +0 -0
  172. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/cohere/instrumentation.py +0 -0
  173. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/cohere/patch.py +0 -0
  174. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/crewai/__init__.py +0 -0
  175. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/crewai/instrumentation.py +0 -0
  176. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/crewai/patch.py +0 -0
  177. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/crewai_tools/__init__.py +0 -0
  178. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/crewai_tools/instrumentation.py +0 -0
  179. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/crewai_tools/patch.py +0 -0
  180. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/dspy/__init__.py +0 -0
  181. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/dspy/instrumentation.py +0 -0
  182. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/dspy/patch.py +0 -0
  183. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/embedchain/__init__.py +0 -0
  184. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/embedchain/instrumentation.py +0 -0
  185. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/embedchain/patch.py +0 -0
  186. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/gemini/__init__.py +0 -0
  187. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/gemini/instrumentation.py +0 -0
  188. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/gemini/patch.py +0 -0
  189. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/google_genai/__init__.py +0 -0
  190. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/google_genai/instrumentation.py +0 -0
  191. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/google_genai/patch.py +0 -0
  192. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/groq/__init__.py +0 -0
  193. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/groq/instrumentation.py +0 -0
  194. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/groq/patch.py +0 -0
  195. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/langchain/__init__.py +0 -0
  196. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/langchain/instrumentation.py +0 -0
  197. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/langchain/patch.py +0 -0
  198. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/langchain_community/__init__.py +0 -0
  199. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/langchain_community/instrumentation.py +0 -0
  200. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/langchain_community/patch.py +0 -0
  201. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/langchain_core/__init__.py +0 -0
  202. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/langchain_core/instrumentation.py +0 -0
  203. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/langchain_core/patch.py +0 -0
  204. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/langgraph/__init__.py +0 -0
  205. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/langgraph/instrumentation.py +0 -0
  206. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/langgraph/patch.py +0 -0
  207. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/litellm/__init__.py +0 -0
  208. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/litellm/instrumentation.py +0 -0
  209. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/litellm/patch.py +0 -0
  210. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/litellm/types.py +0 -0
  211. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/llamaindex/__init__.py +0 -0
  212. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/llamaindex/instrumentation.py +0 -0
  213. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/llamaindex/patch.py +0 -0
  214. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/milvus/__init__.py +0 -0
  215. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/milvus/instrumentation.py +0 -0
  216. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/milvus/patch.py +0 -0
  217. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/mistral/__init__.py +0 -0
  218. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/mistral/instrumentation.py +0 -0
  219. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/mistral/patch.py +0 -0
  220. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/ollama/__init__.py +0 -0
  221. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/ollama/instrumentation.py +0 -0
  222. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/ollama/patch.py +0 -0
  223. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/openai/__init__.py +0 -0
  224. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/openai/instrumentation.py +0 -0
  225. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/openai/patch.py +0 -0
  226. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/openai/types.py +0 -0
  227. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/pinecone/__init__.py +0 -0
  228. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/pinecone/instrumentation.py +0 -0
  229. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/pinecone/patch.py +0 -0
  230. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/pymongo/__init__.py +0 -0
  231. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/pymongo/instrumentation.py +0 -0
  232. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/pymongo/patch.py +0 -0
  233. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/qdrant/__init__.py +0 -0
  234. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/qdrant/instrumentation.py +0 -0
  235. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/qdrant/patch.py +0 -0
  236. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/vertexai/__init__.py +0 -0
  237. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/vertexai/instrumentation.py +0 -0
  238. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/vertexai/patch.py +0 -0
  239. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/weaviate/__init__.py +0 -0
  240. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/weaviate/instrumentation.py +0 -0
  241. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/instrumentation/weaviate/patch.py +0 -0
  242. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/types/__init__.py +0 -0
  243. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/utils/__init__.py +0 -0
  244. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/utils/langtrace_sampler.py +0 -0
  245. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/utils/llm.py +0 -0
  246. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/utils/misc.py +0 -0
  247. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/utils/prompt_registry.py +0 -0
  248. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/utils/sdk_version_checker.py +0 -0
  249. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/utils/silently_fail.py +0 -0
  250. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/utils/types.py +0 -0
  251. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/langtrace_python_sdk/utils/with_root_span.py +0 -0
  252. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/__init__.py +0 -0
  253. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/anthropic/cassettes/test_anthropic.yaml +0 -0
  254. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/anthropic/cassettes/test_anthropic_streaming.yaml +0 -0
  255. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/anthropic/cassettes/test_async_anthropic_streaming.yaml +0 -0
  256. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/anthropic/conftest.py +0 -0
  257. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/anthropic/test_anthropic.py +0 -0
  258. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/chroma/conftest.py +0 -0
  259. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/chroma/test_chroma.py +0 -0
  260. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/cohere/cassettes/test_cohere_chat.yaml +0 -0
  261. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/cohere/cassettes/test_cohere_chat_streaming.yaml +0 -0
  262. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/cohere/cassettes/test_cohere_embed.yaml +0 -0
  263. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/cohere/cassettes/test_cohere_rerank.yaml +0 -0
  264. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/cohere/conftest.py +0 -0
  265. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/cohere/test_cohere_chat.py +0 -0
  266. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/cohere/test_cohere_embed.py +0 -0
  267. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/cohere/test_cohere_rerank.py +0 -0
  268. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/conftest.py +0 -0
  269. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/groq/cassettes/test_async_chat_completion.yaml +0 -0
  270. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/groq/cassettes/test_async_chat_completion_streaming.yaml +0 -0
  271. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/groq/cassettes/test_chat_completion.yaml +0 -0
  272. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/groq/cassettes/test_chat_completion_streaming.yaml +0 -0
  273. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/groq/conftest.py +0 -0
  274. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/groq/test_groq.py +0 -0
  275. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/langchain/cassettes/test_langchain.yaml +0 -0
  276. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/langchain/conftest.py +0 -0
  277. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/langchain/test_langchain.py +0 -0
  278. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/openai/cassettes/test_async_chat_completion_streaming.yaml +0 -0
  279. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/openai/cassettes/test_async_image_generation.yaml +0 -0
  280. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/openai/cassettes/test_chat_completion.yaml +0 -0
  281. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/openai/cassettes/test_chat_completion_streaming.yaml +0 -0
  282. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/openai/cassettes/test_embeddings_base_url.yaml +0 -0
  283. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/openai/cassettes/test_image_generation.yaml +0 -0
  284. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/openai/conftest.py +0 -0
  285. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/openai/test_chat_completion.py +0 -0
  286. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/openai/test_embeddings.py +0 -0
  287. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/openai/test_image_generation.py +0 -0
  288. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/pinecone/cassettes/test_query.yaml +0 -0
  289. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/pinecone/cassettes/test_upsert.yaml +0 -0
  290. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/pinecone/conftest.py +0 -0
  291. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/pinecone/test_pinecone.py +0 -0
  292. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/qdrant/conftest.py +0 -0
  293. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/qdrant/test_qdrant.py +0 -0
  294. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/test_session_id.py +0 -0
  295. {langtrace_python_sdk-3.5.1 → langtrace_python_sdk-3.6.0}/src/tests/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langtrace-python-sdk
3
- Version: 3.5.1
3
+ Version: 3.6.0
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>
@@ -23,7 +23,7 @@ Requires-Dist: sentry-sdk>=2.14.0
23
23
  Requires-Dist: setuptools
24
24
  Requires-Dist: sqlalchemy
25
25
  Requires-Dist: tiktoken>=0.1.1
26
- Requires-Dist: trace-attributes==7.1.2
26
+ Requires-Dist: trace-attributes==7.2.0
27
27
  Requires-Dist: transformers>=4.11.3
28
28
  Requires-Dist: ujson>=5.10.0
29
29
  Provides-Extra: dev
@@ -33,6 +33,7 @@ Requires-Dist: cohere; extra == 'dev'
33
33
  Requires-Dist: embedchain; extra == 'dev'
34
34
  Requires-Dist: google-cloud-aiplatform; extra == 'dev'
35
35
  Requires-Dist: google-generativeai; extra == 'dev'
36
+ Requires-Dist: graphlit-client; extra == 'dev'
36
37
  Requires-Dist: groq; extra == 'dev'
37
38
  Requires-Dist: langchain; extra == 'dev'
38
39
  Requires-Dist: langchain-community; extra == 'dev'
@@ -18,7 +18,7 @@ classifiers = [
18
18
  "Operating System :: OS Independent",
19
19
  ]
20
20
  dependencies = [
21
- 'trace-attributes==7.1.2',
21
+ 'trace-attributes==7.2.0',
22
22
  'opentelemetry-api>=1.25.0',
23
23
  'opentelemetry-sdk>=1.25.0',
24
24
  'opentelemetry-instrumentation>=0.47b0',
@@ -44,6 +44,7 @@ dev = [
44
44
  "anthropic",
45
45
  "chromadb",
46
46
  "qdrant-client",
47
+ "graphlit-client",
47
48
  "python-dotenv",
48
49
  "pinecone-client",
49
50
  "langchain",
@@ -0,0 +1,9 @@
1
+ import asyncio
2
+ from examples.graphlit_example.conversation import complete
3
+ from langtrace_python_sdk import with_langtrace_root_span
4
+
5
+
6
+ class GraphlitRunner:
7
+ @with_langtrace_root_span("GraphlitRun")
8
+ def run(self):
9
+ asyncio.run(complete())
@@ -0,0 +1,87 @@
1
+ import asyncio
2
+ from dotenv import find_dotenv, load_dotenv
3
+ from langtrace_python_sdk import langtrace
4
+ from langtrace_python_sdk.utils.with_root_span import with_langtrace_root_span
5
+ from openai import OpenAI
6
+ from graphlit import Graphlit
7
+ from graphlit_api import input_types, enums, exceptions
8
+
9
+ _ = load_dotenv(find_dotenv())
10
+
11
+ langtrace.init()
12
+
13
+
14
+ graphlit = Graphlit()
15
+
16
+ langtrace.init()
17
+ client = OpenAI()
18
+
19
+
20
+ async def complete():
21
+ uri = "https://themixchief.com"
22
+ try:
23
+ ingest_response = await graphlit.client.ingest_uri(uri=uri, is_synchronous=True)
24
+ content_id = ingest_response.ingest_uri.id if ingest_response.ingest_uri is not None else None
25
+
26
+ if content_id is not None:
27
+ print(f'Ingested content [{content_id}]:')
28
+
29
+ prompt = "In 1 sentence, what does mixchief do."
30
+
31
+ model = "gpt-4o"
32
+
33
+ specification_input = input_types.SpecificationInput(
34
+ name=f"OpenAI [{str(enums.OpenAIModels.GPT4O_128K)}]",
35
+ type=enums.SpecificationTypes.COMPLETION,
36
+ serviceType=enums.ModelServiceTypes.OPEN_AI,
37
+ openAI=input_types.OpenAIModelPropertiesInput(
38
+ model=enums.OpenAIModels.GPT4O_128K,
39
+ )
40
+ )
41
+
42
+ specification_response = await graphlit.client.create_specification(specification_input)
43
+ specification_id = specification_response.create_specification.id if specification_response.create_specification is not None else None
44
+
45
+ if specification_id is not None:
46
+ print(f'Created specification [{specification_id}].')
47
+
48
+ conversation_input = input_types.ConversationInput(
49
+ name="Conversation",
50
+ specification=input_types.EntityReferenceInput(
51
+ id=specification_id
52
+ ),
53
+ )
54
+
55
+ conversation_response = await graphlit.client.create_conversation(conversation_input)
56
+ conversation_id = conversation_response.create_conversation.id if conversation_response.create_conversation is not None else None
57
+
58
+ if conversation_id is not None:
59
+ print(f'Created conversation [{conversation_id}].')
60
+
61
+ format_response = await graphlit.client.format_conversation(prompt, conversation_id)
62
+ formatted_message = format_response.format_conversation.message.message if format_response.format_conversation is not None and format_response.format_conversation.message is not None else None
63
+
64
+ if formatted_message is not None:
65
+ stream_response = client.chat.completions.create(
66
+ model=model,
67
+ messages=[{"role": "user", "content": formatted_message}],
68
+ temperature=0.1,
69
+ top_p=0.2,
70
+ stream=True
71
+ )
72
+
73
+ completion = ""
74
+
75
+ for chunk in stream_response:
76
+ delta = chunk.choices[0].delta.content
77
+
78
+ if delta is not None:
79
+ completion += delta
80
+
81
+ if completion is not None:
82
+ # NOTE: stores completion back into conversation
83
+ complete_response = await graphlit.client.complete_conversation(completion, conversation_id)
84
+
85
+ print(complete_response.complete_conversation.message.message if complete_response.complete_conversation is not None and complete_response.complete_conversation.message is not None else "None")
86
+ except exceptions.GraphQLClientError as e:
87
+ print(f"Graphlit API error: {e}")
@@ -40,6 +40,7 @@ SERVICE_PROVIDERS = {
40
40
  "AWS_BEDROCK": "AWS Bedrock",
41
41
  "CEREBRAS": "Cerebras",
42
42
  "MILVUS": "Milvus",
43
+ "GRAPHLIT": "Graphlit",
43
44
  }
44
45
 
45
46
  LANGTRACE_ADDITIONAL_SPAN_ATTRIBUTES_KEY = "langtrace_additional_attributes"
@@ -26,6 +26,10 @@ from .pymongo import PyMongoInstrumentation
26
26
  from .qdrant import QdrantInstrumentation
27
27
  from .vertexai import VertexAIInstrumentation
28
28
  from .weaviate import WeaviateInstrumentation
29
+ from .cerebras import CerebrasInstrumentation
30
+ from .milvus import MilvusInstrumentation
31
+ from .google_genai import GoogleGenaiInstrumentation
32
+ from .graphlit import GraphlitInstrumentation
29
33
 
30
34
  __all__ = [
31
35
  "AnthropicInstrumentation",
@@ -56,4 +60,5 @@ __all__ = [
56
60
  "MilvusInstrumentation",
57
61
  "GoogleGenaiInstrumentation",
58
62
  "CrewaiToolsInstrumentation",
63
+ "GraphlitInstrumentation",
59
64
  ]
@@ -0,0 +1,3 @@
1
+ from .instrumentation import GraphlitInstrumentation
2
+
3
+ __all__ = ["GraphlitInstrumentation"]
@@ -0,0 +1,57 @@
1
+ from opentelemetry.instrumentation.instrumentor import BaseInstrumentor
2
+ from opentelemetry.trace import get_tracer
3
+ from wrapt import wrap_function_wrapper as _W
4
+ from typing import Collection
5
+ from importlib_metadata import version as v
6
+ from .patch import patch_graphlit_operation
7
+
8
+ class GraphlitInstrumentation(BaseInstrumentor):
9
+
10
+ def instrumentation_dependencies(self) -> Collection[str]:
11
+ return ["graphlit-client >= 1.0.0"]
12
+
13
+ def _instrument(self, **kwargs):
14
+ tracer_provider = kwargs.get("tracer_provider")
15
+ tracer = get_tracer(__name__, "", tracer_provider)
16
+ version = v("graphlit-client")
17
+ try:
18
+ _W(
19
+ "graphlit.graphlit",
20
+ "Client.ingest_uri",
21
+ patch_graphlit_operation("ingest_uri", version, tracer),
22
+ )
23
+ _W(
24
+ "graphlit.graphlit",
25
+ "Client.create_feed",
26
+ patch_graphlit_operation("create_feed", version, tracer),
27
+ )
28
+ _W(
29
+ "graphlit.graphlit",
30
+ "Client.create_specification",
31
+ patch_graphlit_operation("create_specification", version, tracer),
32
+ )
33
+ _W(
34
+ "graphlit.graphlit",
35
+ "Client.create_conversation",
36
+ patch_graphlit_operation("create_conversation", version, tracer),
37
+ )
38
+ _W(
39
+ "graphlit.graphlit",
40
+ "Client.format_conversation",
41
+ patch_graphlit_operation("format_conversation", version, tracer),
42
+ )
43
+ _W(
44
+ "graphlit.graphlit",
45
+ "Client.complete_conversation",
46
+ patch_graphlit_operation("complete_conversation", version, tracer),
47
+ )
48
+ _W(
49
+ "graphlit.graphlit",
50
+ "Client.prompt_conversation",
51
+ patch_graphlit_operation("prompt_conversation", version, tracer),
52
+ )
53
+ except Exception:
54
+ pass
55
+
56
+ def _uninstrument(self, **kwargs):
57
+ pass
@@ -0,0 +1,69 @@
1
+ import json
2
+ from importlib_metadata import version as v
3
+ from langtrace.trace_attributes import FrameworkSpanAttributes
4
+ from opentelemetry import baggage
5
+ from opentelemetry.trace import Span, SpanKind, Tracer
6
+ from opentelemetry.trace.status import Status, StatusCode
7
+
8
+ from langtrace_python_sdk.constants import LANGTRACE_SDK_NAME
9
+ from langtrace_python_sdk.constants.instrumentation.common import (
10
+ LANGTRACE_ADDITIONAL_SPAN_ATTRIBUTES_KEY,
11
+ SERVICE_PROVIDERS,
12
+ )
13
+ from langtrace_python_sdk.utils.llm import set_span_attributes
14
+ from langtrace_python_sdk.utils.misc import serialize_args, serialize_kwargs
15
+
16
+
17
+ def patch_graphlit_operation(operation_name, version, tracer: Tracer):
18
+ async def traced_method(wrapped, instance, args, kwargs):
19
+ service_provider = SERVICE_PROVIDERS["GRAPHLIT"]
20
+ extra_attributes = baggage.get_baggage(LANGTRACE_ADDITIONAL_SPAN_ATTRIBUTES_KEY)
21
+ span_attributes = {
22
+ "langtrace.sdk.name": "langtrace-python-sdk",
23
+ "langtrace.service.name": service_provider,
24
+ "langtrace.service.type": "framework",
25
+ "langtrace.service.version": version,
26
+ "langtrace.version": v(LANGTRACE_SDK_NAME),
27
+ **(extra_attributes if extra_attributes is not None else {}),
28
+ }
29
+
30
+ span_attributes["langchain.metadata"] = serialize_kwargs(**kwargs)
31
+ span_attributes["langchain.inputs"] = serialize_args(*args)
32
+
33
+ attributes = FrameworkSpanAttributes(**span_attributes)
34
+
35
+ with tracer.start_as_current_span(
36
+ name=f"graphlit.{operation_name}", kind=SpanKind.CLIENT
37
+ ) as span:
38
+ try:
39
+ set_span_attributes(span, attributes)
40
+ result = await wrapped(*args, **kwargs)
41
+
42
+ if result:
43
+ operation_result = json.loads(result.model_dump_json())[operation_name]
44
+ if operation_name == "complete_conversation" or operation_name == "prompt_conversation" or operation_name == "format_conversation":
45
+ set_graphlit_conversation_attributes(span, operation_result)
46
+ else:
47
+ for key, value in operation_result.items():
48
+ span.set_attribute(f"graphlit.{operation_name}.{key}", str(value))
49
+
50
+ span.set_status(Status(StatusCode.OK))
51
+
52
+ return result
53
+
54
+ except Exception as err:
55
+ span.record_exception(err)
56
+ span.set_status(Status(StatusCode.ERROR, str(err)))
57
+ raise
58
+
59
+ return traced_method
60
+
61
+
62
+ def set_graphlit_conversation_attributes(span: Span, response):
63
+ if not response or "message" not in response:
64
+ return
65
+
66
+ span.set_attribute(f"graphlit.conversation.id", response['conversation']['id'])
67
+
68
+ for key, value in response['message'].items():
69
+ span.set_attribute(f"graphlit.conversation.{key}", str(value))
@@ -29,9 +29,52 @@ from opentelemetry.exporter.otlp.proto.http.trace_exporter import \
29
29
  from opentelemetry.instrumentation.sqlalchemy import SQLAlchemyInstrumentor
30
30
  from opentelemetry.sdk.resources import SERVICE_NAME, Resource
31
31
  from opentelemetry.sdk.trace import TracerProvider
32
- from opentelemetry.sdk.trace.export import (BatchSpanProcessor,
33
- ConsoleSpanExporter,
34
- SimpleSpanProcessor)
32
+ from opentelemetry.sdk.trace.export import (
33
+ BatchSpanProcessor,
34
+ ConsoleSpanExporter,
35
+ SimpleSpanProcessor,
36
+ )
37
+
38
+ from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import (
39
+ OTLPSpanExporter as GRPCExporter,
40
+ )
41
+ from opentelemetry.exporter.otlp.proto.http.trace_exporter import (
42
+ OTLPSpanExporter as HTTPExporter,
43
+ )
44
+ from langtrace_python_sdk.constants.exporter.langtrace_exporter import (
45
+ LANGTRACE_REMOTE_URL,
46
+ LANGTRACE_SESSION_ID_HEADER,
47
+ )
48
+ from langtrace_python_sdk.instrumentation import (
49
+ AnthropicInstrumentation,
50
+ ChromaInstrumentation,
51
+ CohereInstrumentation,
52
+ CrewAIInstrumentation,
53
+ DspyInstrumentation,
54
+ EmbedchainInstrumentation,
55
+ GeminiInstrumentation,
56
+ GroqInstrumentation,
57
+ LangchainCommunityInstrumentation,
58
+ LangchainCoreInstrumentation,
59
+ LangchainInstrumentation,
60
+ LanggraphInstrumentation,
61
+ LiteLLMInstrumentation,
62
+ LlamaindexInstrumentation,
63
+ MistralInstrumentation,
64
+ AWSBedrockInstrumentation,
65
+ OllamaInstrumentor,
66
+ OpenAIInstrumentation,
67
+ PineconeInstrumentation,
68
+ QdrantInstrumentation,
69
+ AutogenInstrumentation,
70
+ VertexAIInstrumentation,
71
+ WeaviateInstrumentation,
72
+ PyMongoInstrumentation,
73
+ CerebrasInstrumentation,
74
+ MilvusInstrumentation,
75
+ GoogleGenaiInstrumentation,
76
+ GraphlitInstrumentation,
77
+ )
35
78
  from opentelemetry.util.re import parse_env_headers
36
79
  from sentry_sdk.types import Event, Hint
37
80
 
@@ -279,6 +322,7 @@ def init(
279
322
  "google-cloud-aiplatform": VertexAIInstrumentation(),
280
323
  "google-generativeai": GeminiInstrumentation(),
281
324
  "google-genai": GoogleGenaiInstrumentation(),
325
+ "graphlit-client": GraphlitInstrumentation(),
282
326
  "mistralai": MistralInstrumentation(),
283
327
  "boto3": AWSBedrockInstrumentation(),
284
328
  "autogen": AutogenInstrumentation(),
@@ -0,0 +1 @@
1
+ __version__ = "3.6.0"
@@ -20,9 +20,10 @@ ENABLED_EXAMPLES = {
20
20
  "vertexai": False,
21
21
  "gemini": False,
22
22
  "mistral": False,
23
- "awsbedrock": True,
23
+ "awsbedrock": False,
24
24
  "cerebras": False,
25
25
  "google_genai": False,
26
+ "graphlit": True,
26
27
  }
27
28
 
28
29
  if ENABLED_EXAMPLES["anthropic"]:
@@ -144,3 +145,9 @@ if ENABLED_EXAMPLES["google_genai"]:
144
145
 
145
146
  print(Fore.BLUE + "Running Google Genai example" + Fore.RESET)
146
147
  GoogleGenaiRunner().run()
148
+
149
+ if ENABLED_EXAMPLES["graphlit"]:
150
+ from examples.graphlit_example import GraphlitRunner
151
+
152
+ print(Fore.BLUE + "Running Graphlit example" + Fore.RESET)
153
+ GraphlitRunner().run()
@@ -1 +0,0 @@
1
- __version__ = "3.5.1"