> ## Documentation Index
> Fetch the complete documentation index at: https://phaseo.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# मॉडरेशन

> Ruby SDK से /moderations कॉल करें।

**मेथड**: `client.generate_moderation(...)`, `client.create_moderation(...)`.

### उदाहरण

```ruby theme={null}
require 'phaseo_sdk'

client = PhaseoSdk::Phaseo.new(api_key: ENV.fetch("PHASEO_API_KEY"))

moderation = client.create_moderation(
  "model" => "openai/omni-moderation-latest",
  "input" => "Text to classify"
)
```

### मुख्य पैरामीटर

* `model` ज़रूरी: मॉडरेशन मॉडल ID (जैसे `openai/omni-moderation-latest`).
* `input` ज़रूरी: टेक्स्ट या image\_url जैसे कंटेंट आइटम की स्ट्रिंग या ऐरे।
* वैकल्पिक: `categories`/`severity` फ़िल्टर (समर्थित होने पर), `user` टैग।

### रिटर्न

`ModerationResponse`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.