client.GenerateModeration(ctx, req)
विशेषीकृत
मॉडरेशन
Go wrapper से /moderations कॉल करें।
Wrapper मेथड का उपयोग करें:
अंतिम संशोधन 2 अक्टूबर 2026
वाज़ दिस पेज हेल्पफुल
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Go wrapper से /moderations कॉल करें।
client.GenerateModeration(ctx, req)import (
"context"
"fmt"
phaseo "github.com/phaseoteam/Phaseo/packages/sdk/sdk-go/v3"
)
client := phaseo.New(apiKey, "https://api.phaseo.app/v1")
resp, err := client.GenerateModeration(context.Background(), map[string]interface{}{
"model": "openai/omni-moderation-latest",
"input": "some text to classify",
})
if err != nil {
panic(err)
}
fmt.Println(resp)
वाज़ दिस पेज हेल्पफुल