Site24x7 OpenAI Observability
Instructions to add Site24x7 OpenAI Observability
-
Install the site24x7-openai module using the following command:
pip install site24x7-openai-observability --upgrade
Note: If you are using a virtual environment, activate it and run the above command to install the site24x7-openai-observability package into your virtual environment.
-
Configure the license key, sample factor, and capture openai text using environment variables.
$ export SITE24X7_LICENSE_KEY=<your site24x7 license key> $ export SITE24X7_SAMPLING_FACTOR=<set sampling factor by default 10> $ export SITE24X7_CAPTURE_OPENAI_TEXT=<set value by default True> -
Add the below code to your application's start file to integrate the observability agent:
import os os.environ["SITE24X7_LICENSE_KEY"] = "<license_key or device_key>" import site24x7_openai_observability
Release files for site24x7-openai-observability 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| site24x7_openai_observability-1.1.0.tar.gz | 13.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| site24x7_openai_observability-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.1 kB
Release files / site24x7_openai_observability-1.1.0.tar.gz
| Download URL | site24x7_openai_observability-1.1.0.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57df2bfebd59edcddc9e6b581c7bca34ac4078505619cb257fbe7ce63e6b6bd6
|
|
BLAKE2b-256 checksum How to use checksums |
6b1331bbd7b88f6ed685cf6cb7cb44e5517ad453a70fa54a57b46f6e74baff60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / site24x7_openai_observability-1.1.0-py3-none-any.whl
| Download URL | site24x7_openai_observability-1.1.0-py3-none-any.whl |
|---|---|
| Size | 23.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b6133905020f6fca0b7d153ff89c65b4e5a0ec37dd943c80ce1b2d055fea461
|
|
BLAKE2b-256 checksum How to use checksums |
34e367000ea0b6f737b38cfef2b22458b0fb029380e90848d32ae22eee8ae336
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|