langtrace-python-sdk 1.1.25__py3-none-any.whl → 1.1.27__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/langtrace.py +1 -1
- langtrace_python_sdk-1.1.27.dist-info/METADATA +220 -0
- {langtrace_python_sdk-1.1.25.dist-info → langtrace_python_sdk-1.1.27.dist-info}/RECORD +6 -6
- langtrace_python_sdk-1.1.25.dist-info/METADATA +0 -71
- {langtrace_python_sdk-1.1.25.dist-info → langtrace_python_sdk-1.1.27.dist-info}/LICENSE +0 -0
- {langtrace_python_sdk-1.1.25.dist-info → langtrace_python_sdk-1.1.27.dist-info}/WHEEL +0 -0
- {langtrace_python_sdk-1.1.25.dist-info → langtrace_python_sdk-1.1.27.dist-info}/top_level.txt +0 -0
|
@@ -61,7 +61,7 @@ def init(
|
|
|
61
61
|
if batch:
|
|
62
62
|
provider.add_span_processor(batch_processor_remote)
|
|
63
63
|
else:
|
|
64
|
-
|
|
64
|
+
raise ValueError("Batching is required for remote write")
|
|
65
65
|
|
|
66
66
|
# Initialize tracer
|
|
67
67
|
trace.set_tracer_provider(provider)
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: langtrace-python-sdk
|
|
3
|
+
Version: 1.1.27
|
|
4
|
+
Summary: Python SDK for LangTrace
|
|
5
|
+
Home-page: https://github.com/Scale3-Labs/langtrace-python-sdk
|
|
6
|
+
Author: Scale3 Labs
|
|
7
|
+
Author-email: engineering@scale3labs.com
|
|
8
|
+
Maintainer: ['Ali Waleed', 'Darshit Suratwala', 'Dylan Zuber', 'Karthik Kalyanaraman', 'Obinna Okafor', 'Rohit Kadhe', 'Yemi Adejumobi']
|
|
9
|
+
License: AGPL-3.0-or-later
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Requires-Python: >=3.6
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
License-File: LICENSE
|
|
16
|
+
Requires-Dist: bcrypt ==4.1.2
|
|
17
|
+
Requires-Dist: aiohttp ==3.9.3
|
|
18
|
+
Requires-Dist: aiosignal ==1.3.1
|
|
19
|
+
Requires-Dist: annotated-types ==0.6.0
|
|
20
|
+
Requires-Dist: anthropic ==0.19.1
|
|
21
|
+
Requires-Dist: anyio ==4.3.0
|
|
22
|
+
Requires-Dist: asgiref ==3.7.2
|
|
23
|
+
Requires-Dist: async-timeout ==4.0.3
|
|
24
|
+
Requires-Dist: attrs ==23.2.0
|
|
25
|
+
Requires-Dist: backoff ==2.2.1
|
|
26
|
+
Requires-Dist: beautifulsoup4 ==4.12.3
|
|
27
|
+
Requires-Dist: bs4 ==0.0.2
|
|
28
|
+
Requires-Dist: build ==1.0.3
|
|
29
|
+
Requires-Dist: cachetools ==5.3.3
|
|
30
|
+
Requires-Dist: certifi ==2024.2.2
|
|
31
|
+
Requires-Dist: charset-normalizer ==3.3.2
|
|
32
|
+
Requires-Dist: chroma-hnswlib ==0.7.3
|
|
33
|
+
Requires-Dist: chromadb ==0.4.23
|
|
34
|
+
Requires-Dist: click ==8.1.7
|
|
35
|
+
Requires-Dist: coloredlogs ==15.0.1
|
|
36
|
+
Requires-Dist: dataclasses-json ==0.6.4
|
|
37
|
+
Requires-Dist: Deprecated ==1.2.14
|
|
38
|
+
Requires-Dist: dirtyjson ==1.0.8
|
|
39
|
+
Requires-Dist: distro ==1.9.0
|
|
40
|
+
Requires-Dist: docarray ==0.40.0
|
|
41
|
+
Requires-Dist: exceptiongroup ==1.2.0
|
|
42
|
+
Requires-Dist: faiss-cpu ==1.7.4
|
|
43
|
+
Requires-Dist: fastapi ==0.110.0
|
|
44
|
+
Requires-Dist: filelock ==3.13.1
|
|
45
|
+
Requires-Dist: flatbuffers ==23.5.26
|
|
46
|
+
Requires-Dist: frozenlist ==1.4.1
|
|
47
|
+
Requires-Dist: fsspec ==2024.2.0
|
|
48
|
+
Requires-Dist: google-auth ==2.28.1
|
|
49
|
+
Requires-Dist: googleapis-common-protos ==1.62.0
|
|
50
|
+
Requires-Dist: greenlet ==3.0.3
|
|
51
|
+
Requires-Dist: grpcio ==1.62.0
|
|
52
|
+
Requires-Dist: h11 ==0.14.0
|
|
53
|
+
Requires-Dist: httpcore ==1.0.4
|
|
54
|
+
Requires-Dist: httptools ==0.6.1
|
|
55
|
+
Requires-Dist: httpx ==0.27.0
|
|
56
|
+
Requires-Dist: huggingface-hub ==0.20.3
|
|
57
|
+
Requires-Dist: humanfriendly ==10.0
|
|
58
|
+
Requires-Dist: idna ==3.6
|
|
59
|
+
Requires-Dist: importlib-metadata ==6.11.0
|
|
60
|
+
Requires-Dist: importlib-resources ==6.1.2
|
|
61
|
+
Requires-Dist: joblib ==1.3.2
|
|
62
|
+
Requires-Dist: jsonpatch ==1.33
|
|
63
|
+
Requires-Dist: jsonpointer ==2.4
|
|
64
|
+
Requires-Dist: kubernetes ==29.0.0
|
|
65
|
+
Requires-Dist: langchain ==0.1.9
|
|
66
|
+
Requires-Dist: langchain-community ==0.0.24
|
|
67
|
+
Requires-Dist: langchain-core ==0.1.27
|
|
68
|
+
Requires-Dist: langchain-openai ==0.0.7
|
|
69
|
+
Requires-Dist: langchainhub ==0.1.14
|
|
70
|
+
Requires-Dist: langsmith ==0.1.9
|
|
71
|
+
Requires-Dist: llama-index ==0.10.13.post1
|
|
72
|
+
Requires-Dist: llama-index-agent-openai ==0.1.5
|
|
73
|
+
Requires-Dist: llama-index-cli ==0.1.5
|
|
74
|
+
Requires-Dist: llama-index-core ==0.10.13
|
|
75
|
+
Requires-Dist: llama-index-embeddings-openai ==0.1.6
|
|
76
|
+
Requires-Dist: llama-index-indices-managed-llama-cloud ==0.1.3
|
|
77
|
+
Requires-Dist: llama-index-legacy ==0.9.48
|
|
78
|
+
Requires-Dist: llama-index-llms-openai ==0.1.6
|
|
79
|
+
Requires-Dist: llama-index-multi-modal-llms-openai ==0.1.4
|
|
80
|
+
Requires-Dist: llama-index-program-openai ==0.1.4
|
|
81
|
+
Requires-Dist: llama-index-question-gen-openai ==0.1.3
|
|
82
|
+
Requires-Dist: llama-index-readers-file ==0.1.6
|
|
83
|
+
Requires-Dist: llama-index-readers-llama-parse ==0.1.3
|
|
84
|
+
Requires-Dist: llama-index-vector-stores-chroma ==0.1.4
|
|
85
|
+
Requires-Dist: llama-parse ==0.3.4
|
|
86
|
+
Requires-Dist: llamaindex-py-client ==0.1.13
|
|
87
|
+
Requires-Dist: markdown-it-py ==3.0.0
|
|
88
|
+
Requires-Dist: marshmallow ==3.21.0
|
|
89
|
+
Requires-Dist: mdurl ==0.1.2
|
|
90
|
+
Requires-Dist: mmh3 ==4.1.0
|
|
91
|
+
Requires-Dist: monotonic ==1.6
|
|
92
|
+
Requires-Dist: mpmath ==1.3.0
|
|
93
|
+
Requires-Dist: multidict ==6.0.5
|
|
94
|
+
Requires-Dist: mypy-extensions ==1.0.0
|
|
95
|
+
Requires-Dist: nest-asyncio ==1.6.0
|
|
96
|
+
Requires-Dist: networkx ==3.2.1
|
|
97
|
+
Requires-Dist: nltk ==3.8.1
|
|
98
|
+
Requires-Dist: numexpr ==2.9.0
|
|
99
|
+
Requires-Dist: numpy ==1.26.4
|
|
100
|
+
Requires-Dist: oauthlib ==3.2.2
|
|
101
|
+
Requires-Dist: onnxruntime ==1.17.1
|
|
102
|
+
Requires-Dist: openai ==1.12.0
|
|
103
|
+
Requires-Dist: opentelemetry-api ==1.23.0
|
|
104
|
+
Requires-Dist: opentelemetry-distro ==0.44b0
|
|
105
|
+
Requires-Dist: opentelemetry-exporter-otlp ==1.23.0
|
|
106
|
+
Requires-Dist: opentelemetry-exporter-otlp-proto-common ==1.23.0
|
|
107
|
+
Requires-Dist: opentelemetry-exporter-otlp-proto-grpc ==1.23.0
|
|
108
|
+
Requires-Dist: opentelemetry-exporter-otlp-proto-http ==1.23.0
|
|
109
|
+
Requires-Dist: opentelemetry-instrumentation ==0.44b0
|
|
110
|
+
Requires-Dist: opentelemetry-instrumentation-asgi ==0.44b0
|
|
111
|
+
Requires-Dist: opentelemetry-instrumentation-fastapi ==0.44b0
|
|
112
|
+
Requires-Dist: opentelemetry-proto ==1.23.0
|
|
113
|
+
Requires-Dist: opentelemetry-sdk ==1.23.0
|
|
114
|
+
Requires-Dist: opentelemetry-semantic-conventions ==0.44b0
|
|
115
|
+
Requires-Dist: opentelemetry-util-http ==0.44b0
|
|
116
|
+
Requires-Dist: orjson ==3.9.15
|
|
117
|
+
Requires-Dist: overrides ==7.7.0
|
|
118
|
+
Requires-Dist: packaging ==23.2
|
|
119
|
+
Requires-Dist: pandas ==2.2.1
|
|
120
|
+
Requires-Dist: pillow ==10.2.0
|
|
121
|
+
Requires-Dist: pinecone-client ==3.1.0
|
|
122
|
+
Requires-Dist: posthog ==3.4.2
|
|
123
|
+
Requires-Dist: protobuf ==4.25.3
|
|
124
|
+
Requires-Dist: pulsar-client ==3.4.0
|
|
125
|
+
Requires-Dist: pyasn1 ==0.5.1
|
|
126
|
+
Requires-Dist: pyasn1-modules ==0.3.0
|
|
127
|
+
Requires-Dist: pydantic ==2.6.2
|
|
128
|
+
Requires-Dist: pydantic-core ==2.16.3
|
|
129
|
+
Requires-Dist: Pygments ==2.17.2
|
|
130
|
+
Requires-Dist: PyMuPDF ==1.23.25
|
|
131
|
+
Requires-Dist: PyMuPDFb ==1.23.22
|
|
132
|
+
Requires-Dist: pypdf ==4.0.2
|
|
133
|
+
Requires-Dist: PyPika ==0.48.9
|
|
134
|
+
Requires-Dist: pyproject-hooks ==1.0.0
|
|
135
|
+
Requires-Dist: python-dateutil ==2.8.2
|
|
136
|
+
Requires-Dist: python-dotenv ==1.0.1
|
|
137
|
+
Requires-Dist: pytz ==2024.1
|
|
138
|
+
Requires-Dist: PyYAML ==6.0.1
|
|
139
|
+
Requires-Dist: regex ==2023.12.25
|
|
140
|
+
Requires-Dist: requests ==2.31.0
|
|
141
|
+
Requires-Dist: requests-oauthlib ==1.3.1
|
|
142
|
+
Requires-Dist: rich ==13.7.0
|
|
143
|
+
Requires-Dist: rsa ==4.9
|
|
144
|
+
Requires-Dist: six ==1.16.0
|
|
145
|
+
Requires-Dist: sniffio ==1.3.0
|
|
146
|
+
Requires-Dist: soupsieve ==2.5
|
|
147
|
+
Requires-Dist: SQLAlchemy ==2.0.27
|
|
148
|
+
Requires-Dist: starlette ==0.36.3
|
|
149
|
+
Requires-Dist: sympy ==1.12
|
|
150
|
+
Requires-Dist: tenacity ==8.2.3
|
|
151
|
+
Requires-Dist: tiktoken ==0.6.0
|
|
152
|
+
Requires-Dist: tokenizers ==0.15.2
|
|
153
|
+
Requires-Dist: tomli ==2.0.1
|
|
154
|
+
Requires-Dist: tqdm ==4.66.2
|
|
155
|
+
Requires-Dist: trace-attributes ==1.0.24
|
|
156
|
+
Requires-Dist: typer ==0.9.0
|
|
157
|
+
Requires-Dist: types-requests ==2.31.0.20240218
|
|
158
|
+
Requires-Dist: typing ==3.7.4.3
|
|
159
|
+
Requires-Dist: typing-inspect ==0.9.0
|
|
160
|
+
Requires-Dist: typing-extensions ==4.9.0
|
|
161
|
+
Requires-Dist: tzdata ==2024.1
|
|
162
|
+
Requires-Dist: urllib3 ==2.2.1
|
|
163
|
+
Requires-Dist: uvicorn ==0.27.1
|
|
164
|
+
Requires-Dist: uvloop ==0.19.0
|
|
165
|
+
Requires-Dist: watchfiles ==0.21.0
|
|
166
|
+
Requires-Dist: websocket-client ==1.7.0
|
|
167
|
+
Requires-Dist: websockets ==12.0
|
|
168
|
+
Requires-Dist: wrapt ==1.16.0
|
|
169
|
+
Requires-Dist: yarl ==1.9.4
|
|
170
|
+
Requires-Dist: zipp ==3.17.0
|
|
171
|
+
|
|
172
|
+
# What is Langtrace?
|
|
173
|
+
|
|
174
|
+
Langtrace stands as a developer-centric, open-source solution, fully compatible with OpenTelemetry. It enables developers to effortlessly trace, monitor, and debug their LLM applications, offering robust support for automatic instrumentation.
|
|
175
|
+
|
|
176
|
+
## Supported LLM Modules
|
|
177
|
+
|
|
178
|
+
Langtrace supports a comprehensive range of LLMs, VectorDBs, and frameworks, ensuring wide coverage for your development needs:
|
|
179
|
+
|
|
180
|
+
### LLMs
|
|
181
|
+
|
|
182
|
+
1. OpenAI
|
|
183
|
+
2. Anthropic
|
|
184
|
+
3. Azure OpenAI
|
|
185
|
+
|
|
186
|
+
### VectorDBs
|
|
187
|
+
|
|
188
|
+
1. Pinecone
|
|
189
|
+
2. Chromadb
|
|
190
|
+
|
|
191
|
+
### Frameworks
|
|
192
|
+
|
|
193
|
+
1. LangChain
|
|
194
|
+
2. LlamaIndex
|
|
195
|
+
3. Haystack
|
|
196
|
+
|
|
197
|
+
We are actively working to extend our support to additional libraries!
|
|
198
|
+
|
|
199
|
+
## Getting Started
|
|
200
|
+
|
|
201
|
+
To begin utilizing Langtrace, follow these straightforward steps:
|
|
202
|
+
|
|
203
|
+
1. Install the package using `pip install langtrace-python-sdk`.
|
|
204
|
+
2. Incorporate Langtrace into your project with `from langtrace_python_sdk import langtrace`.
|
|
205
|
+
- This import should precede any other LLM module imports (such as OpenAI, LlamaIndex, etc.) to ensure proper functionality.
|
|
206
|
+
3. Initialize Langtrace by adding `langtrace.init({ write_to_remote_url: false})` to your code.
|
|
207
|
+
4. Congratulations, you've completed the basic setup! You will now begin to see traces from your LLM modules logged directly to the console.
|
|
208
|
+
|
|
209
|
+
## Exporting Traces to Langtrace
|
|
210
|
+
|
|
211
|
+
To configure trace exporting, you have two options:
|
|
212
|
+
|
|
213
|
+
You'll need both a Langtrace `api_key` and a `remote_url`, which can be acquired by logging into your Langtrace account.
|
|
214
|
+
|
|
215
|
+
1. Direct Initialization: Utilize `langtrace.init(batch=True, api_key=<YOUR_API_KEY>, remote_url=<YOUR_REMOTE_URL>)`.
|
|
216
|
+
2. Environment Variables: Set `API_KEY` and `URL`, then add `LangTrace.init(batch=True)` at the beginning of your file.
|
|
217
|
+
|
|
218
|
+
## Langtrace Cloud
|
|
219
|
+
|
|
220
|
+
Currently under development 🚧
|
|
@@ -16,7 +16,7 @@ examples/openai/images_generate.py,sha256=ZioxTuHKE_yYlhpESqXKVzdkiwdegkmLVB7N8T
|
|
|
16
16
|
examples/pinecone_example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
examples/pinecone_example/basic.py,sha256=8Tpf0hYMgJdjVpISu15BW7IpjrnwZXrBuCGoC9xE7Fg,927
|
|
18
18
|
langtrace_python_sdk/__init__.py,sha256=SlHg447-nQBbw8exRNJP_OyHUZ39Sldb7aaQ35hIRm8,262
|
|
19
|
-
langtrace_python_sdk/langtrace.py,sha256=
|
|
19
|
+
langtrace_python_sdk/langtrace.py,sha256=0fGFqYpu8LwYynHUhnoryv-j5y6T6Ap08CE_MucSltg,3215
|
|
20
20
|
langtrace_python_sdk/constants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
21
|
langtrace_python_sdk/constants/instrumentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
22
|
langtrace_python_sdk/constants/instrumentation/anthropic.py,sha256=YX3llt3zwDY6XrYk3CB8WEVqgrzRXEw_ffyk56JoF3k,126
|
|
@@ -54,8 +54,8 @@ langtrace_python_sdk/instrumentation/pinecone/patch.py,sha256=uDKUBjyOVCDL44YxXV
|
|
|
54
54
|
langtrace_python_sdk/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
55
55
|
langtrace_python_sdk/utils/llm.py,sha256=4z2e-md_ELXCEuOIRVWracR6qH2pmsOxCqpkuF9_3Nw,1589
|
|
56
56
|
langtrace_python_sdk/utils/with_root_span.py,sha256=LgFVwHq7KZ6sj2d783NZXr2fFWqI1rqVWSjJR68Ad1E,1044
|
|
57
|
-
langtrace_python_sdk-1.1.
|
|
58
|
-
langtrace_python_sdk-1.1.
|
|
59
|
-
langtrace_python_sdk-1.1.
|
|
60
|
-
langtrace_python_sdk-1.1.
|
|
61
|
-
langtrace_python_sdk-1.1.
|
|
57
|
+
langtrace_python_sdk-1.1.27.dist-info/LICENSE,sha256=VD-pauwiiia-Xi2zgKvalKRIFSJJjqRCQw6aIpK2T9U,33892
|
|
58
|
+
langtrace_python_sdk-1.1.27.dist-info/METADATA,sha256=l8dJnIGcOmTVPz0JuDLDkjLCyqHuYqNgc6MnvwAK8qI,8131
|
|
59
|
+
langtrace_python_sdk-1.1.27.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
60
|
+
langtrace_python_sdk-1.1.27.dist-info/top_level.txt,sha256=rwET8cHATJvDBti7Dm6pwWIrNAT8DvqCXgRPWdu7_Hs,30
|
|
61
|
+
langtrace_python_sdk-1.1.27.dist-info/RECORD,,
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: langtrace-python-sdk
|
|
3
|
-
Version: 1.1.25
|
|
4
|
-
Summary: Python SDK for LangTrace
|
|
5
|
-
Home-page: https://github.com/Scale3-Labs/langtrace-python-sdk
|
|
6
|
-
Author: Scale3 Labs
|
|
7
|
-
Author-email: engineering@scale3labs.com
|
|
8
|
-
Maintainer: ['Ali Waleed', 'Darshit Suratwala', 'Dylan Zuber', 'Karthik Kalyanaraman', 'Obinna Okafor', 'Rohit Kadhe', 'Yemi Adejumobi']
|
|
9
|
-
License: AGPL-3.0-or-later
|
|
10
|
-
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
|
|
12
|
-
Classifier: Operating System :: OS Independent
|
|
13
|
-
Requires-Python: >=3.6
|
|
14
|
-
Description-Content-Type: text/markdown
|
|
15
|
-
License-File: LICENSE
|
|
16
|
-
Requires-Dist: trace-attributes
|
|
17
|
-
Requires-Dist: opentelemetry-api
|
|
18
|
-
Requires-Dist: opentelemetry-instrumentation
|
|
19
|
-
Requires-Dist: opentelemetry-sdk
|
|
20
|
-
Requires-Dist: pinecone-client
|
|
21
|
-
Requires-Dist: tiktoken
|
|
22
|
-
|
|
23
|
-
# What is Langtrace?
|
|
24
|
-
|
|
25
|
-
Langtrace stands as a developer-centric, open-source solution, fully compatible with OpenTelemetry. It enables developers to effortlessly trace, monitor, and debug their LLM applications, offering robust support for automatic instrumentation.
|
|
26
|
-
|
|
27
|
-
## Supported LLM Modules
|
|
28
|
-
|
|
29
|
-
Langtrace supports a comprehensive range of LLMs, VectorDBs, and frameworks, ensuring wide coverage for your development needs:
|
|
30
|
-
|
|
31
|
-
### LLMs
|
|
32
|
-
|
|
33
|
-
1. OpenAI
|
|
34
|
-
2. Anthropic
|
|
35
|
-
3. Azure OpenAI
|
|
36
|
-
|
|
37
|
-
### VectorDBs
|
|
38
|
-
|
|
39
|
-
1. Pinecone
|
|
40
|
-
2. Chromadb
|
|
41
|
-
|
|
42
|
-
### Frameworks
|
|
43
|
-
|
|
44
|
-
1. LangChain
|
|
45
|
-
2. LlamaIndex
|
|
46
|
-
3. Haystack
|
|
47
|
-
|
|
48
|
-
We are actively working to extend our support to additional libraries!
|
|
49
|
-
|
|
50
|
-
## Getting Started
|
|
51
|
-
|
|
52
|
-
To begin utilizing Langtrace, follow these straightforward steps:
|
|
53
|
-
|
|
54
|
-
1. Install the package using `pip install langtrace-python-sdk`.
|
|
55
|
-
2. Incorporate Langtrace into your project with `from langtrace_python_sdk import langtrace`.
|
|
56
|
-
- This import should precede any other LLM module imports (such as OpenAI, LlamaIndex, etc.) to ensure proper functionality.
|
|
57
|
-
3. Initialize Langtrace by adding `langtrace.init({ write_to_remote_url: false})` to your code.
|
|
58
|
-
4. Congratulations, you've completed the basic setup! You will now begin to see traces from your LLM modules logged directly to the console.
|
|
59
|
-
|
|
60
|
-
## Exporting Traces to Langtrace
|
|
61
|
-
|
|
62
|
-
To configure trace exporting, you have two options:
|
|
63
|
-
|
|
64
|
-
You'll need both a Langtrace `api_key` and a `remote_url`, which can be acquired by logging into your Langtrace account.
|
|
65
|
-
|
|
66
|
-
1. Direct Initialization: Utilize `langtrace.init(batch=True, api_key=<YOUR_API_KEY>, remote_url=<YOUR_REMOTE_URL>)`.
|
|
67
|
-
2. Environment Variables: Set `API_KEY` and `URL`, then add `LangTrace.init(batch=True)` at the beginning of your file.
|
|
68
|
-
|
|
69
|
-
## Langtrace Cloud
|
|
70
|
-
|
|
71
|
-
Currently under development 🚧
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-1.1.25.dist-info → langtrace_python_sdk-1.1.27.dist-info}/top_level.txt
RENAMED
|
File without changes
|