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

Adds OpenAI example similar to Python and Node.js #498

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

codefromthecrypt
Copy link
Contributor

This is an example for OpenAI made by @JonasKunz @anuraaga and I, for the code in #497.

The download URL for the agent won't work until #497 is merged and released.

This adds the example into the same directory path in EDOT Python and Node.js and will be used in an upcoming blog.

https://github.com/elastic/elastic-otel-node/tree/main/examples/openai
https://github.com/elastic/elastic-otel-python/tree/main/examples/openai

Besides being consistent across languages, having this example here helps raise visibility of EDOT which will later include more GenAI features or improvements to this codebase.

examples/openai/README.md Outdated Show resolved Hide resolved
examples/openai/env.example Outdated Show resolved Hide resolved
examples/openai/env.example Outdated Show resolved Hide resolved
Signed-off-by: Adrian Cole <[email protected]>
Co-authored-by: Jonas Kunz <[email protected]>
@codefromthecrypt
Copy link
Contributor Author

auto-merge ready!

@codefromthecrypt codefromthecrypt merged commit 43454f1 into main Jan 21, 2025
17 checks passed
@JonasKunz JonasKunz deleted the openai-example branch January 21, 2025 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants