guardrail-ml

View on PyPIReverse Dependencies (0)

0.0.16 guardrail_ml-0.0.16-py3-none-any.whl

Wheel Details

Project: guardrail-ml
Version: 0.0.16
Filename: guardrail_ml-0.0.16-py3-none-any.whl
Download: [link]
Size: 128541
MD5: 45e8dd7a4085bdc495b5927b880d2ba4
SHA256: aaa3ba5b77f54a8329c3bc6188b7ea1a87099cc45fc129018ad25fffc0e00cef
Uploaded: 2023-11-01 23:56:19 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: guardrail-ml
Version: 0.0.16
Summary: Monitor LLMs with custom metrics to scale with confidence
Author: Kevin Wu
Author-Email: kevin[at]guardrailml.com
Home-Page: http://www.guardrailml.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Requires-Dist: textstat
Requires-Dist: transformers (<=4.30.2)
Requires-Dist: sentencepiece
Requires-Dist: sentence-transformers
Requires-Dist: accelerate
Requires-Dist: bitsandbytes
Requires-Dist: cleantext
Requires-Dist: unidecode
Requires-Dist: pillow
Requires-Dist: jsonformer
Requires-Dist: scipy
Requires-Dist: pydantic (<=2.0.3)
Requires-Dist: tenacity
Requires-Dist: colorama
Requires-Dist: openai
Requires-Dist: python-dotenv
Requires-Dist: einops
Requires-Dist: langchain
Requires-Dist: Faker
Requires-Dist: tensorflow
Requires-Dist: presidio-analyzer (<=2.2.33)
Requires-Dist: presidio-anonymizer (<=2.2.33)
Requires-Dist: genbit
Requires-Dist: jsonlines
Requires-Dist: pydantic-settings (<=2.0.3)
Requires-Dist: detect-secrets
Requires-Dist: tiktoken
Requires-Dist: spacy-transformers
Requires-Dist: fasttextfasttext-langdetect
Description-Content-Type: text/markdown
License-File: LICENSE.txt
[Description omitted; length: 212 characters]

WHEEL

