Skip to content

Commit

Permalink
Update Python Agent version for pip installs (#68)
Browse files Browse the repository at this point in the history
* Created a functioning Jupyter Notebook example for AI Monitoring.

* Cleaning up jupyter notebook. Removing calls to the add-on as
it is no longer needed in this exaple. Documenting different
ways a customer can retrieve environment variables through a few
common ways to run the notebook.

* Adding comment to make sure the reader has set their NR license key.

* Updating pip setup file to match poetry. Namely, the correct Python
agent version and supporting OpenAI < 2.0.
  • Loading branch information
bonczj authored Feb 23, 2024
1 parent 0b9a19e commit bb870c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ hello = *.msg
[options.entry_points]

[options.extras_require]
openai = openai>=0.8,<0.30
openai = openai>=0.8,<2.0
tiktoken = tiktoken>=0.5.1

install_requires =
newrelic @ git+https://[email protected]/newrelic/newrelic-python-agent.git@8e17a97c8e4e869a8af200d65727a70b0a10d568
newrelic @ git+https://[email protected]/newrelic/newrelic-python-agent.git@f8e8153d8723b5742f1baa77d4469de3c3da7b69

[options.packages.find]
where=src

0 comments on commit bb870c7

Please sign in to comment.