Skip to content

chatbot-rag-app: updates to latest openai and uses uv to compile deps #458

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

Merged
merged 3 commits into from
May 28, 2025

Conversation

codefromthecrypt
Copy link
Collaborator

The published image was missing the chat span, this sorts it out. This also switches to uv to bump deps because pip compile was hanging due to complexity.

Screenshot 2025-05-27 at 10 50 23 AM

@codefromthecrypt codefromthecrypt enabled auto-merge (squash) May 27, 2025 02:57
Signed-off-by: Adrian Cole <[email protected]>
Copy link
Collaborator Author

@codefromthecrypt codefromthecrypt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

notes on pinning. which version of openai instrumentation is important when trying to figure out what worked vs is broke etc.

opentelemetry-instrumentation-system-metrics==0.52b1
opentelemetry-instrumentation-tortoiseorm==0.52b1
opentelemetry-instrumentation-urllib3==0.52b1
elastic-opentelemetry-instrumentation-openai
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

biggest difference also is that the docker-compose script fixes pinning. EDOT doesn't choose a version for openai, but the recreate-dependencies script fixes it.

elastic-opentelemetry==1.0.0
elastic-opentelemetry==1.2.0
# via -r requirements.in
elastic-opentelemetry-instrumentation-openai==1.1.1
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note this is now pinned

Signed-off-by: Adrian Cole <[email protected]>
@codefromthecrypt codefromthecrypt merged commit d11312a into main May 28, 2025
5 checks passed
@codefromthecrypt codefromthecrypt deleted the chatbot-bumps branch May 28, 2025 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants