langtrace-python-sdk 1.2.8__py3-none-any.whl → 1.2.9__py3-none-any.whl
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/version.py +1 -1
- {langtrace_python_sdk-1.2.8.dist-info → langtrace_python_sdk-1.2.9.dist-info}/METADATA +3 -3
- {langtrace_python_sdk-1.2.8.dist-info → langtrace_python_sdk-1.2.9.dist-info}/RECORD +5 -5
- {langtrace_python_sdk-1.2.8.dist-info → langtrace_python_sdk-1.2.9.dist-info}/WHEEL +0 -0
- {langtrace_python_sdk-1.2.8.dist-info → langtrace_python_sdk-1.2.9.dist-info}/licenses/LICENSE +0 -0
langtrace_python_sdk/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.2.
|
|
1
|
+
__version__ = "1.2.9"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: langtrace-python-sdk
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.9
|
|
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>
|
|
@@ -60,7 +60,7 @@ To begin utilizing Langtrace, follow these straightforward steps:
|
|
|
60
60
|
1. Install the package using `pip install langtrace-python-sdk`.
|
|
61
61
|
2. Incorporate Langtrace into your project with `from langtrace_python_sdk import langtrace`.
|
|
62
62
|
- This import should precede any other LLM module imports (such as OpenAI, LlamaIndex, etc.) to ensure proper functionality.
|
|
63
|
-
3. Initialize Langtrace by adding `langtrace.init(
|
|
63
|
+
3. Initialize Langtrace by adding `langtrace.init(write_to_langtrace_cloud=false)` to your code.
|
|
64
64
|
4. Congratulations, you've completed the basic setup! You will now begin to see traces from your LLM modules logged directly to the console.
|
|
65
65
|
|
|
66
66
|
|
|
@@ -70,7 +70,7 @@ To configure trace exporting, you have two options:
|
|
|
70
70
|
|
|
71
71
|
You'll need a Langtrace `api_key`, which can be acquired by logging into your Langtrace account.
|
|
72
72
|
|
|
73
|
-
1. Direct Initialization: Utilize `langtrace.init(
|
|
73
|
+
1. Direct Initialization: Utilize `langtrace.init(api_key=<YOUR_API_KEY>)`.
|
|
74
74
|
2. Environment Variables: Set `LANGTRACE_API_KEY`, then add `langtrace.init()` at the beginning of your file.
|
|
75
75
|
|
|
76
76
|
### Additional Customization
|
|
@@ -18,7 +18,7 @@ examples/pinecone_example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
|
|
|
18
18
|
examples/pinecone_example/basic.py,sha256=hdV6-5Fmol9zeyFzDtdabD62vkqUJ4lCHG2YcVNpIpI,933
|
|
19
19
|
langtrace_python_sdk/__init__.py,sha256=SlHg447-nQBbw8exRNJP_OyHUZ39Sldb7aaQ35hIRm8,262
|
|
20
20
|
langtrace_python_sdk/langtrace.py,sha256=sWC7WqbOdOUB1sZ_hzLZVp0_Q8fBTRJRMUvOPyO6f20,3170
|
|
21
|
-
langtrace_python_sdk/version.py,sha256=
|
|
21
|
+
langtrace_python_sdk/version.py,sha256=Oh3Y6CIypkhAjW-aquBTyP3_cA-gKgKTwq9EpcWpjps,22
|
|
22
22
|
langtrace_python_sdk/constants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
23
|
langtrace_python_sdk/constants/exporter/langtrace_exporter.py,sha256=qicGmyWf0aCb9ki2wmkHOv8rb7TF5o61_rJhjrbHJzs,60
|
|
24
24
|
langtrace_python_sdk/constants/instrumentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -57,7 +57,7 @@ langtrace_python_sdk/instrumentation/pinecone/patch.py,sha256=lvWL_xM7mxTQ1D-eY5
|
|
|
57
57
|
langtrace_python_sdk/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
58
58
|
langtrace_python_sdk/utils/llm.py,sha256=4z2e-md_ELXCEuOIRVWracR6qH2pmsOxCqpkuF9_3Nw,1589
|
|
59
59
|
langtrace_python_sdk/utils/with_root_span.py,sha256=N7ONrcF0myZbHBy5gpQffDbX-Kf63Crsz9szG0i3m08,1889
|
|
60
|
-
langtrace_python_sdk-1.2.
|
|
61
|
-
langtrace_python_sdk-1.2.
|
|
62
|
-
langtrace_python_sdk-1.2.
|
|
63
|
-
langtrace_python_sdk-1.2.
|
|
60
|
+
langtrace_python_sdk-1.2.9.dist-info/METADATA,sha256=7GGOwhP1JxHec8hQl-Mte5gq2nacyflwXFKIsAh1Q9s,4727
|
|
61
|
+
langtrace_python_sdk-1.2.9.dist-info/WHEEL,sha256=uNdcs2TADwSd5pVaP0Z_kcjcvvTUklh2S7bxZMF8Uj0,87
|
|
62
|
+
langtrace_python_sdk-1.2.9.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
63
|
+
langtrace_python_sdk-1.2.9.dist-info/RECORD,,
|
|
File without changes
|
{langtrace_python_sdk-1.2.8.dist-info → langtrace_python_sdk-1.2.9.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|