2024-08-01ãã1ã¶æéã®è¨äºä¸è¦§
å°ãã¿ã§ãã Gemini-ProãGemini-flashã使ã£ã¦ããã¨ãã«ãå®å ¨æ§ã«é¢ããã¡ãã»ã¼ã¸ã¨ã¨ãã«ã¨ã©ã¼ã«ãªããã¨ãããã¾ãã ãã®ã¨ãã®å¯¾å¦æ¹æ³ã«ã¤ãã¦èª¿ã¹ã¦ã¿ãã®ã§ãã®ã¡ã¢ã§ãã
æè¿ãããªè¨äºãè¦ããã¾ããã zenn.dev zenn.dev zenn.dev èªåãRAGã¨ãã¡ããã£ã¨åå¼·ãã¦ãããã¦LLMã¢ããªã±ã¼ã·ã§ã³ã®è©ä¾¡å¨ãã¯ãã£ã¨æ°ã«ãªãã¨ããã§ã¯ãã£ãã®ã§ãä¸è¨ã®è¨äºãè¦ã¦ã¡ãã£ã¨åå¼·ãã¦ã¿ãæ°ã«ãªãã¾ããã ãã£ãããªã®ã§ãè²ã ä½â¦
åã«Arize Phoenixã使ã£ã¦ã¿ã¦ã¾ããã www.nogawanogawa.com Arize Phoenixã使ãã¨ãã«å®é¨ã®è¨é²ãæ°¸ç¶åã§ããã¨é常ã«ä¾¿å©ãªãã§ã試ãã«ãã£ã¦ã¿ãã®ã§ãã®ã¡ã¢ã§ãã
ååã¯LlamaIndexã®vector searchã§Faissã使ã£ã¦ã¿ã¾ããã ä»åã¯ãæ¤ç´¢é¨åã«ã¤ãã¦ã¡ã¸ã£ã¼ãªæ¹åææ³ã§ããHybrid SearchãLlamaIndexã§è©¦ãã¦ã¿ããã¨æãã¾ãã
ãã®åã¯ãLlamaIndexã®ããã³ãããã³ãã¬ã¼ããæ¥æ¬èªã«ãã¦ãããã¾ããã www.nogawanogawa.com ä»åã¯retrivalã®é¨åãã¡ãã£ã¨ã«ã¹ã¿ãã¤ãºããããã¨æããããã©ã«ãã®æ¤ç´¢æ¹æ³ãå¤ãã¦Faissã使ãããã«ãããã¨æãã¾ãã
ã2ã¤ã®ããã¹ããä¸è´ãã¦ãããã¨ããå¤å®ãããã¨ããã¨çµæ§è¦å´ãããã¨ãããã¾ãã "ãããããã", "å¾®å¦ã«"éã£ã¦ãããããã ã¨è¯ããã§ãããç¾å®ã®åé¡ãèããã¨ãããªããããããç¶æ³ã®ã»ããçããã¨ãããã¨ã«æ°ãä»ãã¾ãã ä»åã¯ãããªæâ¦
RAGããã£ã¦ãã¦ç²¾åº¦æ¤è¨¼ç¨ãã¼ã¿ã»ããã®ä½æã§å°ã£ããã¨ã¯ãªãã§ããï¼ ç²¾åº¦è©ä¾¡ç¨ã®ãã¼ã¿ã»ãããªãã¦ä½æãããã¨ã ãã§ãè¶ ããã©ãããããããªãã§ããï¼ ã¨ãããã¨ã§ãä»åã¯ãã®ç°¡æ精度è©ä¾¡ã«ä½¿ããã¼ã¿ã»ããä½æããã£ã¦ã¿ããã¨æãã¾ãã
以åLlamaIndexã使ã£ã¦ãã¾ããã www.nogawanogawa.com LlamaIndexã§è³ªåãå ¥åããã¨ããããã©ã«ãã ã¨è±èªã®ããã³ãããæ··ãã£ã¦ãã¾ãã ããããã¹ã¦æ¥æ¬èªã§åããã¨ãã«ãã¤ãããæ¹ãå¿ãã¦ãã¾ãã®ã§ä»åã¯ãã®ã¡ã¢ã§ãã