{"id":27814,"date":"2025-03-06T16:20:32","date_gmt":"2025-03-06T08:20:32","guid":{"rendered":"https:\/\/www.aisharenet.com\/?p=27814"},"modified":"2025-07-14T10:40:23","modified_gmt":"2025-07-14T02:40:23","slug":"lettucedetect","status":"publish","type":"post","link":"https:\/\/www.kdjingpai.com\/en\/lettucedetect\/","title":{"rendered":"LettuceDetect\uff1a\u68c0\u6d4bRAG\u7cfb\u7edf\u5e7b\u89c9\u7684\u9ad8\u6548\u5de5\u5177"},"content":{"rendered":"<p>LettuceDetect \u662f KRLabsOrg \u5f00\u53d1\u7684\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u5f00\u6e90\u5de5\u5177\uff0c\u4e13\u95e8\u7528\u4e8e\u68c0\u6d4b\u68c0\u7d22\u589e\u5f3a\u751f\u6210\uff08RAG\uff09\u7cfb\u7edf\u4e2d\u751f\u6210\u7684\u5e7b\u89c9\u5185\u5bb9\u3002\u5b83\u901a\u8fc7\u5bf9\u6bd4\u4e0a\u4e0b\u6587\u3001\u95ee\u9898\u548c\u56de\u7b54\uff0c\u8bc6\u522b\u56de\u7b54\u4e2d\u4e0d\u53d7\u4e0a\u4e0b\u6587\u652f\u6301\u7684\u90e8\u5206\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u63d0\u5347 <a href=\"https:\/\/www.kdjingpai.com\/en\/rag\/\">RAG<\/a> \u7cfb\u7edf\u7684\u51c6\u786e\u6027\u3002\u8be5\u5de5\u5177\u57fa\u4e8e ModernBERT \u6280\u672f\uff0c\u652f\u6301 4096 \u4e2a <a href=\"https:\/\/www.kdjingpai.com\/en\/tokenization\/\">token<\/a> \u7684\u957f\u4e0a\u4e0b\u6587\u5904\u7406\uff0c\u76f8\u6bd4\u4f20\u7edf\u7f16\u7801\u5668\u6a21\u578b\u6548\u7387\u66f4\u9ad8\uff0c\u540c\u65f6\u8ba1\u7b97\u6210\u672c\u8fdc\u4f4e\u4e8e\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u3002LettuceDetect \u5728 RAGTruth \u6570\u636e\u96c6\u4e0a\u8868\u73b0\u4f18\u5f02\uff0c\u5927\u6a21\u578b\u7248\u672c F1 \u5206\u6570\u8fbe 79.22%\uff0c\u8d85\u8d8a\u591a\u79cd\u73b0\u6709\u65b9\u6848\u3002\u9879\u76ee\u4ee5 MIT \u8bb8\u53ef\u53d1\u5e03\uff0c\u4ee3\u7801\u548c\u6a21\u578b\u514d\u8d39\u5f00\u653e\uff0c\u9002\u5408\u9700\u8981\u4f18\u5316 AI \u751f\u6210\u5185\u5bb9\u53ef\u9760\u6027\u7684\u7528\u6237\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-27815\" title=\"LettuceDetect\uff1a\u68c0\u6d4bRAG\u7cfb\u7edf\u5e7b\u89c9\u7684\u9ad8\u6548\u5de5\u5177-1\" src=\"https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/03\/220cd316c9255e4.png\" alt=\"LettuceDetect\uff1a\u68c0\u6d4bRAG\u7cfb\u7edf\u5e7b\u89c9\u7684\u9ad8\u6548\u5de5\u5177-1\" width=\"675\" height=\"368\" srcset=\"https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/03\/220cd316c9255e4.png 824w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/03\/220cd316c9255e4-768x418.png 768w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/03\/220cd316c9255e4-18x10.png 18w\" sizes=\"auto, (max-width: 675px) 100vw, 675px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>\u529f\u80fd\u5217\u8868<\/h2>\n<ul>\n<li><strong>token\u7ea7\u68c0\u6d4b<\/strong>\uff1a\u9010\u8bcd\u5206\u6790\u56de\u7b54\uff0c\u7cbe\u786e\u6807\u8bb0\u5e7b\u89c9\u90e8\u5206\u3002<\/li>\n<li><strong>span\u7ea7\u68c0\u6d4b<\/strong>\uff1a\u8bc6\u522b\u56de\u7b54\u4e2d\u5b8c\u6574\u7684\u5e7b\u89c9\u7247\u6bb5\uff0c\u8f93\u51fa\u4f4d\u7f6e\u548c\u7f6e\u4fe1\u5ea6\u3002<\/li>\n<li><strong>\u957f\u4e0a\u4e0b\u6587\u5904\u7406<\/strong>\uff1a\u652f\u6301 4096 \u4e2a token \u7684\u4e0a\u4e0b\u6587\uff0c\u9002\u7528\u4e8e\u590d\u6742\u4efb\u52a1\u3002<\/li>\n<li><strong>\u9ad8\u6548\u63a8\u7406<\/strong>\uff1a\u63d0\u4f9b 150M \u548c 396M \u4e24\u79cd\u6a21\u578b\uff0c\u5355 GPU \u4e0a\u6bcf\u79d2\u5904\u7406 30-60 \u4e2a\u6837\u672c\u3002<\/li>\n<li><strong>\u5f00\u6e90\u96c6\u6210<\/strong>\uff1a\u901a\u8fc7 pip \u5b89\u88c5\uff0c\u63d0\u4f9b\u7b80\u6d01\u7684 Python API\uff0c\u6613\u4e8e\u5d4c\u5165 RAG \u7cfb\u7edf\u3002<\/li>\n<li><strong>\u591a\u79cd\u8f93\u51fa\u683c\u5f0f<\/strong>\uff1a\u652f\u6301 token \u7ea7\u6982\u7387\u548c span \u7ea7\u9884\u6d4b\u7ed3\u679c\uff0c\u4fbf\u4e8e\u5206\u6790\u3002<\/li>\n<li><strong>\u6027\u80fd\u57fa\u51c6<\/strong>\uff1a\u5728 RAGTruth \u6570\u636e\u96c6\u4e0a\u63d0\u4f9b\u8be6\u7ec6\u8bc4\u4f30\u6570\u636e\uff0c\u65b9\u4fbf\u5bf9\u6bd4\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>\u4f7f\u7528\u5e2e\u52a9<\/h2>\n<p>LettuceDetect \u662f\u4e00\u4e2a\u8f7b\u91cf\u9ad8\u6548\u7684\u5de5\u5177\uff0c\u7528\u6237\u53ea\u9700\u7b80\u5355\u5b89\u88c5\u5373\u53ef\u5feb\u901f\u4e0a\u624b\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u7684\u5b89\u88c5\u548c\u4f7f\u7528\u6307\u5357\uff0c\u5e2e\u52a9\u4f60\u4ece\u96f6\u5f00\u59cb\u638c\u63e1\u5176\u529f\u80fd\u3002<\/p>\n<h3>\u5b89\u88c5\u6d41\u7a0b<\/h3>\n<ol>\n<li><strong>\u51c6\u5907 Python \u73af\u5883<\/strong><br \/>\n\u786e\u4fdd\u7cfb\u7edf\u5df2\u5b89\u88c5 Python 3.8 \u6216\u4ee5\u4e0a\u7248\u672c\uff0c\u5e76\u5177\u5907 pip \u5de5\u5177\u3002\u5efa\u8bae\u4f7f\u7528\u865a\u62df\u73af\u5883\uff1a<\/p>\n<pre><code>python -m venv venv\r\nsource venv\/bin\/activate  # Linux\/Mac\r\nvenv\\Scripts\\activate     # Windows<\/code><\/pre>\n<\/li>\n<\/ol>\n<ol start=\"2\">\n<li><strong>\u5b89\u88c5 LettuceDetect<\/strong><br \/>\n\u4ece PyPI \u5b89\u88c5\u6700\u65b0\u7248\u672c\uff1a<\/p>\n<pre><code>pip install lettucedetect\r\n<\/code><\/pre>\n<p>\u5b89\u88c5\u8fc7\u7a0b\u4f1a\u81ea\u52a8\u4e0b\u8f7d\u6838\u5fc3\u4f9d\u8d56\uff0c\u5305\u62ec ModernBERT \u6a21\u578b\u3002<\/li>\n<li><strong>\u9a8c\u8bc1\u5b89\u88c5<\/strong><br \/>\n\u5728 Python \u7ec8\u7aef\u8fd0\u884c\u4ee5\u4e0b\u4ee3\u7801\uff0c\u68c0\u67e5\u662f\u5426\u6210\u529f\uff1a<\/p>\n<pre><code>from lettucedetect.models.inference import HallucinationDetector\r\nprint(\"LettuceDetect \u5b89\u88c5\u6210\u529f\uff01\")\r\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<h3>\u57fa\u672c\u4f7f\u7528\u65b9\u6cd5<\/h3>\n<p>LettuceDetect \u63d0\u4f9b\u7b80\u6d01\u7684 Python API\uff0c\u53ea\u9700\u51e0\u884c\u4ee3\u7801\u5373\u53ef\u68c0\u6d4b\u5e7b\u89c9\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u57fa\u7840\u793a\u4f8b\uff1a<\/p>\n<h4>\u793a\u4f8b\u4ee3\u7801<\/h4>\n<pre><code>from lettucedetect.models.inference import HallucinationDetector\r\n# \u521d\u59cb\u5316\u68c0\u6d4b\u5668\r\ndetector = HallucinationDetector(\r\nmethod=\"<a href=\"https:\/\/www.kdjingpai.com\/en\/transformer\/\">transformer<\/a>\",\r\nmodel_path=\"KRLabsOrg\/lettucedect-base-modernbert-en-v1\"\r\n)\r\n# \u8f93\u5165\u6570\u636e\r\ncontexts = [\"France is a country in Europe. The capital of France is Paris. The population of France is 67 million.\"]\r\nquestion = \"What is the capital of France? What is the population of France?\"\r\nanswer = \"The capital of France is Paris. The population of France is 69 million.\"\r\n# \u6267\u884c span \u7ea7\u68c0\u6d4b\r\npredictions = detector.predict(\r\ncontext=contexts,\r\nquestion=question,\r\nanswer=answer,\r\noutput_format=\"spans\"\r\n)\r\n# \u8f93\u51fa\u7ed3\u679c\r\nprint(\"\u68c0\u6d4b\u7ed3\u679c:\", predictions)\r\n<\/code><\/pre>\n<p><strong>\u8f93\u51fa\u793a\u4f8b<\/strong>\uff1a<\/p>\n<pre><code>\u68c0\u6d4b\u7ed3\u679c: [{'start': 31, 'end': 71, 'confidence': 0.994, 'text': ' The population of France is 69 million.'}]\r\n<\/code><\/pre>\n<p>\u7ed3\u679c\u663e\u793a\uff0c\u201c\u4eba\u53e3\u662f6900\u4e07\u201d\u88ab\u6807\u8bb0\u4e3a\u5e7b\u89c9\uff0c\u56e0\u4e3a\u4e0a\u4e0b\u6587\u8868\u660e\u4eba\u53e3\u4e3a6700\u4e07\u3002<\/p>\n<h3>\u4e3b\u8981\u529f\u80fd\u64cd\u4f5c\u6d41\u7a0b<\/h3>\n<h4>1.\u00a0<strong>\u521d\u59cb\u5316\u68c0\u6d4b\u5668<\/strong><\/h4>\n<ul>\n<li><strong>\u53c2\u6570\u8bf4\u660e<\/strong>\uff1a\n<ul>\n<li><code>method<\/code>\uff1a\u76ee\u524d\u4ec5\u652f\u6301 &#8220;transformer&#8221;\u3002<\/li>\n<li><code>model_path<\/code>\uff1a\u53ef\u9009\u00a0<code>KRLabsOrg\/lettucedect-base-modernbert-en-v1<\/code>\uff08150M\uff09\u6216\u00a0<code>KRLabsOrg\/lettucedect-large-modernbert-en-v1<\/code>\uff08396M\uff09\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u64cd\u4f5c<\/strong>\uff1a\u6839\u636e\u4efb\u52a1\u9700\u6c42\u9009\u62e9\u6a21\u578b\uff0cbase \u7248\u8f7b\u91cf\u5feb\u901f\uff0clarge \u7248\u7cbe\u5ea6\u66f4\u9ad8\u3002<\/li>\n<\/ul>\n<h4>2.\u00a0<strong>\u51c6\u5907\u8f93\u5165<\/strong><\/h4>\n<ul>\n<li><strong>\u4e0a\u4e0b\u6587\uff08context\uff09<\/strong>\uff1a\u4f20\u5165\u5305\u542b\u80cc\u666f\u4fe1\u606f\u7684\u5b57\u7b26\u4e32\u5217\u8868\uff0c\u9700\u4e3a\u82f1\u6587\u3002<\/li>\n<li><strong>\u95ee\u9898\uff08question\uff09<\/strong>\uff1a\u8f93\u5165\u5177\u4f53\u95ee\u9898\uff0c\u9700\u4e0e\u4e0a\u4e0b\u6587\u76f8\u5173\u3002<\/li>\n<li><strong>\u56de\u7b54\uff08answer\uff09<\/strong>\uff1a\u8f93\u5165 RAG \u7cfb\u7edf\u751f\u6210\u7684\u56de\u7b54\u3002<\/li>\n<li><strong>\u6ce8\u610f<\/strong>\uff1a\u786e\u4fdd\u4e0a\u4e0b\u6587\u603b\u957f\u5ea6\u4e0d\u8d85\u8fc7 4096 \u4e2a token\u3002<\/li>\n<\/ul>\n<h4>3.\u00a0<strong>\u8fd0\u884c\u68c0\u6d4b<\/strong><\/h4>\n<ul>\n<li><strong>\u8c03\u7528\u65b9\u6cd5<\/strong>\uff1a\u4f7f\u7528\u00a0<code>detector.predict()<\/code>\u3002<\/li>\n<li><strong>\u8f93\u51fa\u683c\u5f0f<\/strong>\uff1a\n<ul>\n<li><code>\"spans\"<\/code>\uff1a\u8fd4\u56de\u5e7b\u89c9\u7247\u6bb5\u7684\u8d77\u6b62\u4f4d\u7f6e\u3001\u6587\u672c\u548c\u7f6e\u4fe1\u5ea6\u3002<\/li>\n<li><code>\"<a href=\"https:\/\/www.kdjingpai.com\/en\/tokenization\/\">tokens<\/a>\"<\/code>\uff1a\u8fd4\u56de\u6bcf\u4e2a token \u7684\u5e7b\u89c9\u6982\u7387\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u64cd\u4f5c<\/strong>\uff1a\u9009\u62e9\u9002\u5408\u7684\u8f93\u51fa\u683c\u5f0f\uff0cspan \u7ea7\u9002\u5408\u5feb\u901f\u67e5\u770b\uff0ctoken \u7ea7\u9002\u5408\u6df1\u5165\u5206\u6790\u3002<\/li>\n<\/ul>\n<h4>4.\u00a0<strong>\u5206\u6790\u7ed3\u679c<\/strong><\/h4>\n<ul>\n<li><strong>span \u7ea7\u8f93\u51fa<\/strong>\uff1a\u68c0\u67e5\u6bcf\u4e2a\u5e7b\u89c9\u7247\u6bb5\u7684\u00a0<code>text<\/code>\u00a0\u548c\u00a0<code>confidence<\/code>\uff0c\u7f6e\u4fe1\u5ea6\u63a5\u8fd1 1 \u8868\u793a\u9ad8\u6982\u7387\u5e7b\u89c9\u3002<\/li>\n<li><strong>token \u7ea7\u8f93\u51fa<\/strong>\uff1a\u9010\u8bcd\u67e5\u770b\u00a0<code>prob<\/code>\u00a0\u503c\uff0c\u5224\u65ad\u5177\u4f53\u9519\u8bef\u70b9\u3002<\/li>\n<li><strong>\u540e\u7eed\u5904\u7406<\/strong>\uff1a\u6839\u636e\u7ed3\u679c\u4f18\u5316 RAG \u7cfb\u7edf\u6216\u8bb0\u5f55\u95ee\u9898\u3002<\/li>\n<\/ul>\n<h3>\u7279\u8272\u529f\u80fd\u8be6\u89e3<\/h3>\n<h4><strong>token \u7ea7\u68c0\u6d4b<\/strong><\/h4>\n<p>LettuceDetect \u652f\u6301\u9010\u8bcd\u5206\u6790\uff0c\u63d0\u4f9b\u7cbe\u7ec6\u7684\u5e7b\u89c9\u68c0\u6d4b\uff1a<\/p>\n<pre><code>predictions = detector.predict(\r\ncontext=contexts,\r\nquestion=question,\r\nanswer=answer,\r\noutput_format=\"tokens\"\r\n)\r\nprint(predictions)\r\n<\/code><\/pre>\n<p><strong>\u8f93\u51fa\u793a\u4f8b<\/strong>\uff1a<\/p>\n<pre><code>\u68c0\u6d4b\u7ed3\u679c: [{'token': '69', 'pred': 1, 'prob': 0.95}, {'token': 'million', 'pred': 1, 'prob': 0.95}]\r\n<\/code><\/pre>\n<p>\u8fd9\u8868\u660e\u201c69 million\u201d\u88ab\u6807\u8bb0\u4e3a\u5e7b\u89c9\uff0c\u9002\u5408\u9700\u8981\u7cbe\u786e\u8c03\u8bd5\u7684\u573a\u666f\u3002<\/p>\n<h4><strong>\u957f\u4e0a\u4e0b\u6587\u652f\u6301<\/strong><\/h4>\n<p>\u5bf9\u4e8e\u957f\u6587\u672c\u4efb\u52a1\uff0cLettuceDetect \u53ef\u5904\u7406 4096 \u4e2a token\uff1a<\/p>\n<pre><code>contexts = [\"A long context repeated many times...\" * 50]\r\npredictions = detector.predict(context=contexts, question=\"...\", answer=\"...\")\r\n<\/code><\/pre>\n<p>\u53ea\u9700\u786e\u4fdd\u8f93\u5165\u5728\u9650\u5236\u8303\u56f4\u5185\u5373\u53ef\u3002<\/p>\n<h4><strong>Streamlit \u6f14\u793a<\/strong><\/h4>\n<p>LettuceDetect \u63d0\u4f9b\u4ea4\u4e92\u5f0f\u6f14\u793a\uff1a<\/p>\n<ol>\n<li>\u5b89\u88c5 Streamlit\uff1a\n<pre><code>pip install streamlit\r\n<\/code><\/pre>\n<\/li>\n<li>\u8fd0\u884c\u6f14\u793a\uff1a\n<pre><code>streamlit run demo\/streamlit_demo.py\r\n<\/code><\/pre>\n<\/li>\n<li>\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165\u4e0a\u4e0b\u6587\u3001\u95ee\u9898\u548c\u56de\u7b54\uff0c\u5b9e\u65f6\u67e5\u770b\u68c0\u6d4b\u7ed3\u679c\u3002<\/li>\n<\/ol>\n<h3>\u9ad8\u7ea7\u4f7f\u7528<\/h3>\n<h4><strong>\u8bad\u7ec3\u81ea\u5b9a\u4e49\u6a21\u578b<\/strong><\/h4>\n<ol>\n<li>\u4e0b\u8f7d RAGTruth \u6570\u636e\u96c6\uff08<a href=\"https:\/\/github.com\/ParticleMedia\/RAGTruth\/tree\/main\/dataset\">\u94fe\u63a5<\/a>\uff09\uff0c\u653e\u5165\u00a0<code>data\/ragtruth<\/code>\u00a0\u6587\u4ef6\u5939\u3002<\/li>\n<li>\u9884\u5904\u7406\u6570\u636e\uff1a\n<pre><code>python lettucedetect\/preprocess\/preprocess_ragtruth.py --input_dir data\/ragtruth --output_dir data\/ragtruth\r\n<\/code><\/pre>\n<\/li>\n<li>\u8bad\u7ec3\u6a21\u578b\uff1a\n<pre><code>python scripts\/train.py --data_path data\/ragtruth\/ragtruth_data.json --model_name answerdotai\/ModernBERT-base --output_dir outputs\/hallucination_detector --batch_size 4 --epochs 6 --learning_rate 1e-5\r\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<h4><strong>\u6027\u80fd\u4f18\u5316<\/strong><\/h4>\n<ul>\n<li><strong>GPU \u52a0\u901f<\/strong>\uff1a\u5b89\u88c5 PyTorch CUDA \u7248\u672c\uff0c\u63d0\u5347\u63a8\u7406\u901f\u5ea6\u3002<\/li>\n<li><strong>\u6279\u91cf\u5904\u7406<\/strong>\uff1a\u5c06\u591a\u4e2a\u6837\u672c\u653e\u5165\u00a0<code>contexts<\/code>\u00a0\u5217\u8868\uff0c\u4e00\u6b21\u6027\u68c0\u6d4b\u3002<\/li>\n<\/ul>\n<h3>\u6ce8\u610f\u4e8b\u9879<\/h3>\n<ul>\n<li>\u8f93\u5165\u5fc5\u987b\u4e3a\u82f1\u6587\uff0c\u6682\u4e0d\u652f\u6301\u5176\u4ed6\u8bed\u8a00\u3002<\/li>\n<li>\u786e\u4fdd\u7f51\u7edc\u7545\u901a\uff0c\u4ee5\u4fbf\u9996\u6b21\u8fd0\u884c\u65f6\u4e0b\u8f7d\u6a21\u578b\u3002<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u7528\u6237\u53ef\u4ee5\u8f7b\u677e\u4f7f\u7528 LettuceDetect \u68c0\u6d4b RAG \u7cfb\u7edf\u5e7b\u89c9\uff0c\u63d0\u5347\u751f\u6210\u5185\u5bb9\u7684\u53ef\u9760\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LettuceDetect \u662f KRLabsOrg \u5f00\u53d1\u7684\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u5f00\u6e90\u5de5\u5177\uff0c\u4e13\u95e8\u7528\u4e8e\u68c0\u6d4b\u68c0\u7d22\u589e\u5f3a\u751f\u6210\uff08RAG\uff09\u7cfb\u7edf\u4e2d\u751f\u6210\u7684\u5e7b\u89c9\u5185\u5bb9\u3002\u5b83\u901a\u8fc7\u5bf9\u6bd4\u4e0a\u4e0b\u6587\u3001\u95ee\u9898\u548c\u56de\u7b54\uff0c\u8bc6\u522b\u56de\u7b54\u4e2d\u4e0d\u53d7\u4e0a\u4e0b\u6587\u652f\u6301\u7684\u90e8\u5206\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u63d0\u5347 RAG \u7cfb\u7edf\u7684\u51c6\u786e\u6027\u3002\u8be5\u5de5\u5177&#8230;<\/p>\n","protected":false},"author":1,"featured_media":61983,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[425,20,459],"tags":[230,243],"class_list":["post-27814","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-professional","category-tool","category-rag-project","tag-aikaiyuanxiangmu","tag-aizhishikuyukefu"],"_links":{"self":[{"href":"https:\/\/www.kdjingpai.com\/en\/wp-json\/wp\/v2\/posts\/27814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdjingpai.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdjingpai.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/en\/wp-json\/wp\/v2\/comments?post=27814"}],"version-history":[{"count":0,"href":"https:\/\/www.kdjingpai.com\/en\/wp-json\/wp\/v2\/posts\/27814\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/en\/wp-json\/wp\/v2\/media\/61983"}],"wp:attachment":[{"href":"https:\/\/www.kdjingpai.com\/en\/wp-json\/wp\/v2\/media?parent=27814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/en\/wp-json\/wp\/v2\/categories?post=27814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/en\/wp-json\/wp\/v2\/tags?post=27814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}