Skip to main content

Evaluation for AI apps and agent.

Project description

LangEval

Evaluation for AI apps and agent

PyPI - Version PyPI - Python Version

▄▄▌   ▄▄▄·  ▐ ▄  ▄▄ • ▄▄▄ . ▌ ▐· ▄▄▄· ▄▄▌
██•  ▐█ ▀█ •█▌▐█▐█ ▀ ▪▀▄.▀·▪█·█▌▐█ ▀█ ██•
██▪  ▄█▀▀█ ▐█▐▐▌▄█ ▀█▄▐▀▀▪▄▐█▐█•▄█▀▀█ ██▪
▐█▌▐▌▐█ ▪▐▌██▐█▌▐█▄▪▐█▐█▄▄▌ ███ ▐█ ▪▐▌▐█▌▐▌
.▀▀▀  ▀  ▀ ▀▀ █▪·▀▀▀▀  ▀▀▀ . ▀   ▀  ▀ .▀▀▀

Table of Contents

Installation

pip install langeval-cli

Documents

TODOs:

  • Refactor RAG Eval FileNotFoundError: [Errno 2] No such file or directory: 'output/ac17315_sqlcoder7b2_V4-fix/eval/eval_100_fix.jsonl'

Progress: run=Progress(total=100, finished=100, failed=0) evals={'sqleval': Progress(total=100, finished=85, failed=0)} [2023-12-13T03:52:04.850620][task-2312131151-8f4e][runner._run] task eval sqleval progress {progress.evals[evaluator.name]}, result: {result}

How to use

see ./examples for more details.

Development

# Create virtual environment
hatch env create
# Activate virtual environment
hatch shell
# Run test
hatch run test
# Run lint
hatch run lint:style

# Version dump
hatch version patch/minor/major
# Build
hatch build
# Upload to pypi
hatch publish

License

LangEval is distributed under the terms of the MIT license.

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

langeval_cli-0.3.5.tar.gz (61.2 kB view details)

Uploaded Source

Built Distribution

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

langeval_cli-0.3.5-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

Details for the file langeval_cli-0.3.5.tar.gz.

File metadata

  • Download URL: langeval_cli-0.3.5.tar.gz
  • Upload date:
  • Size: 61.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for langeval_cli-0.3.5.tar.gz
Algorithm Hash digest
SHA256 df0e5614bc5743654877364a73cc80480934d7fedc7912706aa1f6dfe2c5e6cf
MD5 d646cccbd43c864fe391d9a8ae05deb2
BLAKE2b-256 784f040b71149026b187a0c8462792879ea0c60891f96a6fa62e447adfd3f85f

See more details on using hashes here.

File details

Details for the file langeval_cli-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: langeval_cli-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 41.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for langeval_cli-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1e7612e206eb89bdc160cd40d44cbbbe7ba7c792076f1d2f83ddfc452720dcf1
MD5 edd1c8ff6a05222fd309a0f976fd6307
BLAKE2b-256 739567018e10c4330debf64542bea4df93f732c43518ed206a14b393ac2106d0

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