Skip to content

Getting Started

Ankit Zade edited this page May 17, 2024 · 9 revisions

Installation

The source code is currently hosted on GitHub at: llminspector

pip install llminspector

The list of changes to LLMInspector between each release can be found here.The list of changes to LLMInspector between each release can be found here.

Usage

from llm_inspector.llminspector import llminspector
import pandas as pd

obj = llminspector(config_path=<path-to-cofig.ini>, env_path=<path-to-.env>)
obj.alignment()
obj.adversarial()
obj.rag_evaluate()
obj.converse()
df = pd.read_excel(<path-to-input-csv>)
obj.evaluate(df)
Clone this wiki locally