hegelai / prompttools

Open-source tools for prompt testing and experimentation, with support for both LLMs (e.g. OpenAI, LLaMA) and vector databases (e.g. Chroma, Weaviate, LanceDB).
http://prompttools.readthedocs.io
Apache License 2.0
2.55k stars 216 forks source link

Support for OpenAI Moderation API #112

Closed NivekT closed 6 months ago

NivekT commented 6 months ago

🚀 The feature

https://platform.openai.com/docs/guides/moderation/overview

Motivation, pitch

Allow users to evaluate with OpenAI's API

Alternatives

No response

Additional context

No response

NivekT commented 6 months ago

Added in https://github.com/hegelai/prompttools/commit/1c9bc7555574f28dd0338389acd0d1923d50ad92