
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
A lightweight Python SDK for collecting, submitting, and evaluating LLM responses with TrainLoop.
pip install trainloop-evals-sdk
from trainloop_evals import collect
# Set this up during the initialization of your application
# to collect data from all LLM calls
collect()
# Annotate llm calls with the trainloop_tag parameter
# the sdk will intelligently remove the parameter and collect information about the llm call
import openai
openai.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "2+2"}],
trainloop_tag="math.addition"
)
The SDK can be configured using environment variables:
TRAINLOOP_DATA_FOLDER
: Directory where the registry file will be saved. If this is not set, collect()
becomes a no-op.See the documentation for complete API reference.
FAQs
TrainLoop Evaluations SDK for data collection and evaluation
We found that trainloop-evals-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.