æ å ±æ¤ç´¢
Qdrantãéçºããæ°ããã¹ã³ã¢ãªã³ã°ã¢ã«ã´ãªãºã ã§ããBM42ãç°¡åã«ç´¹ä»ãããããElasticsearchä¸ã§æ§ç¯ããæ¹æ³ã¨ãã®ææãã話ããã¾ããããã«å½¢æ ç´ è§£æå¨ã®Sudachiã使ã£ã¦é¡ä¼¼èªå±éããã¼ã¯ã³ä¿®æ£ãè¡ãªããBM42ã®ç²¾åº¦ãç¯æ£ããæ¹æ³ã試ããã®ã§â¦
å»çç³»è¨äºãµã¼ãã¹ã®å·çè åã®æ¤ç´¢ãæ¹åããã話ããã¾ã
ä»åã¯ChatGPT Retrieval Pluginããµãã¼ããã¦ãããã¯ãã«æ¤ç´¢ã¨ã³ã¸ã³ã§ã¯ãªããAWSã§å©ç¨ã§ãã[OpenSearch](https://opensearch.org/) ã®Providerãå®è£ ãã¦ãChatGPTã«OpenSearchã®ãã¯ãã«æ¤ç´¢ãæä¾ããæ¹æ³ã試ãã¦ã¿ã¾ããã
ãã¡ãã¯ã¨ã ã¹ãªã¼ Advent Calendar 2022 Advent Calendar 2022ã®å»¶é·æ¦31æ¥ç®ã®è¨äºã§ãã ã¨ã ã¹ãªã¼ã¨ã³ã¸ãã¢ãªã³ã°ã°ã«ã¼ã AIã»æ©æ¢°å¦ç¿ãã¼ã ã§ã½ããã¦ã§ã¢ã¨ã³ã¸ãã¢ããã¦ããä¸æ(po3rin) ã§ããæ¤ç´¢ã¨Goã好ãã§ãã æ¤ç´¢ã¨ã³ã¸ãã¢ã£ã¦ã©ãã§â¦
Elasticsearch à ãã³ãã£ããã¢ã«ã´ãªãºã ã§æ¤ç´¢ãªã©ã³ãã³ã°ãæå°å·¥æ°ã§å®è£ ããã¢ã¼ããã¯ãã£ãç´¹ä»ãã¾ã
Slackã®çµµæåå ¥åãµã¸ã§ã¹ãã£ã¦æå¤ã¨ä¸æè°ãªæåããããæ®éã«é¨åä¸è´ã ã¨æã£ã¦å ¥åããã¡ã ãã©ãæã ããã¨ããããªãã§ãã®çµµæåããµã¸ã§ã¹ãããããã ï¼ã£ã¦æå¤ãªæåããããã¨ãããã ä¾ãã°ä¸è¨ã®ä¼è©±ã§ã¯ããªããminorã£ã¦å ¥åããã"ãâ¦
é«éãªRust製ãã¿ã¼ã³ãããã³ã°ãã·ã³**Daachorse**ãPythonã§å¼ã³åºãã¦æ¢åã®æååãã¿ã¼ã³ããããã¸ãã¯ãé«éåããã話
PyTerrierã®ç´¹ä»ã¨PyTerrierã§æ¥æ¬èªæ¤ç´¢ãå®è£ ããæ¹æ³ãç´¹ä»ãã¾ãã
Luceneã®More like this(MLT)æ©è½ã®ã³ã¼ããªã¼ãã£ã³ã°ã§MLTã®å®è£ ãç解ãã¦ãã¨ã ã¹ãªã¼ã§åé¡ã«ãªã£ã¦ããMLTããã©ã¼ãã³ã¹åé¡ã解決ããã話
Cascade Modelã«å¤è ãã³ãã£ãããé©ç¨ããã¢ã«ã´ãªãºã ã調ã¹ãã®ã§ãPythonã«ããå®è£ ã¨ã¨ãã«ç´¹ä»ãã¦ããã¾ãã
ã¨ã ã¹ãªã¼ã¨ã³ã¸ãã¢ãªã³ã°ã°ã«ã¼ã AIã»æ©æ¢°å¦ç¿ãã¼ã ã§ã½ããã¦ã§ã¢ã¨ã³ã¸ãã¢ããã¦ããä¸æ(po3rin) ã§ãã好ããªè¨èªã¯Goãæ å ±æ¤ç´¢ç³»ã®è©±ã好ç©ã§ããä»åã¯å¤æ§æ§ãèæ ®ãããªã©ã³ãã³ã°ææ³ã¨å®éã«Pythonã§å®è£ ã試ãã話ããã¾ãã
ç§ãæ¤ç´¢ã¨ã³ã¸ã³ã®ABãã¹ãã§ããã£ã¦ãã¾ã£ãã¦ã¼ã¶ã¼å ç¸é¢ã®è½ã¨ãç©´ãçªç ´ããæ¹æ³ãç´¹ä»ãã¾ãã
SIGIR'21ã¯ã¤ã¯ã¤ç¥ãéå¬ããã®ã§ã¡ã³ãã¼ãæ å½ããã»ãã·ã§ã³ãã¨ã«æ¨ãè«æã®ç´¹ä»ããã¾ãã
ã¨ã ã¹ãªã¼æ¤ç´¢åºç¤ãã¼ã ã®Sudachi移è¡ã®èæ¯ã¨ã移è¡æã®ããã»ã¹ããç´¹ä»ãã¾ãã
Luceneã®ã¤ã³ã¡ã¢ãªè»¢ç½®ã¤ã³ããã¯ã¹ã®ãã¼ã¿æ§é ã®ä»çµã¿ã«ã¤ãã¦ç´¹ä»ãã¾ãã
ä»åæè¡æ¸å ¸ã«ã¨ã ã¹ãªã¼ã®æå¿ã§åå ãããã¨ã«ãªãã¾ãããè¿å¹´ããããªRustãæ©æ¢°å¦ç¿ãk8sãæ¤ç´¢ããã¤ããã¼ã«ã·ãã¥ã¢ã«ã±ãã¼ã ã¨ãã£ãã¯ã¼ããã¦ããä»åãå¤æ§ãªåéã»æè¡ã«ã¤ãã¦å¼ç¤¾ã¹ã¿ããããå·çãããã¾ããã
Valdã¨Sentence-BERTã使ã£ãé¡ä¼¼ææ¸æ¤ç´¢ã試ãã¦ã¿ã¾ããã
ä»åã¯æ¤ç´¢æ¹åã¿ã¹ã¯ã®ããã«æ¤ç´¢ãã°ãã¼ã¿åæåºç¤ãæ§ç¯ããã話ããã¾ããã¾ãä»ãã¼ã ã¨ã®ã³ãã¥ãã±ã¼ã·ã§ã³ã§å·¥å¤«ããç¹ãã話ã§ããã°ã¨æãã¾ãã
Elasticsearchã§é¢é£ãã¼ã¯ã¼ãæ©è½ãã©ãã ãä½ã³ã¹ãã§å®è£ ã§ãããã®æ è·¯
Elasticsearchã使ã£ã¦ã©ãã ãä½ã³ã¹ãã§é¢é£ãã¼ã¯ã¼ãæ©è½ãå®è£ ã§ãããã試ããã®ã§ãç´¹ä»ãã¾ãã
æ¤ç´¢è©ä¾¡ææ¨ã®1ã¤ã§ããsDCGã使ã£ã¦ã¨ã ã¹ãªã¼ã®æ¤ç´¢ãã°ããä½é¨ã®æªãã£ãæ¤ç´¢ã»ãã·ã§ã³ãæ½åºãã¦ã¿ã¾ããã
ElasticsearchããGiNZAãæ£è 表ç¾è¾æ¸ã使ã£ãæå³æ§é æ¤ç´¢ãã©ã®ãããæå¹ãã試ããã®ã§ãæ¦è¦ã¨å®è£ æ¹æ³ãç°¡åã«ãç´¹ä»ãã¾ãã
ã¨ã ã¹ãªã¼ã§ã¯æ¤ç´¢ã¨ã³ã¸ã³ã¨ãã¦Elasticsearchãå©ç¨ãã¦ããã®ã§ããããã©ã°ã¡ã³ãæ©è½ã§ã¨ããåé¡ãçºçãã¾ããããã®åé¡ã解決ããä¸ã§Elasticsearch Highlighting ã®å é¨çãªä»çµã¿ãã³ã¼ããã¼ã¹ã§èª¿ã¹ãã®ã§å ±æãã¾ãã