{"id":66773,"date":"2023-10-16T17:00:00","date_gmt":"2023-10-16T08:00:00","guid":{"rendered":"https:\/\/www.creationline.com\/?p=66773"},"modified":"2023-10-16T12:39:48","modified_gmt":"2023-10-16T03:39:48","slug":"llamaindex%e3%81%ab%e3%82%88%e3%82%8brag%e3%81%ae%e6%94%b9%e8%89%af%e7%8a%b6%e6%b3%81%e3%82%92ragas%e3%81%a7%e8%a8%88%e6%b8%ac%ef%bc%81-llamaindex-ai-llm-ragas","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773","title":{"rendered":"LlamaIndex\u306b\u3088\u308bRAG\u306e\u6539\u826f\u72b6\u6cc1\u3092ragas\u3067\u8a08\u6e2c\uff01 #LlamaIndex #AI #LLM #ragas"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p>ChatGPT\u95a2\u9023\u306eAI\u6280\u8853\u3092\u7d39\u4ecb\u3059\u308b\u30b7\u30ea\u30fc\u30ba\u3067\u3059\u3002<br><a href=\"\/tech-blog\/63889\">\u524d\u56de\u306eLlamaIndex\u691c\u8a3c<\/a>\u306b\u7d9a\u3044\u3066\u3001\u4eca\u56de\u306fLlamaIndex\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3044\u304f\u65b9\u6cd5\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<br>LlamaIndex\u3092\u5229\u7528\u3057\u305fRAG(Retrieval-augmented Generation:\u691c\u7d22\u306b\u3088\u308a\u5f37\u5316\u3057\u305f\u6587\u7ae0\u751f\u6210)\u3067\u3001\u3088\u308a\u9069\u5207\u306a\u56de\u7b54\u3092\u5f97\u308b\u305f\u3081\u306b\u306f\u3001\u30a2\u30d7\u30ea\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba(\u4f5c\u308a\u8fbc\u307f)\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u306a\u304c\u3089\u3001LLM\u306e\u30e2\u30c7\u30eb\u81ea\u4f53\u3092\u6539\u826f\u3057\u305f\u308aRAG\u3067\u4f7f\u7528\u3059\u308b\u30c7\u30fc\u30bf\u81ea\u4f53\u3092\u65b0\u305f\u306b\u4f5c\u308a\u8fbc\u3093\u3060\u308a\u3059\u308b\u306e\u306f\u96e3\u6613\u5ea6\u304c\u975e\u5e38\u306b\u9ad8\u3044\u3067\u3059\u3002\u3072\u3068\u307e\u305a\u3053\u308c\u3089\u3092\u907f\u3051\u306a\u304c\u3089RAG\u306e\u5b9f\u7528\u5ea6\u3092\u9ad8\u3081\u308b\u306b\u306f\u3001\u3069\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u304b\uff1f\u672c\u8a18\u4e8b\u3067\u306f\u3044\u304f\u3064\u304b\u306e\u4ee3\u8868\u7684\u306a\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8a18\u4e8b\u306e\u5f8c\u534a\u3067\u306f\u3001\u3053\u308c\u3089\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306b\u3088\u308b\u6539\u826f\u3067\u8ab2\u984c\u3068\u306a\u308b\u300c\u9069\u5207\u3055\u306e\u8a08\u6e2c\u300d\u306b\u3064\u3044\u3066\u5ef6\u3079\u3001<a href=\"https:\/\/github.com\/explodinggradients\/ragas\">ragas<\/a>\u3068\u3044\u3046OSS\u3092\u4f7f\u3044\u306a\u304c\u3089\u3001RAG\u30b7\u30b9\u30c6\u30e0\u306e\u6539\u826f\u3068\u6539\u826f\u7d50\u679c\u306e\u6e2c\u5b9a\u3092\u7e70\u308a\u8fd4\u3059\u624b\u6cd5\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30a2\u30d7\u30ed\u30fc\u30c1\u65b9\u6cd5<\/h2>\n\n\n\n<p>LlamaIndex\u3067\u306f\u4f55\u3082\u6307\u5b9a\u3057\u306a\u3044\u3068\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u52d5\u4f5c\u3057\u307e\u3059\u304c\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u3082\u306e\u3092\u305d\u308c\u305e\u308c\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u4ee5\u4e0b\u306b\u6319\u3052\u308b\u3082\u306e\u306f\u4e00\u4f8b\u3067\u3001\u4ed6\u306b\u3082\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u4f5c\u308a\u8fbc\u307f\u3084<code>top_k<\/code>\u30fb<code>cutoff<\/code>\u306e\u8a2d\u5b9a\u306a\u3069\u8272\u3005\u306a\u30a2\u30d7\u30ed\u30fc\u30c1\u624b\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<br>\u5b9f\u969b\u306e\u7d44\u307f\u8fbc\u307f\u306b\u306f<a href=\"https:\/\/dev.classmethod.jp\/articles\/llamaindex-tutorial-001-overview-v0-7-9\/\">LlamaIndex\u3092\u5b8c\u5168\u306b\u7406\u89e3\u3059\u308b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb \u305d\u306e\uff11\uff1a\u51e6\u7406\u306e\u6982\u5ff5\u3084\u6d41\u308c\u3092\u7406\u89e3\u3059\u308b\u57fa\u790e\u7de8\uff08v0.7.9\u5bfe\u5fdc\uff09<\/a>\u306e\u30b7\u30ea\u30fc\u30ba\u8a18\u4e8b\u304c\u5f79\u306b\u7acb\u3064\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30e2\u30c7\u30eb\u6307\u5b9a<\/h3>\n\n\n\n<p>\u8a00\u3046\u307e\u3067\u3082\u306a\u304fLLM\u3092\u7528\u3044\u305f\u30b7\u30b9\u30c6\u30e0\u3067\u6700\u3082\u91cd\u8981\u306a\u306e\u306fLLM\u81ea\u4f53\u306e\u6027\u80fd\u3067\u3059\u3002<br>\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u30e2\u30c7\u30eb\u306e\u958b\u767a\u306b\u306f\u591a\u5927\u306a\u308b\u6642\u9593\u3068\u304a\u91d1\u304c\u304b\u304b\u308b\u305f\u3081\u3001\u65e2\u5b58\u306eLLM\u304b\u3089\u9078\u629e\u3057\u3066\u4f7f\u3046\u306e\u304c\u73fe\u5b9f\u7684\u3067\u3057\u3087\u3046\u3002<br><a href=\"https:\/\/platform.openai.com\/docs\/models\/gpt-3-5\">GPT-3.5<\/a>\u3084<a href=\"https:\/\/huggingface.co\/meta-llama\">Llama 2<\/a>\u306a\u3069\u306eLLM\u304b\u3089\u3001\u3046\u307e\u304f\u3044\u304d\u305d\u3046\u306a\u3082\u306e\u3092\u9078\u629e\u3057\u307e\u3059\u3002LlamaIndex\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u3046GPT\u306e\u4ed6\u306b\u3082\u3001<a href=\"https:\/\/huggingface.co\/\">Hugging Face<\/a>\u306b\u306f\u591a\u304f\u306eLLM\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5404\u30e2\u30c7\u30eb\u306b\u306f\u65e5\u672c\u8a9e\u306e\u5bfe\u5fdc\u5ea6\u306a\u3069\u69d8\u3005\u306a\u7279\u5fb4\u304c\u3042\u308a\u307e\u3059\u3002LlamaIndex\u3067\u306f\u305d\u308c\u3089\u306e\u30e2\u30c7\u30eb\u540d\u3092\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u7c21\u5358\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a<\/h3>\n\n\n\n<p>LLM\u306b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3068\u3057\u3066\u4e0e\u3048\u308b\u30c1\u30e3\u30f3\u30af\u304c\u9069\u5207\u306a\u307b\u3069\u3001LLM\u304b\u3089\u306e\u56de\u7b54\u304c\u9069\u5207\u306b\u306a\u308b\u3053\u3068\u304c\u671f\u5f85\u3067\u304d\u307e\u3059\u3002<br>\u3057\u304b\u3057\u306a\u304c\u3089RAG\u306f\u5927\u91cf\u306b\u3042\u308b\u65e2\u5b58\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u6d3b\u7528\u3059\u308b\u624b\u6cd5\u3067\u3042\u308b\u305f\u3081\u3001\u30c1\u30e3\u30f3\u30af\u306e\u5143\u3068\u306a\u308b\u65e2\u5b58\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u5185\u5bb9\u3092\u5927\u5e45\u306b\u8abf\u6574\u3059\u308b\u306e\u306f\u96e3\u3057\u3044\u5834\u5408\u3082\u3042\u308b\u3067\u3057\u3087\u3046\u3002<br>\u305d\u3053\u3067\u3001\u30c1\u30e3\u30f3\u30af\u5316\u306e<code>separator<\/code>\u30fb<code>chunk_size<\/code>\u30fb<code>chunk_overlap<\/code>\u306a\u3069\u3068\u3044\u3063\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8abf\u6574\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u30c1\u30e3\u30f3\u30af\u306e\u5185\u5bb9\u3092\u3042\u308b\u7a0b\u5ea6\u9069\u5207\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u30b5\u30a4\u30af\u30eb<\/h2>\n\n\n\n<p>\u30e2\u30c7\u30eb\u3092\u5207\u308a\u66ff\u3048\u305f\u308a\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5909\u66f4\u3057\u305f\u308a\u3057\u3066\u6539\u826f\u3092\u76ee\u6307\u3059\u306b\u306f\u3001\u5909\u66f4\u3068\u8a08\u6e2c\u306e\u30b5\u30a4\u30af\u30eb\u3092\u56de\u3057\u3066\u3044\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u203b\u8a08\u6e2c\u3068\u306f\u3001\u3042\u308b\u8cea\u554f\u306b\u5bfe\u3057\u3066\u8fd4\u3063\u3066\u304d\u305f\u56de\u7b54\u304c\u3069\u306e\u7a0b\u5ea6\u9069\u5207\u304b\u3092\u5224\u65ad(\u8a55\u4fa1)\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u79c1\u9054\u306f\u81ea\u7136\u8a00\u8a9e\u3067\u306e\u3084\u308a\u3068\u308a\u3092\u5bfe\u8c61\u3068\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u305d\u306e\u8a55\u4fa1\u304c\u975e\u5e38\u306b\u56f0\u96e3\u3067\u3042\u308b\u3053\u3068\u306b\u6c17\u3065\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u306a\u308b\u3079\u304f\u591a\u304f\u306e\u8cea\u554f\u306b\u5bfe\u3057\u3066\u8a55\u4fa1\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u3053\u308c\u306b\u306f\u83ab\u5927\u306a\u624b\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u306a\u308b\u3079\u304f\u4e3b\u89b3\u3092\u6392\u9664\u3057\u3066\u8a55\u4fa1\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u3053\u308c\u306f\u975e\u5e38\u306b\u96e3\u3057\u3044\u4f5c\u696d\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3064\u307e\u308a\u3001\u5909\u66f4\u305d\u306e\u3082\u306e\u306f\u7c21\u5358\u306b\u9069\u7528\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u5909\u66f4\u306b\u3088\u3063\u3066\u3069\u306e\u7a0b\u5ea6\u6539\u826f\u3055\u308c\u305f\u304b(\u307e\u305f\u306f\u60aa\u5316\u3057\u305f\u304b)\u306e\u8a08\u6e2c\u30fb\u5224\u65ad\u304c\u73fe\u5b9f\u7684\u306b\u7121\u7406\u306a\u30ec\u30d9\u30eb\u3067\u96e3\u3057\u3044\u306e\u3067\u3059\u3002<br>\u305d\u306e\u305f\u3081\u3001\u5909\u66f4\u3092\u9069\u7528\u3059\u308b\u524d\u306b\u8a08\u6e2c\u65b9\u6cd5\u3092\u691c\u8a0e\u30fb\u6e96\u5099\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">ragas\u3067\u306e\u8a08\u6e2c<\/h2>\n\n\n\n<p><a href=\"https:\/\/github.com\/explodinggradients\/ragas\">ragas<\/a>\u306fRAG\u306e\u6027\u80fd\u3092\u8a08\u6e2c\u3059\u308b\u305f\u3081\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af(OSS)\u3067\u3059\u3002\u516c\u5f0f\u30b5\u30a4\u30c8\u306b\u3088\u308b\u3068<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Evaluation framework for your Retrieval Augmented Generation (RAG) pipelines<\/p>\n<\/blockquote>\n\n\n\n<p>\u3068\u7d39\u4ecb\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092\u4f7f\u3048\u3070\u3001\u5148\u8ff0\u306e\u3088\u3046\u306a\u8a08\u6e2c\u306e\u56f0\u96e3\u3055\u3092\u89e3\u6c7a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u306f<a href=\"https:\/\/github.com\/explodinggradients\/ragas\">\u516c\u5f0f\u30b5\u30a4\u30c8<\/a>\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u8a08\u6e2c\u9805\u76ee\u306e\u610f\u5473<\/h3>\n\n\n\n<p>\u8a08\u6e2c\u3067\u304d\u308b\u4e3b\u306a\u9805\u76ee\u306e\u610f\u5473\u306f\u4e0b\u8a18\u306e\u901a\u308a\u3067\u3059\u3002(<a href=\"https:\/\/github.com\/explodinggradients\/ragas\/blob\/main\/docs\/metrics.md\">\u516c\u5f0f\u30b5\u30a4\u30c8\u306e\u8aac\u660e<\/a>)<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">faithfulness<\/h4>\n\n\n\n<p>\u4e0e\u3048\u3089\u308c\u305f\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306b\u5bfe\u3057\u3066\u3001\u56de\u7b54\u304c\u3069\u306e\u7a0b\u5ea6\u5fe0\u5b9f\u304b\u3002<br>\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u304b\u3089\u5f97\u3089\u308c\u306a\u3044\u60c5\u5831\u304c\u56de\u7b54\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u3068\u6e1b\u70b9\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">context_precision<\/h4>\n\n\n\n<p>\u9078\u3070\u308c\u305f\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u304c\u8cea\u554f\u306b\u3069\u306e\u7a0b\u5ea6\u95a2\u9023\u3057\u3066\u3044\u308b\u304b\u3002<br>\u8cea\u554f\u3078\u306e\u56de\u7b54\u306b\u4e0d\u8981\u306a\u60c5\u5831\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3068\u6e1b\u70b9\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">answer_relevancy<\/h4>\n\n\n\n<p>\u56de\u7b54\u304c\u3069\u306e\u7a0b\u5ea6\u76f4\u63a5\u7684\u306b\u89e3\u6c7a\u3057\u3066\u3044\u3066\u9069\u5207\u304b\u3069\u3046\u304b\u3002<br>\u56de\u7b54\u306e\u771f\u5b9f\u6027\u306f\u7121\u95a2\u4fc2\u3002<br>\u8cea\u554f\u306b\u5bfe\u3057\u3066\u5197\u9577\u306a\u56de\u7b54\u3084\u4e0d\u5b8c\u5168\u306a\u56de\u7b54\u306f\u6e1b\u70b9\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Aspect Critiques<\/h4>\n\n\n\n<p>\u300c\u7121\u5bb3\u3055\u300d\u306a\u3069\u306e\u81ea\u5206\u3067\u5b9a\u7fa9\u3057\u305f\u6307\u6a19\u3092\u6e2c\u5b9a\u3002<br>\u56de\u7b54\u3060\u3051\u304b\u3089\u6e2c\u5b9a\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">ragas_score<\/h4>\n\n\n\n<p>\u5404\u6307\u6a19\u306e\u8abf\u548c\u5e73\u5747\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u8a08\u6e2c\u65b9\u6cd5<\/h3>\n\n\n\n<p>ragas\u306b\u306f\u4ee5\u4e0b\u306e\u3082\u306e\u3092\u4e0e\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>LLM\u306b\u4e0e\u3048\u305f\u3001\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306e\u8cea\u554f\u5185\u5bb9<\/li>\n\n\n\n<li>LLM\u304b\u3089\u8fd4\u3063\u3066\u304d\u305f\u56de\u7b54<\/li>\n\n\n\n<li>RAG\u304cLLM\u306b\u4e0e\u3048\u305f\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8(\u30c1\u30e3\u30f3\u30af\u306e\u4e00\u89a7)<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u308c\u3089\u3092\u8907\u6570\u30bb\u30c3\u30c8(\u8907\u6570\u306e\u8cea\u554f\u3068\u305d\u308c\u306b\u5bfe\u5fdc\u3059\u308b\u56de\u7b54\u30fb\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8)\u7528\u610f\u3057\u3066\u3001ragas\u306b\u4e0e\u3048\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7c21\u5358\u306a\u8a08\u6e2c\u306e\u30b5\u30f3\u30d7\u30eb\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u8cea\u554f\u304b\u3089\u306e\u6587\u8108\u3068\u5fdc\u7b54\u306e\u751f\u6210\ncontexts: list&#91;list&#91;str]] = &#91;]\nanswers: list&#91;str] = &#91;]\nfor question in questions:\n    response = query_engine.query(question)\n    answers.append(str(response))\n    contexts.append(&#91;x.node.get_content() for x in response.source_nodes])\n\n# \u8a08\u6e2c\u5bfe\u8c61\u3092\u6e96\u5099\nds = Dataset.from_dict(\n    {\n        \"question\": questions, # \u8cea\u554f\u306e\u4e00\u89a7\n        \"answer\": answers, # \u56de\u7b54\u306e\u4e00\u89a7\n        \"contexts\": contexts, # \u300c\u8cea\u554f\u6642\u306b\u4f7f\u3063\u305f\u30c1\u30e3\u30f3\u30af\u306e\u4e00\u89a7\u300d\u306e\u4e00\u89a7\n    }\n)\n\n# \u8a08\u6e2c\nresults = dict&#91;str, float](\n    # \u7b2c\u4e8c\u5f15\u6570\u306f\u8a08\u6e2c\u3059\u308b\u9805\u76ee\u306e\u6307\u5b9a\u3002(\u5f8c\u8ff0)\n    evaluate(ds, &#91;faithfulness, context_precision, answer_relevancy])\n)\n\nprint(results)<\/code><\/pre>\n\n\n\n<p>\u8a08\u6e2c\u7d50\u679c\u306e\u4f8b\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{'faithfulness': 0.6455357142857142, 'context_relevancy': 0.17072893805462988, 'answer_relevancy': 0.8716361599807388, 'ragas_score': 0.3507292502492895}\n<\/code><\/pre>\n\n\n\n<p>\u8a08\u6e2c\u5bfe\u8c61\u3068\u3057\u3066\u6307\u5b9a\u3057\u305f<code>faithfulness<\/code>\u30fb<code>context_precision<\/code>(\u51fa\u529b\u7d50\u679c\u3067\u306f<code>context_relevancy<\/code>)\u30fb<code>answer_relevancy<\/code>\u3068\u3001\u305d\u308c\u3089\u3092\u7dcf\u5408\u7684\u306b\u52d8\u6848\u3057\u305f<code>ragas_score<\/code>\u304c\u53d6\u5f97\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">ragas\u306e\u30e1\u30ea\u30c3\u30c8<\/h3>\n\n\n\n<p><a href=\"https:\/\/github.com\/explodinggradients\/ragas\/blob\/main\/docs\/metrics.md#--\">ragas\u516c\u5f0f<\/a>\u306b\u3088\u308b\u3068\u3001GPT 3.5\u3092\u7528\u3044\u305f\u8a08\u6e2c\u3088\u308a\u3082ragas\u3092\u7528\u3044\u305f\u8a08\u6e2c\u306e\u65b9\u304c\u4eba\u9593\u306b\u3088\u308b\u8a55\u4fa1\u306b\u8fd1\u304f\u3001\u4eba\u9593\u306b\u3088\u308b\u8a55\u4fa1\u3068\u7d0470\uff05\u306e\u76f8\u95a2\u304c\u3042\u308b\u3068\u306e\u3053\u3068\u3067\u3059\u300270\uff05\u304c\u9ad8\u3044\u304b\u3069\u3046\u304b\u306f\u5224\u65ad\u304c\u96e3\u3057\u3044\u3068\u3053\u308d\u3067\u3059\u304c\u3001\u5c11\u306a\u304f\u3068\u3082\u300c\u3042\u308b\u7a0b\u5ea6\u610f\u5473\u306e\u3042\u308b\u5024\u300d\u3068\u8a00\u3046\u3053\u3068\u304c\u3067\u304d\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u3053\u306e\u3088\u3046\u306a\u6307\u6a19\u3092\u5b9a\u91cf\u7684\u304b\u3064\u81ea\u52d5\u7684\u306b\u8a08\u6e2c\u3057\u3066\u304f\u308c\u308b\u3068\u3044\u3046\u70b9\u304cragas\u306e\u512a\u308c\u305f\u3068\u3053\u308d\u3067\u3059\u3002<br>ragas\u3092\u4f7f\u3048\u3070\u3001\u5909\u66f4\u3068\u8a08\u6e2c\u306e\u30b5\u30a4\u30af\u30eb\u3092\u56de\u3057\u3066\u3044\u304f\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u3002\u7279\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5909\u66f4\u306f\u3001(\u305d\u306e\u3088\u3046\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u308c\u3070)\u3044\u304f\u3064\u304b\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u81ea\u52d5\u7684\u306b\u5909\u3048\u306a\u304c\u3089\u8a08\u6e2c\u3057\u3001\u6700\u826f\u306e\u8a2d\u5b9a\u30fb\u7d44\u307f\u5408\u308f\u305b\u3092\u81ea\u52d5\u7684\u306b\u63a2\u3057\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u3069\u306e\u6307\u6a19\u3092\u4f7f\u3046\u304b<\/h3>\n\n\n\n<p>\u6307\u6a19\u306e\u610f\u5473\u304b\u3089\u3057\u3066\u3001<code>faithfulness<\/code>\u3068<code>answer_relevancy<\/code>\u304c\u9ad8\u8a55\u4fa1\u3067\u3042\u308c\u3070\u5b9f\u7528\u6027\u304c\u9ad8\u3044\u3068\u5224\u65ad\u3067\u304d\u308b\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\u30e2\u30c7\u30eb\u306e\u5909\u66f4\u3084\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u4f5c\u308a\u8fbc\u307f\u3067\u306f\u3001\u7279\u306b\u3053\u308c\u3089\u306e\u6307\u6a19\u3092\u78ba\u8a8d\u3059\u308b\u306e\u304c\u3088\u3055\u305d\u3046\u3067\u3059\u3002<br>\u307e\u305f\u3001\u30c1\u30e3\u30f3\u30af\u306e\u5207\u308a\u5177\u5408\u3092\u8abf\u6574\u3059\u308b\u969b\u306b\u306f<code>context_precision<\/code>\u3092\u53c2\u7167\u3059\u308b\u306e\u304c\u3088\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">ragas\u306e\u8f9b\u3055<\/h3>\n\n\n\n<p>\u8a08\u6e2c\u306b\u306fOpenAI\u306eAPI\u304c\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306b\u306f\u6642\u9593\u3068\u304a\u91d1\u304c\u304b\u304b\u308a\u307e\u3059\u3002\u4eca\u56de\u5b9f\u65bd\u3057\u305f\u4f8b\u3067\u306f\u300c\u65e5\u672c\u8a9e\u3001\u7d047700\u30c1\u30e3\u30f3\u30af\u300110\u500b\u306e\u8cea\u554f\u3001\u5404\u7a2e\u8a2d\u5b9a\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u300d\u3068\u3044\u3046\u6761\u4ef6\u3067\u3001\u4e0b\u8a18\u306e\u6642\u9593\u3068$0.58\u304c\u304b\u304b\u308a\u307e\u3057\u305f\u3002<br><code>faithfulness<\/code>\uff1a107\u79d2<br><code>context_precision<\/code>\uff1a50\u79d2<br><code>answer_relevancy<\/code>\uff1a21\u79d2<br>\u203bRAG\u81ea\u4f53\u306e\u5b9f\u884c\u3092\u542b\u3080\u3002\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u30a4\u30f3\u30c7\u30af\u30b9\u5316\u306f\u4e8b\u524d\u306b\u5b9f\u65bd\u6e08\u307f\u306e\u305f\u3081\u542b\u307e\u306a\u3044\u3002<br>\u203b<a href=\"https:\/\/github.com\/explodinggradients\/ragas#raising_hand_man-faq\">ragas\u306eFAQ<\/a>\u306b\u306f\u3001\u6700\u4f4e20\u500b\u306e\u8cea\u554f\u3092\u7528\u610f\u3059\u308b\u3088\u3046\u306b\u3068\u3044\u3046\u6848\u5185\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u5f97\u3089\u308c\u305f\u8a08\u6e2c\u7d50\u679c\u304c\u3069\u306e\u7a0b\u5ea6\u9069\u5207\u304b\u306e\u8a55\u4fa1(\uff1d\u8a55\u4fa1\u65b9\u6cd5\u306e\u8a55\u4fa1)\u304c\u56f0\u96e3\u3067\u3001ragas\u3092\u4fe1\u3058\u308b\u3057\u304b\u3042\u308a\u307e\u305b\u3093\u3002ragas\u4ee5\u5916\u306b\u540c\u69d8\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u3068\u3057\u3066\u3082\u3001\u3069\u308c\u304c\u3088\u3044\u304b\u3092\u9078\u5b9a\u3059\u308b\u306e\u306f\u56f0\u96e3\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">ragas\u306e\u6d3b\u7528\u65b9\u91dd<\/h3>\n\n\n\n<p>\u5b9a\u91cf\u7684\u30fb\u81ea\u52d5\u7684\u306b\u8a08\u6e2c\u3067\u304d\u308bragas\u306f\u975e\u5e38\u306b\u6709\u7528\u306a\u305f\u3081\u3001\u3053\u308c\u3092\u4f7f\u3044\u306a\u304c\u3089\u6539\u5584\u3057\u3066\u3044\u304f\u3053\u3068\u306b\u306a\u308a\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3001ragas(\u3068RAG\u81ea\u4f53)\u306e\u5b9f\u884c\u306b\u306f\u6642\u9593\u3068\u304a\u91d1\u304c\u304b\u304b\u308b\u305f\u3081\u3001\u95c7\u96f2\u306b\u30c1\u30e3\u30ec\u30f3\u30b8\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u4f55\u3092\u3069\u3046\u5909\u66f4\u3057\u3066\u3069\u306e\u7a0b\u5ea6\u6539\u5584(\u60aa\u5316)\u3055\u308c\u305f\u304b\u3092\u78ba\u8a8d\u3057\u306a\u304c\u3089\u3001\u6b21\u306b\u4f55\u3092\u5909\u66f4\u3059\u308b\u306e\u304b\u3092\u8a08\u753b\u3057\u3066\u3044\u304f\u306e\u304c\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001ragas\u306b\u3088\u308b\u8a55\u4fa1\u306f100\uff05\u7d76\u5bfe\u7684\u306a\u3082\u306e\u3067\u306f\u306a\u3044\u305f\u3081\u3001\u8981\u6240\u3067\u4eba\u9593\u306b\u3088\u308b\u8a55\u4fa1\u3082\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u3063\u3066\u3044\u304f\u306e\u304c\u3088\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">We're Hiring!<\/h2>\n\n\n\n<p>\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\u3067\u306f\u3001\u3053\u306e\u3088\u3046\u306a\u65b0\u305f\u306a\u6280\u8853\u3092\u7a4d\u6975\u7684\u306b\u53d6\u308a\u5165\u308c\u3001\u5f0a\u793e\u304c\u76ee\u6307\u3059\u30d3\u30b8\u30e7\u30f3\u300cIT\u6280\u8853\u306b\u3088\u308b\u30a4\u30ce\u30d9\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u308a\u9867\u5ba2\u3068\u3068\u3082\u306b\u793e\u4f1a\u306e\u9032\u5316\u3092\u5b9f\u73fe\u3059\u308b\u300d\u3092\u4e00\u7dd2\u306b\u9032\u3081\u3066\u3044\u304f\u958b\u767a\u30e1\u30f3\u30d0\u30fc\u3092\u52df\u96c6\u3057\u3066\u304a\u308a\u307e\u3059\u3002<br>\u3054\u95a2\u5fc3\u306e\u3042\u308b\u65b9\u306f\u5f0a\u793e\u306e\u304a\u554f\u3044\u5408\u308f\u305b\u30da\u30fc\u30b8\u3088\u308a\u3001\u662f\u975e\u304a\u6c17\u8efd\u306b\u3054\u9023\u7d61\u304f\u3060\u3055\u3044\uff01 \u4e00\u7dd2\u306b\u793e\u4f1a\u3092\u5909\u3048\u305f\u3044\u958b\u767a\u8005\u30fb\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u7686\u69d8\u306e\u5fdc\u52df\u3092\u5fc3\u3088\u308a\u304a\u5f85\u3061\u3057\u3066\u304a\u308a\u307e\u3059\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b ChatGPT\u95a2\u9023\u306eAI\u6280\u8853\u3092\u7d39\u4ecb\u3059\u308b\u30b7\u30ea\u30fc\u30ba\u3067\u3059\u3002\u524d\u56de\u306eLlamaIndex\u691c\u8a3c\u306b\u7d9a\u3044\u3066\u3001\u4eca\u56de\u306fLlamaIndex\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3044\u304f\u65b9\u6cd5\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002LlamaIndex\u3092\u5229\u7528\u3057\u305fRAG(Retr [&#8230;]<\/p>\n","protected":false},"author":108,"featured_media":66774,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[779,768,323],"tags":[126,862,863,864],"class_list":["post-66773","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-k-kamimura","category-python","tag-ai","tag-llamaindex","tag-llm","tag-ragas"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>LlamaIndex\u306b\u3088\u308bRAG\u306e\u6539\u826f\u72b6\u6cc1\u3092ragas\u3067\u8a08\u6e2c\uff01 #LlamaIndex #AI #LLM #ragas - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"AI, k-kamimura, Python |\u306f\u3058\u3081\u306b\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"LlamaIndex\u306b\u3088\u308bRAG\u306e\u6539\u826f\u72b6\u6cc1\u3092ragas\u3067\u8a08\u6e2c\uff01 #LlamaIndex #AI #LLM #ragas - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"AI, k-kamimura, Python |\u306f\u3058\u3081\u306b\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-16T08:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/09\/Llamaindex-Logo-1024x537-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"537\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u4e0a\u6751\u56fd\u6176\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u4e0a\u6751\u56fd\u6176\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/66773#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/66773\"},\"author\":{\"name\":\"\u4e0a\u6751\u56fd\u6176\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/d90a5c6b3baa409b6d0f1d721cca812e\"},\"headline\":\"LlamaIndex\u306b\u3088\u308bRAG\u306e\u6539\u826f\u72b6\u6cc1\u3092ragas\u3067\u8a08\u6e2c\uff01 #LlamaIndex #AI #LLM #ragas\",\"datePublished\":\"2023-10-16T08:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/66773\"},\"wordCount\":90,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/66773#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Llamaindex-Logo-1024x537-1.png\",\"keywords\":[\"AI\",\"LlamaIndex\",\"LLM\",\"ragas\"],\"articleSection\":[\"AI\",\"k-kamimura\",\"Python\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/66773\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/66773\",\"name\":\"LlamaIndex\u306b\u3088\u308bRAG\u306e\u6539\u826f\u72b6\u6cc1\u3092ragas\u3067\u8a08\u6e2c\uff01 #LlamaIndex #AI #LLM #ragas - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/66773#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/66773#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Llamaindex-Logo-1024x537-1.png\",\"datePublished\":\"2023-10-16T08:00:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/d90a5c6b3baa409b6d0f1d721cca812e\"},\"description\":\"AI, k-kamimura, Python |\u306f\u3058\u3081\u306b\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/66773#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/66773\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/66773#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Llamaindex-Logo-1024x537-1.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Llamaindex-Logo-1024x537-1.png\",\"width\":1024,\"height\":537},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\\\/66773#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ChatGPT\uff06AI\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AI\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"LlamaIndex\u306b\u3088\u308bRAG\u306e\u6539\u826f\u72b6\u6cc1\u3092ragas\u3067\u8a08\u6e2c\uff01 #LlamaIndex #AI #LLM #ragas\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/d90a5c6b3baa409b6d0f1d721cca812e\",\"name\":\"\u4e0a\u6751\u56fd\u6176\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/unnamed-230x230.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/unnamed-230x230.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/unnamed-230x230.png\",\"caption\":\"\u4e0a\u6751\u56fd\u6176\"},\"description\":\"\u6559\u80b2\u7cfb\u30a8\u30f3\u30b8\u30cb\u30a2\u3002\u958b\u767a\u3084R&amp;D\u3067\u6700\u524d\u7dda\u306e\u6280\u8853\u3092\u5b9f\u8df5\u3057\u3064\u3064\u3001\u5f8c\u9032\u306e\u80b2\u6210\u306b\u3082\u9b42\u3092\u71c3\u3084\u3059\u3002\u6392\u51fa\u8005\u306f\u6570\u5343\u540d\u3002\u7121\u985e\u306e\u5b50\u3069\u3082\u597d\u304d\u3067\u3001\u5e73\u65e5\u5915\u65b9\u306f\u4ed5\u4e8b\u3092\u4e2d\u629c\u3051\u3057\u3066\u8fd1\u6240\u306e\u5b50\u3069\u3082\u3068\u904a\u3076\u6bce\u65e5\u3002\u5c0f\u5b66\u6821\u3067\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6388\u696d\u306a\u3069\u3082\u7d4c\u9a13\u3042\u308a\u3002\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/k-kamimura\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"LlamaIndex\u306b\u3088\u308bRAG\u306e\u6539\u826f\u72b6\u6cc1\u3092ragas\u3067\u8a08\u6e2c\uff01 #LlamaIndex #AI #LLM #ragas - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"AI, k-kamimura, Python |\u306f\u3058\u3081\u306b","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773","og_locale":"ja_JP","og_type":"article","og_title":"LlamaIndex\u306b\u3088\u308bRAG\u306e\u6539\u826f\u72b6\u6cc1\u3092ragas\u3067\u8a08\u6e2c\uff01 #LlamaIndex #AI #LLM #ragas - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"AI, k-kamimura, Python |\u306f\u3058\u3081\u306b","og_url":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2023-10-16T08:00:00+00:00","og_image":[{"width":1024,"height":537,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/09\/Llamaindex-Logo-1024x537-1.png","type":"image\/png"}],"author":"\u4e0a\u6751\u56fd\u6176","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"\u4e0a\u6751\u56fd\u6176","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773"},"author":{"name":"\u4e0a\u6751\u56fd\u6176","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/d90a5c6b3baa409b6d0f1d721cca812e"},"headline":"LlamaIndex\u306b\u3088\u308bRAG\u306e\u6539\u826f\u72b6\u6cc1\u3092ragas\u3067\u8a08\u6e2c\uff01 #LlamaIndex #AI #LLM #ragas","datePublished":"2023-10-16T08:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773"},"wordCount":90,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/09\/Llamaindex-Logo-1024x537-1.png","keywords":["AI","LlamaIndex","LLM","ragas"],"articleSection":["AI","k-kamimura","Python"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773","url":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773","name":"LlamaIndex\u306b\u3088\u308bRAG\u306e\u6539\u826f\u72b6\u6cc1\u3092ragas\u3067\u8a08\u6e2c\uff01 #LlamaIndex #AI #LLM #ragas - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/09\/Llamaindex-Logo-1024x537-1.png","datePublished":"2023-10-16T08:00:00+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/d90a5c6b3baa409b6d0f1d721cca812e"},"description":"AI, k-kamimura, Python |\u306f\u3058\u3081\u306b","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/09\/Llamaindex-Logo-1024x537-1.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/09\/Llamaindex-Logo-1024x537-1.png","width":1024,"height":537},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\/66773#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"ChatGPT\uff06AI","item":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai"},{"@type":"ListItem","position":3,"name":"AI","item":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai"},{"@type":"ListItem","position":4,"name":"LlamaIndex\u306b\u3088\u308bRAG\u306e\u6539\u826f\u72b6\u6cc1\u3092ragas\u3067\u8a08\u6e2c\uff01 #LlamaIndex #AI #LLM #ragas"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/d90a5c6b3baa409b6d0f1d721cca812e","name":"\u4e0a\u6751\u56fd\u6176","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/12\/unnamed-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/12\/unnamed-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/12\/unnamed-230x230.png","caption":"\u4e0a\u6751\u56fd\u6176"},"description":"\u6559\u80b2\u7cfb\u30a8\u30f3\u30b8\u30cb\u30a2\u3002\u958b\u767a\u3084R&amp;D\u3067\u6700\u524d\u7dda\u306e\u6280\u8853\u3092\u5b9f\u8df5\u3057\u3064\u3064\u3001\u5f8c\u9032\u306e\u80b2\u6210\u306b\u3082\u9b42\u3092\u71c3\u3084\u3059\u3002\u6392\u51fa\u8005\u306f\u6570\u5343\u540d\u3002\u7121\u985e\u306e\u5b50\u3069\u3082\u597d\u304d\u3067\u3001\u5e73\u65e5\u5915\u65b9\u306f\u4ed5\u4e8b\u3092\u4e2d\u629c\u3051\u3057\u3066\u8fd1\u6240\u306e\u5b50\u3069\u3082\u3068\u904a\u3076\u6bce\u65e5\u3002\u5c0f\u5b66\u6821\u3067\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6388\u696d\u306a\u3069\u3082\u7d4c\u9a13\u3042\u308a\u3002","url":"https:\/\/www.creationline.com\/tech-blog\/author\/k-kamimura"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/66773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/108"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=66773"}],"version-history":[{"count":35,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/66773\/revisions"}],"predecessor-version":[{"id":66846,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/66773\/revisions\/66846"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/66774"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=66773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=66773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=66773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}