Skip to content

Using LLM to explain exceptions with traceback and error message

License

Notifications You must be signed in to change notification settings

appl-team/ExplErr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExplErr

A Python package that provides LLM-powered exception explanations.

Implemented using APPL.

Installation

pip install explerr

Usage

As a CLI tool

Instead of running your Python script with python, use expython:

expython your_script.py

As a Python package

from explerr import ExceptionWithExplanation

try:
    # Your code here
    result = 1 / 0
except Exception as e:
    raise ExceptionWithExplanation(e)

About

Using LLM to explain exceptions with traceback and error message

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages