Skip to content

Add aiexpect to AI & LLM Testing - #245

Open
dmsehgal wants to merge 2 commits into
TheJambo:masterfrom
dmsehgal:add-aiexpect
Open

dmsehgal wants to merge 2 commits into
TheJambo:masterfrom
dmsehgal:add-aiexpect

Conversation

@dmsehgal

Copy link
Copy Markdown

Adds aiexpect, an open-source (MIT) Python library of pytest assertions for non-deterministic AI/chatbot text: expect(reply).to_mean(...), .to_be_grounded_in(...), .to_not_contain_pii(). Rule and semantic checks run offline with no API key; an optional LLM judge uses the user's own model (Ollama, Anthropic, OpenAI). Each run produces a Trust Score and a self-contained HTML report with charts.

Follows the guidelines: single suggestion, short description ending with a period, no trailing whitespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant