deeprails 0.2.0__py3-none-any.whl → 0.2.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of deeprails might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deeprails
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Python SDK for interacting with the DeepRails API
5
5
  Project-URL: Homepage, https://deeprails.com
6
6
  Project-URL: Documentation, https://docs.deeprails.com
@@ -128,11 +128,13 @@ except Exception as e:
128
128
 
129
129
  ## Available Metrics
130
130
 
131
- - `correctness`: Evaluates factual accuracy of the output
132
- - `completeness`: Checks if the output addresses all aspects of the prompt
133
- - `harmfulness`: Detects potentially harmful content
134
- - `bias`: Identifies biased language or reasoning
135
- - And more...
131
+ - `correctness`: Measures factual accuracy by evaluating whether each claim in the output is true and verifiable.
132
+ - `completeness`: Assesses whether the response addresses all necessary parts of the prompt with sufficient detail and relevance.
133
+ - `instruction_adherence`: Checks whether the AI followed the explicit instructions in the prompt and system directives.
134
+ - `context_adherence`: Determines whether each factual claim is directly supported by the provided context.
135
+ - `ground_truth_adherence`: Measures how closely the output matches a known correct answer (gold standard).
136
+ - `comprehensive_safety`: Detects and categorizes safety violations across areas like PII, CBRN, hate speech, self-harm, and more.
137
+
136
138
 
137
139
  ## Error Handling
138
140
 
@@ -2,7 +2,7 @@ deeprails/__init__.py,sha256=7ccTz1heYcCd3DIH3wmHc67FD6CUzM8_J4WmDeq0RZ0,29
2
2
  deeprails/client.py,sha256=gm3aq5FQj7qpLbWeyKkew3gbRI0l9QyGhvk7m0N7JxU,4004
3
3
  deeprails/exceptions.py,sha256=ipwFq4lROv7XpcBC5h9cGqPf6f68zeOMEyKPVy7H0co,405
4
4
  deeprails/schemas.py,sha256=pqZ-J7mIVdYe-q8sPSw07fe3H4YFCYb-PrshA_qU8RU,1113
5
- deeprails-0.2.0.dist-info/METADATA,sha256=Evweth9DLw-iHgbfZQdhfFG0i6MMXnm0GRkPyhscJe0,5759
6
- deeprails-0.2.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
7
- deeprails-0.2.0.dist-info/licenses/LICENSE,sha256=GsV7lN6fihCcDgkJbfs0rq1q9d6IyB0TFQ8HLKUpSXM,1077
8
- deeprails-0.2.0.dist-info/RECORD,,
5
+ deeprails-0.2.1.dist-info/METADATA,sha256=Ha9Aa6LpmLYOgdNOupfDECI-47kpH_QMQZpc4ZJZHhg,6222
6
+ deeprails-0.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
7
+ deeprails-0.2.1.dist-info/licenses/LICENSE,sha256=GsV7lN6fihCcDgkJbfs0rq1q9d6IyB0TFQ8HLKUpSXM,1077
8
+ deeprails-0.2.1.dist-info/RECORD,,