Unverified50% confidenceFactExact time
When the server returns 400 for json_schema, LangExtract's extract() throws InferenceRuntimeError: OpenAI API error: Error code: 400.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/19/2026
First Seen
Valid until: 1/17/2027
Sources
Related Entities
Related Claims
UnverifiedAfter setting use_schema_constraints=False, LangExtract requests switch to response_format: {"type": "json_object"}, which works around servers that do not support json_schema.69% similarUnverifiedopenai-php/client maps 5xx to ServerException, other 4xx with a JSON error body to ErrorException, and network failures and timeouts to TransporterException.67% similarUnverifiedOpenAI's function calling outputs invocation parameters in structured JSON format, greatly reducing parsing error rates.62% similarUnverified案例中公司内容接口为GET请求,返回JSON格式,无需参数,状态码code 200表示操作成功61% similarUnverifiedIn json_object mode, LangExtract expects bare JSON; if the model returns a JSON block with explanatory text and fences, it is discarded, with the log reading Chunk omitted from results (parse error): Failed to parse JSON content.59% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1066762API
curl https://kongchang.com/api/v1/knowledge/claims/1066762MCP
get_claim(id=1066762)