Skip to content

Commit

Permalink
nuke docker option
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
codefromthecrypt committed Nov 20, 2024
1 parent 91d97e1 commit 6b798c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 37 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,7 @@ Minimally, update the `.env <.env>`_ file with your "OPENAI_API_KEY". An
OTLP compatible endpoint should be listening for traces and logs on
http://localhost:4318. If not, update "OTEL_EXPORTER_OTLP_ENDPOINT" as well.

Run with Docker
---------------

If you have Docker installed, you can run the example in one step:

::

docker-compose run --build --rm python-opentelemetry-openai

You should see a poem generated by OpenAI while traces and logs export to your
configured observability tool.

Run with Python
---------------

If you prefer to run the example with Python, set up a virtual environment for
the example like this:
Next, set up a virtual environment like this:

::

Expand All @@ -42,7 +26,10 @@ the example like this:
pip install "python-dotenv[cli]"
pip install -r requirements.txt

Now, run the example like this:
Run
---

Run the example like this:

::

Expand Down

This file was deleted.

0 comments on commit 6b798c8

Please sign in to comment.