From bb870c791568fa8fddcbbe6535f780015e6450f0 Mon Sep 17 00:00:00 2001 From: Josh Bonczkowski Date: Fri, 23 Feb 2024 13:42:38 -0500 Subject: [PATCH] Update Python Agent version for pip installs (#68) * 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. --- setup.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index d500ad9..2b5a782 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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://git@github.com/newrelic/newrelic-python-agent.git@8e17a97c8e4e869a8af200d65727a70b0a10d568 + newrelic @ git+https://git@github.com/newrelic/newrelic-python-agent.git@f8e8153d8723b5742f1baa77d4469de3c3da7b69 [options.packages.find] where=src