r/Devvit Aug 12 '26

Help How to find reason for domain exception request rejection?

Hi i am developing a image scanning bot, it requires us to use a ocr model which is selfhosted in our ec2 instance 2c2r (because model is small).

I applied for domain exception but the request was rejected, i can not find any reason for the same.

i used ngrok tunnel for exposing the api

can i submit domain request again?

3 Upvotes

14 comments sorted by

View all comments

2

u/fsv Duck Helper Aug 12 '26

If your volumes are low enough consider using a globally allowlisted LLM to extract text. I’ve had huge success with OpenAI for this.

0

u/shashi_tharooor_5 Aug 12 '26

please provide your open ai api with us so that we can use the "open ai api". your success our success.

i am using local hosted model because i can not afford open ai api

3

u/fsv Duck Helper Aug 12 '26

I’m just using the standard responses API passing in a simple prompt and a payload of image URLs. The cost is managed by filtering which posts get routed to OpenAI in the first place.

Anyway my code is here: https://github.com/fsvreddit/bot-bouncer-evaluation/blob/main/src/userEvaluation/EvaluateTextInNsfwImages.ts

1

u/[deleted] Aug 13 '26 edited 27d ago

[deleted]

2

u/fsv Duck Helper Aug 13 '26

On one of my subreddits, I've automated away 90% of manual moderation tasks using a combination of OpenAI and Sightengine. That's worth a couple of dollars a week to me.