Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chatbot-rag-app: updates to EDOT GA (unpins instrumentation-openai version) #429

Merged
merged 2 commits into from
Apr 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions example-apps/chatbot-rag-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ reinstall like this. Once checked in, any commands above will use updates.
rm -rf .venv requirements.txt
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
# Install dev requirements for pip-compile and edot-bootstrap
pip install pip-tools elastic-opentelemetry
# Recreate requirements.txt
Expand Down
3 changes: 2 additions & 1 deletion example-apps/chatbot-rag-app/api/llm_integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def init_openai_chat(temperature):


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

VertexAIInstrumentation().instrument()
Expand Down
Loading