Wheel-Version: 1.0
Generator: bdist_wheel (0.41.3)
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
guardrail/__init__.py sha256=iB_FFcB05GS5euYYU9mSPh6B3lfFecFDWjPAXVtYdFo 217
guardrail/client.py sha256=FVtvOMH-wJfth6zKKxckGhxit1ckflDSnDvYEk1Zyc8 3274
guardrail/db.py sha256=b1pq4gRMITWLyEwH-lFaLs82Xu585Dju75_apuTiXe4 524
guardrail/env_config.py sha256=4bUrqILpG7yG3hZqs7mwkFkXEmA2grH8jHHWl0WaxOs 1072
guardrail/dataset/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/dataset/convert_json.py sha256=CmC3aZR4PCGcfcA3XavwYz9xlJnxQEBqbXvwGUol1qs 747
guardrail/dataset/dataset_creation_local_api.py sha256=KnpJEzut3SH0F2QTuAfFRsjJIcZa2ugLTq4SRO-Npvo 11070
guardrail/dataset/dataset_generator.py sha256=QsK8TmxXXgGnGhDBOoiz0HUhhbiFCeLF4yl3geuWLG8 8017
guardrail/dataset/embeddings.py sha256=-dojTtHT55noZ4952rgPHUhBi1akNW0kGQKZjKcEIHw 8923
guardrail/dataset/helper.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/dataset/parse_pdf.py sha256=bRa0QQXbcxZJ_opRj3inFkuCDxsGhk5tGMc45rLadpU 4248
guardrail/firewall/__init__.py sha256=dlMaaaGTSFtFRKUirVWrK-V3mNcsUP7frGaV36sXrfE 50
guardrail/firewall/firewall.py sha256=YWPgP476hP8c7Q75OLBJatKqYLYSjZMtxal0FLy7zOw 7926
guardrail/firewall/util.py sha256=UN3ewyXPcZ7IxRsK-fdOGTSU4kKqizoLbFi_YhPTOYc 1913
guardrail/firewall/vault.py sha256=QIzXgkPQLyz_4tPmgBl6Z4IHhXCZucLgaKtWAQvCt1s 1517
guardrail/firewall/input_detectors/__init__.py sha256=e2cSgABqwDAQFYon09yDfiVoAQy_V7YMxP_gSn3o8D4 761
guardrail/firewall/input_detectors/anonymize.py sha256=P0n7BiBBn8ay8uNu0Cr3dOuUPLlGROYYQpUJKFgPD4U 14230
guardrail/firewall/input_detectors/base_detector.py sha256=JsNGYeNVK2tuGpYv3mh3SxPa-vAdYHiWPnj5ive2qjM 826
guardrail/firewall/input_detectors/coding_language.py sha256=Ff0bZs1uK-u09BZNcyn3IpROqGWLC43KOMvV0XOVT_g 3907
guardrail/firewall/input_detectors/dos_tokens.py sha256=US9go42wvas6Y6PF-xjExQXu2yoRIK-uklwzxfUSnIo 2465
guardrail/firewall/input_detectors/harmful.py sha256=H8DQpBN71JTQEf-xoxf_69RXKuidxvJh28a3FfAa0ZM 2297
guardrail/firewall/input_detectors/language.py sha256=eZ11AT_ycRESxt5PJ28ksDj5WWqBAwBMMTvZlYjnOn0 1217
guardrail/firewall/input_detectors/malware_url.py sha256=2zF7yGfHmqOnIEo0YmGxmeDoMnLzt67nnQL4fIb_wEw 2867
guardrail/firewall/input_detectors/prompt_injections.py sha256=8HdrH1FpNjkY_WiVfa5zMT-H_wTHNGTDcu2gxRIdLZw 2643
guardrail/firewall/input_detectors/regex.py sha256=Ldh37aFUexd6mlPRrFe5OEsVCrDZTH5TzLhEO0_jKnI 2478
guardrail/firewall/input_detectors/secrets.py sha256=mp-WMvXbpU_sE_lxWIgPJrBmWAPkRRwqDXe-Ohw2IhM 4723
guardrail/firewall/input_detectors/stop_input_substrings.py sha256=NldR4KL3YCD8_Kp3eYC2agCtA9Kf2xu80rICb1k8v7k 3852
guardrail/firewall/input_detectors/text_quality.py sha256=4FYrSR-YdeMlKcSPIeWvdkyAfLBptgqbhilz2UJIPLk 3684
guardrail/firewall/input_detectors/toxicity.py sha256=apOYB5F2JHCMLCMvUzbH783tLqhyX8wYXpRpfMTSM5A 2295
guardrail/firewall/output_detectors/__init__.py sha256=xdmgphFat-jrS_9YlM7KtWWH7bjHJ6DdSmHS5bFb35I 1076
guardrail/firewall/output_detectors/base_detector.py sha256=dlyf6HHu0bDgM_zzZBgc5b8q9FVJyvHvQfhVgS4SshU 811
guardrail/firewall/output_detectors/bias.py sha256=zJNLw7lFZnS6cSLCV5uR6--r3vmDUQ1UefLx0WhwigA 3747
guardrail/firewall/output_detectors/coding_language.py sha256=-FjzcIoVwFHdeSDVrhi7zZjfLmm3HPr59n6jnqVz0Oc 3909
guardrail/firewall/output_detectors/deanonymize.py sha256=aHqlGt7iHOr1XJC8vJhtZQNMVpIeN0eSLS4DvYCsT2c 1247
guardrail/firewall/output_detectors/factual_consistency.py sha256=m_6E-dLbvMEXKmmOQ9MwTDAihZmG9Z1XEvGba1bCwdg 3727
guardrail/firewall/output_detectors/harmful.py sha256=HHTULnEFqGjbGsyOveotx9A_JloM128BA2vvx6MR5eo 2335
guardrail/firewall/output_detectors/language.py sha256=T-ezame4U48DFRoYmjS4Q1x_l24r4VvFe0Mhbhn9S48 696
guardrail/firewall/output_detectors/malware_url.py sha256=Jqdw0m2GaxUiMdG8ih-ALuWjIZ3fYhdLA2K2XyC8-DE 2881
guardrail/firewall/output_detectors/regex.py sha256=s2BpXo1Ik7_5k_W3uZRudDUJ42ZzCEvjVXpYs2FdDnU 2472
guardrail/firewall/output_detectors/relevance.py sha256=GAzXFrMSwNWc0iI6vjkqQIIZPZuY5pcFvMh8ez6uv4A 2284
guardrail/firewall/output_detectors/sensitive_pii.py sha256=lmpI_pq6CPO86TUBnjhPzrEsJt5FnIHASWyu40Wn4mc 2824
guardrail/firewall/output_detectors/stop_output_substrings.py sha256=mOqH2Pz0NXTVvW7AhWXg5D5QJ4JYo5tCgN2L-DqPw0w 3957
guardrail/firewall/output_detectors/text_quality.py sha256=Q5ax17MZaiIC42J_M1WoZ-Ju-gzlml5stvnyLrblhbo 3644
guardrail/firewall/output_detectors/toxicity.py sha256=uMazyaSg0mMEm19kil7qNlBnAFrlK9cNUZBY5PHq9hM 2284
guardrail/firewall/output_detectors/factuality_detector/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/firewall/output_detectors/factuality_detector/factuality_detector.py sha256=j-9Gz8jqYGKNBpxIoMtvFsDJrI_SyQisShMMrQEaibs 8852
guardrail/firewall/output_detectors/factuality_detector/hallucination_kb_detector.py sha256=qy5AnvNPTc0z9C9piKFtQ8KVuFGLeTEGfIYlg3gl1MY 9577
guardrail/firewall/output_detectors/factuality_detector/pipeline.py sha256=iyUQKPPpi9qztTxKMG4z-IhER5P-v1Tpjoc9o0H9l0o 11261
guardrail/firewall/output_detectors/factuality_detector/prompts/agreement_verification.yaml sha256=H0klXGs6hI0xhkQxouf3nGPWOI9iGpz4KIP6BkqB9B8 1623
guardrail/firewall/output_detectors/factuality_detector/prompts/claim_extraction.yaml sha256=QShEyaYQciCXXGHu-DX-se4iCY-y0wTWQMBiSMnqGGU 2449
guardrail/firewall/output_detectors/factuality_detector/prompts/query_generation.yaml sha256=16B7sIJTt_p-DRy0LW9K65zURiXbIZosiLbbPXWSoJo 1323
guardrail/firewall/output_detectors/factuality_detector/prompts/self_check.yaml sha256=Y61PlK0nxgqPFSpFk-CRdYMDiOrChzqHKeg0C2uPnac 3680
guardrail/firewall/output_detectors/factuality_detector/tools/__init__.py sha256=r39ULLVgnzss4rG1gV_ZBkXTyoKYMRQRh2iWGtuTO94 191
guardrail/firewall/output_detectors/factuality_detector/tools/google.py sha256=xzw8FUDguu8JAI7xyh4ZvDhgnInqpuV_8Bmbjaymods 4916
guardrail/firewall/output_detectors/factuality_detector/tools/local_kb.py sha256=fWx1zBeLs2it3qbpBl2qCPOeBczGrWYVl52CGWq69Cc 2996
guardrail/firewall/output_detectors/factuality_detector/utils/__init__.py sha256=n0nOArZQ-F4WbCIfgOn-RJzitFsLqfESLV8HmFK-dNk 200
guardrail/firewall/output_detectors/factuality_detector/utils/openai_wrapper.py sha256=Gladj_YAR_krQ-qmUfZkd4D6TYVDJEOK8kWA8rBqv5Q 7505
guardrail/firewall/output_detectors/factuality_detector/utils/pipeline.py sha256=FG2D6IZIWt55AHb9f9Z5i-RvqwyG0X7UMybYDv56PEc 629
guardrail/firewall/patterns/output_stop_substrings.json sha256=NzrHegTUYTdRVFY5VRLsYE9TyHwYZH_bycjrpMeq9bY 635
guardrail/firewall/patterns/prompt_stop_substrings.json sha256=WvPGDM5P5BZNj_xMnXFaDg3mi1sjImjI3C7ps_sZFyc 1576
guardrail/firewall/patterns/sensitive_patterns.json sha256=vCH7uWZMPAAM_XxawbYiC0R_i4Ru86OEGl7CuurYvR0 1019
guardrail/guardchain/__init__.py sha256=azvcg9XYjY1D8r-1y1vD2BH06x9QPmJoFAyzWDta6f0 269
guardrail/guardchain/errors.py sha256=-sjoe_pZjtYU8FKPXwMN4fRXpAls0OLKFnJHz3Htb_k 1030
guardrail/guardchain/utils.py sha256=ch9YDX81tbnLwfvC-mxliMmqtk83f2scyEEUYZZPQqk 131
guardrail/guardchain/agent/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/guardchain/agent/agent_structs.py sha256=vf5MtiXtFR6cRwE5hVZ2U12Lpu1EbjvKyMAUx7FS1Zw 2666
guardrail/guardchain/agent/base_agent.py sha256=s1m6C08kdy_f8lIq_L75WwPIz_jT6m9FHN1O5_7z7LY 7567
guardrail/guardchain/agent/chat_agent.py sha256=GvShyUs9HcCqrkT3IJ3vK-6KI6bxCxPmuOtd10OkhK0 7838
guardrail/guardchain/agent/message.py sha256=DF39rdYAZmf2X3FgrT-h9xKfI2ie2WxWQoXx1Ek6JPg 2921
guardrail/guardchain/agent/prompts.py sha256=w1WxgQzeLko6W1tHQgSztIkd5m5i_IKHXdNKWseiOCs 5869
guardrail/guardchain/chain/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/guardchain/chain/base_chain.py sha256=4hn8CbaFjNLJCoQ7hTDDl02_cWSk9HbV4oacpEnV5x4 7282
guardrail/guardchain/chain/chain.py sha256=r455Sok9xB894yCbwZaMceMMn_HUDL2SclaeTjxCE3s 4929
guardrail/guardchain/chain/constants.py sha256=TLlhWovxmA53le5xnCs-_656-VTwZzOzxAs25B6nDKc 152
guardrail/guardchain/firewall/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/guardchain/memory/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/guardchain/memory/base.py sha256=jrWxXsd0qmUJFRocke4edLcPN9hqDQHh4vygTevV9q0 1134
guardrail/guardchain/memory/buffer_memory.py sha256=ODvU-K25gJmpI-VbnH_j1o0NdGUzhES-kQpmy1LcSZw 1630
guardrail/guardchain/memory/vector_memory.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/guardchain/models/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/guardchain/models/base_model.py sha256=gwnuzzNdGNGK1u8wQmCewm0pOBG6n5Lvl6liv8wtz-4 12959
guardrail/guardchain/models/ggml_model.py sha256=2eIdk83faXVXUbLwq4AM8lRHfdwAg5zpma06eyrRvSo 8509
guardrail/guardchain/models/jsonformer.py sha256=4W00fm2fN-X7bp7I3TGV7fiLXluFbTCbUd-t66Dkv_s 12479
guardrail/guardchain/models/openai_model.py sha256=yaKKVeCSacXB77LXtGDq6ekBD_nsPS2n6hEbNqAxEew 8853
guardrail/guardchain/tools/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/guardchain/tools/base_tool.py sha256=44cnKxE1STIl9XaEbggXyPTRUq6fmd4eGQ-np_EagMk 3785
guardrail/guardchain/tools/simple_handoff.py sha256=o2BzglpW2GlG0RYuzuVIR4Deydik5wOAjIdiXPo6B_4 430
guardrail/metrics/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/metrics/offline_evals/__init__.py sha256=B2CFKfooM3o_UG8_nOpe7bQ43HjGUqFsTxl-gOXfyzw 383
guardrail/metrics/offline_evals/bias.py sha256=jNFEx2yF6CCFAbq4StKw4h2-ZzAcftaMAnzhJpE413M 600
guardrail/metrics/offline_evals/custom.py sha256=mb631QgSIPUkx1QS0pgoZ2mctBAavAPG5ZxCm9GJUYw 245
guardrail/metrics/offline_evals/disinformation.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/metrics/offline_evals/domaintasks.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/metrics/offline_evals/eleutherai.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/metrics/offline_evals/hurtful.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/metrics/offline_evals/injections.py sha256=UqDjLlPskDM-h4-yk9yVG6LKo9Hvvt2Fl7CH3bnq-Pg 606
guardrail/metrics/offline_evals/offline_metrics.py sha256=0HhC_3RNrfAvSvcQCBJiov1yv2GN_K1WfTgQbmm4BQQ 1428
guardrail/metrics/offline_evals/prompts.py sha256=rBfLQfyT4gXNGORzQo2D5PN6wuTKES06LPSyX59UsU4 1999
guardrail/metrics/offline_evals/regexes.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/metrics/offline_evals/relevance.py sha256=6SPI4JK6ZDf9KUb9CN208YYiFVxdxB6F-ObZE-dzsoo 814
guardrail/metrics/offline_evals/sentiment.py sha256=x5Z5NSPgrkEJrMMuBbb_VMDMu7DuoR0WJnj7phEf3T8 844
guardrail/metrics/offline_evals/similarity.py sha256=YVPw19cv8SbEpG-dh1X77n5yRQA5gIioVNvQ7fm2Mi0 871
guardrail/metrics/offline_evals/textstat.py sha256=KNWsu0ZTOEjw2foqsF2T_9sHTT80V3E7HKRzcBT5Q28 5598
guardrail/metrics/offline_evals/topics.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/metrics/offline_evals/toxicity.py sha256=JMCt5BLlru6MQ2xsrkx6MZFw90jAfAyQFzkdh43R5mQ 831
guardrail/metrics/offline_evals/truthfulness.py sha256=0ea0NbXlSQ6ukTpT_cGw0utfJYjSkhpZ2uNC0hm1vHg 25
guardrail/metrics/online_evals/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/metrics/online_evals/openai_eval.py sha256=5_geUf7zz8eDgHMnwJTuq4v954Enj1MlhjVcIf31b_o 4684
guardrail/metrics/utils/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/metrics/utils/flatten_metrics.py sha256=Ojb5Y0JE6Ggbc7-uCn9rTg3FamjB7kDtBuacvhzdrA8 779
guardrail/metrics/utils/keys.py sha256=uNsWekmry8hIJbcgaYcWG2gwrDNx37xcLE5UTEkB87Y 1810
guardrail/metrics/utils/textutils.py sha256=Tg9_1s81vHgBOowFbDBkFv-4XkDNSq9VtJ8b_F6IaT8 585
guardrail/streamlit/1_🏠_Evaluate.py sha256=CJOOWW5QpaiDaExvzjKcwvsWk1zByTs2wv-GHPfNFv8 4236
guardrail/streamlit/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/streamlit/helper/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/streamlit/helper/add_logo.py sha256=YcyGYtjl_BZM2uKVlMw45mOfcih_028748lzSDGSgpA 912
guardrail/streamlit/helper/agstyler.py sha256=UiPpOvkXYTB7rbVh5RXlFzkzv6aJkoeUhsdQP6LCrMY 2053
guardrail/streamlit/pages/2_🤖_Benchmark.py sha256=hn7_OLkT7Uck4Irg2eHmnba2Kztx0h2shL9fLgz4aiQ 112
guardrail/streamlit/pages/3_🗒️_Documentation.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/streamlit/pages/4_💬_Contact.py sha256=QBYFp5RpMyAWxdyoumnby_0jHTyUtd5iivwMd8o4FQU 47
guardrail/streamlit/pages/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/tracker/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrail/tracker/base_tracker.py sha256=xXcu0jgk1VGSzh9Ocy1-zFt4Q0_K_ViO0cGKBY8CVGo 8594
guardrail/tracker/langchain.py sha256=Pr5pJY7pZXzXky5Ro_fFYnS2pU8qjl8sF3ZyrFOojQk 1547
guardrail/tracker/openai.py sha256=gutRntnVI0TYxmAnWjlH1_4Q7jqZDXzIHdX1ZkiyGrw 4395
guardrail_ml-0.0.16.dist-info/LICENSE.txt sha256=f4ASvyhrCMpY82sUAENYiQd9sh0OKUlP637bR3MjVCs 11545
guardrail_ml-0.0.16.dist-info/METADATA sha256=6nA6Ej00hlnLhqjVs_pqhgGgsw3G94Sfx1kBOEIKs7I 1558
guardrail_ml-0.0.16.dist-info/WHEEL sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0 92
guardrail_ml-0.0.16.dist-info/top_level.txt sha256=hAZvHfxFbSvpk59k-pAOGj10W1o_86c1fKTvdR2JAfc 10
guardrail_ml-0.0.16.dist-info/RECORD

top_level.txt

guardrail