Hello,
I’m currently developing a Custom GPT (named SAFETY GPT) to support industrial safety management in Korea.
I’m trying to connect this GPT to the official law.go.kr OpenAPI (https://www.law.go.kr/DRF/index.jsp),
but I’m facing some serious difficulties that I can’t resolve.
I’d like to ask for your support regarding the following issues:
Key Questions & Issues
- Is it impossible to call the law.go.kr API without a proxy server?
– I noticed that requests from the GPT environment are rejected, even though I’m using the officialOC=bm_rice
key. - Even when calling the API, I don’t understand what exactly is failing.
– I cannot retrieve the full body of the law.
– Also, keyword-based searches (e.g. “falling from height”) don’t return any relevant clauses. - Is it mandatory to register a domain name or a personal server IP?
– Since GPTs don’t operate on a fixed server with a static IP, I cannot meet this requirement.
What I want to achieve
Here’s the intended logic I’m trying to implement:
- User submits a question (e.g. “What are the safety rules for ladder work?”)
- GPT infers key legal keywords from the question
- GPT calls the law.go.kr API based on those keywords
- API returns clauses or paragraphs that contain those keywords
- GPT verifies those clauses and evaluates relevance
- GPT gives a final structured answer to the user
Please help me understand how I can make this work — or if it’s even possible within the GPT framework.
I’m more than willing to adjust the architecture (e.g., adding a proxy server), but I’d like to confirm the official best practices first.
Thank you very much for your support.
Sincerely,