Skip to content

Commit e1f8b12

Browse files
chatbot-rag-app: updates to EDOT which unpins instrumentation-openai version (#429)
Signed-off-by: Adrian Cole <[email protected]>
1 parent 57c7983 commit e1f8b12

File tree

3 files changed

+83
-77
lines changed

3 files changed

+83
-77
lines changed

example-apps/chatbot-rag-app/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ reinstall like this. Once checked in, any commands above will use updates.
220220
rm -rf .venv requirements.txt
221221
python3 -m venv .venv
222222
source .venv/bin/activate
223+
pip install --upgrade pip
223224
# Install dev requirements for pip-compile and edot-bootstrap
224225
pip install pip-tools elastic-opentelemetry
225226
# Recreate requirements.txt

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ def init_openai_chat(temperature):
2020

2121

2222
def init_vertex_chat(temperature):
23-
# VertexAI is not yet in EDOT. Use the Langtrace Python SDK instead
23+
# opentelemetry-instrumentation-vertexai is included by EDOT, but does not
24+
# yet not support streaming. Use the Langtrace Python SDK instead.
2425
from langtrace_python_sdk.instrumentation import VertexAIInstrumentation
2526

2627
VertexAIInstrumentation().instrument()

0 commit comments

Comments
 (0)