Skip to content

Commit 2e1deca

Browse files
complete
Signed-off-by: Adrian Cole <[email protected]>
1 parent 5dbe24e commit 2e1deca

File tree

4 files changed

+15
-32
lines changed

4 files changed

+15
-32
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.venv
2+
*/node_modules

example-apps/chatbot-rag-app/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ FROM node:22-alpine AS build-step
22
WORKDIR /app
33
ENV PATH=/node_modules/.bin:$PATH
44
COPY frontend ./frontend
5-
RUN rm -rf /app/frontend/node_modules
65
RUN cd frontend && yarn install
76
RUN cd frontend && REACT_APP_API_HOST=/api yarn build
87

example-apps/chatbot-rag-app/api/llm_integrations.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,6 @@ def init_bedrock(temperature):
4040
from langtrace_python_sdk.instrumentation import AWSBedrockInstrumentation
4141

4242
AWSBedrockInstrumentation().instrument()
43-
44-
# TODO: Remove after https://github.com/Scale3-Labs/langtrace-python-sdk/issues/458
45-
from langtrace_python_sdk.instrumentation.aws_bedrock.patch import patch_aws_bedrock
46-
from opentelemetry.trace import get_tracer
47-
import importlib.metadata
48-
from wrapt import wrap_function_wrapper as _W
49-
50-
tracer = get_tracer(
51-
__name__,
52-
)
53-
version = importlib.metadata.version("boto3")
54-
55-
_W(
56-
module="boto3.session",
57-
name="Session.client",
58-
wrapper=patch_aws_bedrock(tracer, version),
59-
)
60-
6143
return ChatBedrock(
6244
model_id=os.getenv("CHAT_MODEL"),
6345
streaming=True,

example-apps/chatbot-rag-app/requirements.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ attrs==24.3.0
2222
# via aiohttp
2323
blinker==1.9.0
2424
# via flask
25-
boto3==1.35.99
25+
boto3==1.36.2
2626
# via langchain-aws
27-
botocore==1.35.99
27+
botocore==1.36.2
2828
# via
2929
# boto3
3030
# s3transfer
@@ -100,7 +100,7 @@ google-auth==2.37.0
100100
# google-cloud-core
101101
# google-cloud-resource-manager
102102
# google-cloud-storage
103-
google-cloud-aiplatform==1.76.0
103+
google-cloud-aiplatform==1.77.0
104104
# via langchain-google-vertexai
105105
google-cloud-bigquery==3.27.0
106106
# via google-cloud-aiplatform
@@ -187,13 +187,13 @@ langchain==0.3.14
187187
# via
188188
# -r requirements.in
189189
# langchain-community
190-
langchain-aws==0.2.10
190+
langchain-aws==0.2.11
191191
# via -r requirements.in
192192
langchain-cohere==0.3.4
193193
# via -r requirements.in
194194
langchain-community==0.3.14
195195
# via langchain-experimental
196-
langchain-core==0.3.29
196+
langchain-core==0.3.30
197197
# via
198198
# langchain
199199
# langchain-aws
@@ -205,24 +205,24 @@ langchain-core==0.3.29
205205
# langchain-mistralai
206206
# langchain-openai
207207
# langchain-text-splitters
208-
langchain-elasticsearch==0.3.0
208+
langchain-elasticsearch==0.3.2
209209
# via -r requirements.in
210210
langchain-experimental==0.3.4
211211
# via langchain-cohere
212212
langchain-google-vertexai==2.0.11
213213
# via -r requirements.in
214214
langchain-mistralai==0.2.4
215215
# via -r requirements.in
216-
langchain-openai==0.3.0
216+
langchain-openai==0.3.1
217217
# via -r requirements.in
218218
langchain-text-splitters==0.3.5
219219
# via langchain
220-
langsmith==0.2.10
220+
langsmith==0.2.11
221221
# via
222222
# langchain
223223
# langchain-community
224224
# langchain-core
225-
langtrace-python-sdk==3.3.24
225+
langtrace-python-sdk==3.3.26
226226
# via -r requirements.in
227227
markupsafe==3.0.2
228228
# via
@@ -236,7 +236,7 @@ multidict==6.1.0
236236
# yarl
237237
mypy-extensions==1.0.0
238238
# via typing-inspect
239-
numpy==2.2.1
239+
numpy==2.2.2
240240
# via
241241
# elasticsearch
242242
# langchain
@@ -245,7 +245,7 @@ numpy==2.2.1
245245
# pandas
246246
# shapely
247247
# transformers
248-
openai==1.59.7
248+
openai==1.59.9
249249
# via langchain-openai
250250
opentelemetry-api==1.29.0
251251
# via
@@ -309,7 +309,7 @@ opentelemetry-semantic-conventions==0.50b0
309309
# opentelemetry-instrumentation
310310
# opentelemetry-instrumentation-sqlalchemy
311311
# opentelemetry-sdk
312-
orjson==3.10.14
312+
orjson==3.10.15
313313
# via langsmith
314314
packaging==24.2
315315
# via
@@ -412,7 +412,7 @@ requests-toolbelt==1.0.0
412412
# via langsmith
413413
rsa==4.9
414414
# via google-auth
415-
s3transfer==0.10.4
415+
s3transfer==0.11.1
416416
# via boto3
417417
safetensors==0.5.2
418418
# via transformers

0 commit comments

Comments
 (0)