Skip to main content

TrainLoop Evaluations SDK for data collection and evaluation

Project description

TrainLoop Evals SDK (Python)

Automatically capture LLM calls from Python apps so they can be graded later.

Install

pip install trainloop-llm-logging

Quick example

from trainloop_evals import collect, trainloop_tag
collect()  # patch HTTP clients
openai.chat.completions.create(..., trainloop_tag("my-tag"))

Set TRAINLOOP_DATA_FOLDER to choose where event files are written or set data_folder in your trainloop.config.yaml file.

See the project README for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trainloop_llm_logging-0.4.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trainloop_llm_logging-0.4.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file trainloop_llm_logging-0.4.0.tar.gz.

File metadata

  • Download URL: trainloop_llm_logging-0.4.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.2 Darwin/24.2.0

File hashes

Hashes for trainloop_llm_logging-0.4.0.tar.gz
Algorithm Hash digest
SHA256 4f6197fe60af384c7cc9c1c233795bb7d321e751d984c8ec242b7164331cc307
MD5 f091122deb1c24e64dd965632455d0d7
BLAKE2b-256 5e0aaebd0316fe7468517fdad16ab9d8667d60b506be2f3283a0ac200830df5e

See more details on using hashes here.

File details

Details for the file trainloop_llm_logging-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for trainloop_llm_logging-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4660a22bc32cd42bcfb36391ab1b70dd549f491dcbd778ac343ea29c995c9964
MD5 a4ee8797839206e78c50265fa4f2ba06
BLAKE2b-256 47e137c9ce16c4ccfea165f5ef038c86c1df487a25a4d6ce26e0da5127302b87

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page